Examples of ProcessInstanceQueryImpl


Examples of com.founder.fix.fixflow.core.impl.runtime.ProcessInstanceQueryImpl

  public ProcessDefinitionQueryImpl createProcessDefinitionQuery() {
    return new ProcessDefinitionQueryImpl(ProcessEngineManagement.getDefaultProcessEngine().getProcessEngineConfiguration().getCommandExecutor());
  }

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

Examples of com.founder.fix.fixflow.core.impl.runtime.ProcessInstanceQueryImpl

  Pagination pagination = Context.getProcessEngineConfiguration().getDbConfig().getPagination();

  public Object execute(Object parameter, SqlCommand sqlCommand, ProcessEngineConfigurationImpl processEngineConfiguration) {
    ListQueryParameterObject listQueryParameterObject = (ListQueryParameterObject) parameter;
    ProcessInstanceQueryImpl processInstanceQueryImpl = (ProcessInstanceQueryImpl) listQueryParameterObject.getParameter();
    Page page = listQueryParameterObject.getPage();
   

    return selectProcessInstanceByQueryCriteria(processInstanceQueryImpl,page,sqlCommand);
  }
View Full Code Here

Examples of org.activiti.engine.impl.ProcessInstanceQueryImpl

    }
  }
 
  protected List<ProcessInstance> fetchProcessInstancesPage(CommandContext commandContext,
          ProcessDefinition processDefinition, int currentPageStartIndex) {
    return new ProcessInstanceQueryImpl(commandContext)
      .processDefinitionId(processDefinition.getId())
      .listPage(currentPageStartIndex, Context.getProcessEngineConfiguration().getBatchSizeProcessInstances());
  }
View Full Code Here

Examples of org.activiti.engine.impl.ProcessInstanceQueryImpl

  }
  public ProcessDefinitionQueryImpl createProcessDefinitionQuery() {
    return new ProcessDefinitionQueryImpl();
  }
  public ProcessInstanceQueryImpl createProcessInstanceQuery() {
    return new ProcessInstanceQueryImpl();
  }
View Full Code Here

Examples of org.activiti.engine.impl.ProcessInstanceQueryImpl

 
  protected List<ProcessInstance> fetchProcessInstancesPage(CommandContext commandContext,
          ProcessDefinition processDefinition, int currentPageStartIndex) {
   
      if (SuspensionState.ACTIVE.equals(getProcessDefinitionSuspensionState())){
          return new ProcessInstanceQueryImpl(commandContext)
            .processDefinitionId(processDefinition.getId())
            .suspended()
            .listPage(currentPageStartIndex, commandContext.getProcessEngineConfiguration().getBatchSizeProcessInstances());
      } else {
          return new ProcessInstanceQueryImpl(commandContext)
            .processDefinitionId(processDefinition.getId())
            .active()
            .listPage(currentPageStartIndex, commandContext.getProcessEngineConfiguration().getBatchSizeProcessInstances());
       }
  }
View Full Code Here

Examples of org.activiti.engine.impl.ProcessInstanceQueryImpl

  }
  public ProcessDefinitionQueryImpl createProcessDefinitionQuery() {
    return new ProcessDefinitionQueryImpl();
  }
  public ProcessInstanceQueryImpl createProcessInstanceQuery() {
    return new ProcessInstanceQueryImpl();
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.ProcessInstanceQueryImpl

  public CaseDefinitionQueryImpl createCaseDefinitionQuery() {
    return new CaseDefinitionQueryImpl();
  }

  public ProcessInstanceQueryImpl createProcessInstanceQuery() {
    return new ProcessInstanceQueryImpl();
  }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.ProcessInstanceQueryImpl

  public CaseDefinitionQueryImpl createCaseDefinitionQuery() {
    return new CaseDefinitionQueryImpl();
  }

  public ProcessInstanceQueryImpl createProcessInstanceQuery() {
    return new ProcessInstanceQueryImpl();
  }
View Full Code Here

Examples of org.jbpm.pvm.internal.query.ProcessInstanceQueryImpl

    return (ProcessInstance) commandService.execute(new FindExecutionCmd(executionId));
  }
 

  public ProcessInstanceQuery createProcessInstanceQuery() {
    ProcessInstanceQueryImpl query = commandService.execute(new CreateProcessInstanceQueryCmd());
    query.setCommandService(commandService);
    return query;
  }
View Full Code Here

Examples of org.jbpm.pvm.internal.query.ProcessInstanceQueryImpl

    query.setMaxResults(1);
    return (JobImpl<?>) query.uniqueResult();
  }
 
  public ProcessInstanceQueryImpl createProcessInstanceQuery() {
    return new ProcessInstanceQueryImpl();
  }
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.