Examples of listPagination()


Examples of com.founder.fix.fixflow.core.model.ProcessDefinitionQuery.listPagination()

//      queryExpandTo.setFieldSql("fixflow_def_deployment.deploy_Time");
//      //增加扩展查询的left join语句
//      queryExpandTo.setLeftJoinSql("left join fixflow_def_deployment on PD.deployment_id = fixflow_def_deployment.id");
//      processDefinitionQuery.queryExpandTo(queryExpandTo);
      processDefinitionQuery.orderByDeploymentTime().desc();
      List<ProcessDefinitionBehavior> processDefinitions = processDefinitionQuery.listPagination(pageIndex, rowNum);
      Long count = processDefinitionQuery.count();
      List<Map<String,Object>> processDefinitionList = new ArrayList<Map<String,Object>>();
      Pagination page = new Pagination(pageIndex,rowNum);
      page.setTotal(count.intValue());
      for(ProcessDefinitionBehavior processDefinition:processDefinitions){
View Full Code Here

Examples of com.founder.fix.fixflow.core.runtime.ProcessInstanceQuery.listPagination()

     
      if(datee!=null)
        processInstanceQuery.startTimeAfter(datee);
     
     
      List<ProcessInstance> processInstances = processInstanceQuery.listPagination(pageIndex, rowNum);
     
      List<Map<String,Object>> instanceMaps = new ArrayList<Map<String,Object>>();
      for(ProcessInstance tmp: processInstances){
        Map<String, Object> persistentState = tmp.getPersistentState();
        String processDefinitionId = tmp.getProcessDefinitionId();
View Full Code Here

Examples of com.founder.fix.fixflow.core.runtime.ProcessInstanceQuery.listPagination()

          tq.initiator(userId);
        else
          tq.taskParticipants(userId);
      }
      tq.his();
      instances = tq.listPagination(pageIndex, rowNum);

      Long count = tq.count();
      List<Map<String,Object>> instanceMaps = new ArrayList<Map<String,Object>>();
      Pagination page = new Pagination(pageIndex,rowNum);
      page.setTotal(count.intValue());
View Full Code Here

Examples of com.founder.fix.fixflow.core.runtime.ProcessInstanceQuery.listPagination()

        processInstanceQuery.initiatorLike(initor);
      if(processInstanceStatus !=null){
        processInstanceQuery.processInstanceStatus(processInstanceStatus);
      }
      processInstanceQuery.orderByUpdateTime().desc();
      List<ProcessInstance> processInstances = processInstanceQuery.listPagination(pageIndex, rowNum);
     
      List<Map<String,Object>> instanceMaps = new ArrayList<Map<String,Object>>();
      for(ProcessInstance tmp: processInstances){
        Map<String, Object> persistentState = tmp.getPersistentState();
        String processDefinitionId = tmp.getProcessDefinitionId();
View Full Code Here

Examples of com.founder.fix.fixflow.core.task.TaskQuery.listPagination()

      }
     
      if(filter.get("ended")==null)
        tq.taskNotEnd();
      tq.orderByTaskCreateTime().desc();
      List<TaskInstance> lts = tq.listPagination(pageIndex, rowNum);
      Long count = tq.count();
      List<Map<String,Object>> instanceMaps = new ArrayList<Map<String,Object>>();
     
      Pagination page = new Pagination(pageIndex,rowNum);
      page.setTotal(count.intValue());
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.