Examples of orderByProcessDefinitionVersion()


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

      ProcessEngine processEngine = getProcessEngine(userId);
      if(processEngine != null){
        ModelService modelService = processEngine.getModelService();
        ProcessDefinitionQuery processDefinitionQuery = modelService.createProcessDefinitionQuery();
        processDefinitionQuery.processDefinitionKey(processKey);
        processDefinitionQuery.orderByProcessDefinitionVersion().desc();
        List<ProcessDefinitionBehavior> processDefinitionBehaviors = processDefinitionQuery.list();
        for(ProcessDefinitionBehavior processDefinitionBehavior :processDefinitionBehaviors){
          resultMaps.add(processDefinitionBehavior.getPersistentState());
        }
      }
View Full Code Here

Examples of org.activiti.engine.repository.ProcessDefinitionQuery.orderByProcessDefinitionVersion()

      else if( "id".equals(orderBy.getProperty()) )
        query.orderByProcessDefinitionId();
      else if( "category".equals(orderBy.getProperty()) )
        query.orderByProcessDefinitionCategory();
      else if( "version".equals(orderBy.getProperty()) )
        query.orderByProcessDefinitionVersion();
      else if( "deploymentId".equals(orderBy.getProperty()) )
        query.orderByDeploymentId();
    }
   
    return (ListPage<ProcessDefinition>)query(query,page);
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.