Package com.founder.fix.fixflow.core.impl.task

Examples of com.founder.fix.fixflow.core.impl.task.TaskQueryImpl


  public ProcessInstanceQueryImpl createProcessInstanceQuery() {
    return new ProcessInstanceQueryImpl(ProcessEngineManagement.getDefaultProcessEngine().getProcessEngineConfiguration().getCommandExecutor());
  }

  public TaskQueryImpl createTaskQuery() {
    return new TaskQueryImpl(ProcessEngineManagement.getDefaultProcessEngine().getProcessEngineConfiguration().getCommandExecutor());
  }
View Full Code Here


    Map<String,FlowNode> flowNodes=CoreUtil.getBeforeFlowNode(token.getFlowNode());
   
    //获取这个令牌自己和爸爸相关的所有任务

   
    TaskQuery taskQuery=new TaskQueryImpl(Context.getCommandContext());


    List<TaskInstance> taskInstanceQueryToList = new ArrayList<TaskInstance>();


    taskQuery.processInstanceId(processInstanceId);
    taskQuery.taskIsEnd().orderByEndTime().asc().orderByTaskCreateTime().asc();
    taskInstanceQueryToList = taskQuery.list();
   
   
   
    List<String> processInstanceIdList=new ArrayList<String>();
    processInstanceIdList.add(token.getProcessInstanceId());
View Full Code Here

 
  public Object execute(Object parameter, SqlCommand sqlCommand, ProcessEngineConfigurationImpl processEngineConfiguration) {

   
    ListQueryParameterObject listQueryParameterObject = (ListQueryParameterObject) parameter;
    TaskQueryImpl taskQuery = (TaskQueryImpl) listQueryParameterObject.getParameter();
    Page page = listQueryParameterObject.getPage();
   

    return findTasksByQueryCriteria(taskQuery,page,sqlCommand);
  }
View Full Code Here

TOP

Related Classes of com.founder.fix.fixflow.core.impl.task.TaskQueryImpl

Copyright © 2018 www.massapicom. 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.