Ejemplo n.º 1
0
 protected void setTask(HTask task2) {
   task = task2;
   getEventBus().fireEvent(new SetStatusEvent(task.getData().getStatus()));
 }
Ejemplo n.º 2
0
 @Override
 public void onExecuteWorkflow(ExecuteWorkflowEvent event) {
   Actions action = event.getAction();
   ExecuteWorkflow workflowRequest = new ExecuteWorkflow(task.getId(), user.getUserId(), action);
   submitRequest(workflowRequest);
 }