command.setResults( results );
commandService.execute( command );
}
public void abortWorkItem(long id) {
AbortWorkItemCommand command = new AbortWorkItemCommand();
command.setWorkItemId( id );
commandService.execute( command );
}
public void registerWorkItemHandler(String workItemName,
WorkItemHandler handler) {
RegisterWorkItemHandlerCommand command = new RegisterWorkItemHandlerCommand();
command.setWorkItemName( workItemName );
command.setHandler( handler );
commandService.execute( command );
}
};
}
return workItemManager;