コード例 #1
0
  @Override
  public void getTask(Integer idAppUser, Integer idWorkflowInstance) {

    GetTaskParameter param = new GetTaskParameter();
    param.idAppUser = idAppUser;
    param.idWorkflowInstance = idWorkflowInstance;
    param.showCompleted = true;
    param.getSubtasks = true;

    param.getProjectPhases = false;

    taskDetailsInteraction.getTask(param, this);
  }
コード例 #2
0
  @Override
  public void changeState(Integer idAppUser, UserTaskBean userTaskBean) {
    SubmitActionParam submitParams = new SubmitActionParam();
    submitParams.idWorkflowInstance = userTaskBean.idWorkflowInstance;
    if (userTaskBean.isOpen) submitParams.actionName = "_action1";
    else {
      submitParams.actionName = "_action0";
    }
    submitParams.idWorkflowForm = userTaskBean.idTask;
    submitParams.idAppUser = idAppUser;
    submitParams.returnWorkflowBean = false;

    taskDetailsInteraction.changeState(submitParams, this);
  }
コード例 #3
0
 @Override
 public void updateDueDate(Integer idAppUser, Integer idTask, Date date) {
   taskDetailsInteraction.updateDueDate(idTask, date, idAppUser, this);
 }
コード例 #4
0
 @Override
 public void removeDueDate(Integer idAppUser, Integer idTask) {
   taskDetailsInteraction.removeDueDate(idTask, idAppUser, this);
 }
コード例 #5
0
 @Override
 public void updateImportance(Integer idAppUser, Integer idUserTask, Integer importance) {
   taskDetailsInteraction.updateImportance(idAppUser, idUserTask, importance, this);
 }
コード例 #6
0
 @Override
 public void deleteTask(int userId, int idWorkflowInstance) {
   taskDetailsInteraction.deleteTask(userId, idWorkflowInstance, this);
 }
コード例 #7
0
 @Override
 public void getWorkflowForm(Integer idAppUser, Integer idWorkflowInstance) {
   taskDetailsInteraction.getWorkflowForm(idAppUser, idWorkflowInstance, this);
 }
コード例 #8
0
 @Override
 public void publishTaskComment(GenericCommentBean genericCommentBean) {
   taskDetailsInteraction.publishTaskComment(genericCommentBean, this);
 }
コード例 #9
0
 @Override
 public void postTaskComment(PostCommentParam postCommentParam) {
   taskDetailsInteraction.postTaskComment(postCommentParam, this);
 }