unsupported(WorkItemManager.class, Void.class);
}
@Override
public void completeWorkItem( long id, Map<String, Object> results ) {
CompleteWorkItemCommand cmd = new CompleteWorkItemCommand();
cmd.setId(id);
JaxbStringObjectPairArray arrayMap = convertMapToJaxbStringObjectPairArray(results);
cmd.setResult(arrayMap);
executeCommand(cmd);
}
@Override
public void abortWorkItem( long id ) {
AbortWorkItemCommand cmd = new AbortWorkItemCommand();
cmd.setId(id);
executeCommand(cmd);
}
};
}
return this.workItemManager;