Examples of customEnd()


Examples of com.founder.fix.fixflow.core.impl.task.TaskInstanceEntity.customEnd()

    // 获取当前正在操作的任务命令
    TaskCommandInst taskCommand = getTaskCommandInst();

    // 结束当前任务,但是不驱动令牌继续向下
    taskInstance.customEnd(taskCommand, taskComment);

    // 获取当前任务的处理者
    String assigneeId = taskInstance.getAssignee();

    // 将当前任务的设置为转办状态
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.task.TaskInstanceEntity.customEnd()

      TaskInstanceEntity taskInstance = getTaskInstanceEntity();

      // 获取正在操作的任务命令对象实例
      TaskCommandInst taskCommand = getTaskCommandInst();

      taskInstance.customEnd(taskCommand, taskComment);

      // 拷贝出一个新的任务
      TaskInstanceEntity taskInstanceNew = taskInstance.clone();

      taskInstanceNew.setId(GuidUtil.CreateGuid());
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.task.TaskInstanceEntity.customEnd()

    TaskCommandInst taskCommand = getTaskCommandInst();

    String owner = taskInstance.getOwner();


    taskInstance.customEnd(taskCommand, taskComment);

    taskInstance.setDelegationState(DelegationState.RESOLVED);

    // 拷贝出一个新的任务
    TaskInstanceEntity taskInstanceNew = taskInstance.clone();
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.task.TaskInstanceEntity.customEnd()

   

    if (taskInstance != null) {
      // 结束任务
      taskInstance.customEnd(taskCommand, this.taskComment);

    }

    ProcessInstanceEntity processInstanceImpl = getProcessInstance();
   
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.task.TaskInstanceEntity.customEnd()

    TaskInstanceEntity taskInstanceCallAct = (TaskInstanceEntity) processEngine.getTaskService().createTaskQuery()
        .callActivityInstanceId(subProcessInstanceId).taskNotEnd().singleResult();
   
    // 获取正在操作的任务命令对象实例
    TaskCommandInst taskCommand = getTaskCommandInst();
    taskInstanceCallAct.customEnd(taskCommand, this.taskComment);
    taskInstanceCallAct.setAssignee(Authentication.getAuthenticatedUserId());
    Context.getCommandContext().getTaskManager().saveTaskInstanceEntity((TaskInstanceEntity) taskInstanceCallAct);

   
    List<TaskInstance> taskInstanceQueryTos = (new GetRollBackTaskCmd(taskInstanceCallAct.getId())).execute(commandContext);
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.task.TaskInstanceEntity.customEnd()

    //获取正在操作的任务命令对象实例
    TaskCommandInst taskCommand=getTaskCommandInst();
   
    if(taskInstance!=null){
      //结束任务
      taskInstance.customEnd(taskCommand, this.taskComment);
     
    }else{
      throw new FixFlowException("没有找到id为: "+taskId+" 的任务");
    }
   
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.task.TaskInstanceEntity.customEnd()

    // 获取当前正在操作的任务命令
    TaskCommandInst taskCommand = getTaskCommandInst();

    // 结束当前任务,但是不驱动令牌继续向下
    taskInstance.customEnd(taskCommand, taskComment);

    // 获取当前任务的处理者
    String assigneeId = taskInstance.getAssignee();

    // 将当前任务的设置为转办状态
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.task.TaskInstanceEntity.customEnd()

      //TokenEntity token = processInstanceImpl.getTokenMap().get(tokenId);

      ExecutionContext executionContext = ProcessObjectFactory.FACTORYINSTANCE.createExecutionContext(tokenEntity);

      //taskInstanceTemp.setAssigneeWithoutCascade(userId);
      taskInstanceTemp.customEnd(taskCommand, taskComment);

      tokenEntity.removeTaskInstanceSynchronization(taskCommand.getTaskCommandType(), taskCommand.getName(), this.taskComment, userId, this.agent, this.admin);

      if (recoverToTask.getTaskGroup() != null) {
View Full Code Here

Examples of com.founder.fix.fixflow.core.impl.task.TaskInstanceEntity.customEnd()

      //TokenEntity token = processInstanceImpl.getTokenMap().get(tokenId);

      ExecutionContext executionContext = ProcessObjectFactory.FACTORYINSTANCE.createExecutionContext(tokenEntity);

      //taskInstanceTemp.setAssigneeWithoutCascade(userId);
      taskInstanceTemp.customEnd(taskCommand, taskComment);

      tokenEntity.removeTaskInstanceSynchronization(taskCommand.getTaskCommandType(), taskCommand.getName(), this.taskComment, userId, this.agent, this.admin);

      if (recoverToTask.getTaskGroup() != null) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.