Examples of TaskInstanceType


Examples of com.founder.fix.fixflow.core.task.TaskInstanceType

    String newTaskNodeName=executionContext.getToken().getFlowNode().getName();   
    String newTaskDescription=newTaskNodeName; 
    Date newTaskCreateTime=ClockUtil.getCurrentTime();
    int newTaskPriority= TaskInstance.PRIORITY_NORMAL;
    String newTaskProcessDefinitionKey=executionContext.getProcessDefinition().getProcessDefinitionKey();
    TaskInstanceType newTaskTaskInstanceType=TaskInstanceType.FIXSTARTEVENT;
    String newTaskProcessDefinitionName=executionContext.getProcessDefinition().getName();
    boolean isDraft=false;
       
   
       
View Full Code Here

Examples of com.founder.fix.fixflow.core.task.TaskInstanceType

    String newTaskNodeName = executionContext.getToken().getFlowNode().getName();
    String newTaskDescription = newTaskNodeName;
    Date newTaskCreateTime = ClockUtil.getCurrentTime();
    int newTaskPriority = TaskInstance.PRIORITY_NORMAL;
    String newTaskProcessDefinitionKey = executionContext.getProcessDefinition().getProcessDefinitionKey();
    TaskInstanceType newTaskTaskInstanceType = TaskInstanceType.FIXRECEIVETASK;
    String newTaskProcessDefinitionName = executionContext.getProcessDefinition().getName();
    boolean isDraft = false;

    // 创建任务
    TaskInstance taskInstance = new TaskInstanceEntity();
View Full Code Here

Examples of com.founder.fix.fixflow.core.task.TaskInstanceType

    String newTaskNodeName = executionContext.getToken().getFlowNode().getName();
    String newTaskDescription = newTaskNodeName;
    Date newTaskCreateTime = ClockUtil.getCurrentTime();
    int newTaskPriority = TaskInstance.PRIORITY_NORMAL;
    String newTaskProcessDefinitionKey = executionContext.getProcessDefinition().getProcessDefinitionKey();
    TaskInstanceType newTaskTaskInstanceType = TaskInstanceType.FIXCALLACTIVITYTASK;
    String newTaskProcessDefinitionName = executionContext.getProcessDefinition().getName();
    boolean isDraft = false;

    // 创建任务
    TaskInstance taskInstance = new TaskInstanceEntity();
View Full Code Here

Examples of com.founder.fix.fixflow.core.task.TaskInstanceType

    String newTaskNodeName = executionContext.getToken().getFlowNode().getName();
    String newTaskDescription = newTaskNodeName;
    Date newTaskCreateTime = ClockUtil.getCurrentTime();
    int newTaskPriority = TaskInstance.PRIORITY_NORMAL;
    String newTaskProcessDefinitionKey = executionContext.getProcessDefinition().getProcessDefinitionKey();
    TaskInstanceType newTaskTaskInstanceType = TaskInstanceType.INTERMEDIATECATCHEVENT;
    String newTaskProcessDefinitionName = executionContext.getProcessDefinition().getName();
    boolean isDraft = false;

    // 创建任务
    TaskInstance taskInstance = new TaskInstanceEntity();
View Full Code Here

Examples of com.founder.fix.fixflow.core.task.TaskInstanceType

    if (taskQuery.getTaskTypeList().size() > 0) {
      List<TaskInstanceType> taskInstanceTypes = taskQuery.getTaskTypeList();
      selectTaskByQueryCriteriaSql = selectTaskByQueryCriteriaSql + " and (";
      for (int i = 0; i < taskInstanceTypes.size(); i++) {
        if (i == taskInstanceTypes.size() - 1) {
          TaskInstanceType taskInstanceType = taskInstanceTypes.get(i);
          selectTaskByQueryCriteriaSql = selectTaskByQueryCriteriaSql + " T.TASKTYPE=? ) ";
          objectParamWhere.add(taskInstanceType.toString());
        } else {
          TaskInstanceType taskInstanceType = taskInstanceTypes.get(i);
          selectTaskByQueryCriteriaSql = selectTaskByQueryCriteriaSql + " T.TASKTYPE=? OR ";
          objectParamWhere.add(taskInstanceType.toString());
        }
      }
    }
    if (taskQuery.getQueryExpandTo() != null && taskQuery.getQueryExpandTo().getWhereSql() != null
        && !taskQuery.getQueryExpandTo().getWhereSql().equals("")) {
View Full Code Here

Examples of com.founder.fix.fixflow.core.task.TaskInstanceType

    String newTaskNodeName = executionContext.getToken().getFlowNode().getName();
    String newTaskDescription = newTaskNodeName;
    Date newTaskCreateTime = ClockUtil.getCurrentTime();
    int newTaskPriority = TaskInstance.PRIORITY_NORMAL;
    String newTaskProcessDefinitionKey = executionContext.getProcessDefinition().getProcessDefinitionKey();
    TaskInstanceType newTaskTaskInstanceType = TaskInstanceType.FIXENDEVENT;
    String newTaskProcessDefinitionName = executionContext.getProcessDefinition().getName();
    boolean isDraft = false;
    // 创建任务
    TaskInstanceEntity taskInstance = new TaskInstanceEntity();
    taskInstance.setId(newTaskId);
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.