@Override protected void ensureVariablesInitialized() { super.ensureVariablesInitialized(); for (ProcessInstanceQueryImpl orQueryObject : orQueryObjects) { orQueryObject.ensureVariablesInitialized(); } }
public long executeCount(CommandContext commandContext) { checkQueryOk(); ensureVariablesInitialized(); return commandContext.getExecutionEntityManager().findProcessInstanceCountByQueryCriteria(this); }
public List<ProcessInstance> executeList(CommandContext commandContext, Page page) { checkQueryOk(); ensureVariablesInitialized(); List<ProcessInstance> processInstances = null; if (includeProcessVariables) { processInstances = commandContext.getExecutionEntityManager().findProcessInstanceAndVariablesByQueryCriteria(this); } else { processInstances = commandContext.getExecutionEntityManager().findProcessInstanceByQueryCriteria(this); } if (Context.getProcessEngineConfiguration().getPerformanceSettings().isEnableLocalization()) { for (ProcessInstance processInstance : processInstances) { localize(processInstance); } } return processInstances; }
@Override protected void ensureVariablesInitialized() { super.ensureVariablesInitialized(); for (ProcessInstanceQueryImpl orQueryObject : orQueryObjects) { orQueryObject.ensureVariablesInitialized(); } }
@Override protected void ensureVariablesInitialized() { super.ensureVariablesInitialized(); for (ProcessInstanceQueryImpl orQueryObject : orQueryObjects) { orQueryObject.ensureVariablesInitialized(); } }
public long executeCount(CommandContext commandContext) { checkQueryOk(); ensureVariablesInitialized(); return commandContext.getExecutionEntityManager().findProcessInstanceCountByQueryCriteria(this); }
public List<ProcessInstance> executeList(CommandContext commandContext, Page page) { checkQueryOk(); ensureVariablesInitialized(); return commandContext .getExecutionEntityManager() .findProcessInstanceByQueryCriteria(this, page); }
@Override public long executeCount(CommandContext commandContext) { checkQueryOk(); ensureVariablesInitialized(); return commandContext .getExecutionEntityManager() .findProcessInstanceCountByQueryCriteria(this); }
public long executeCount(CommandContext commandContext) { checkQueryOk(); ensureVariablesInitialized(); return commandContext .getExecutionEntityManager() .findProcessInstanceCountByQueryCriteria(this); }
@Override public List<ProcessInstance> executeList(CommandContext commandContext, Page page) { checkQueryOk(); ensureVariablesInitialized(); List<ProcessInstance> processInstances = null; if (includeProcessVariables) { processInstances = commandContext.getExecutionEntityManager().findProcessInstanceAndVariablesByQueryCriteria(this); } else { processInstances = commandContext.getExecutionEntityManager().findProcessInstanceByQueryCriteria(this); } for (ProcessInstance processInstance : processInstances) { localize(processInstance); } return processInstances; }
public List<ProcessInstance> executeList(CommandContext commandContext, Page page) { checkQueryOk(); ensureVariablesInitialized(); List<ProcessInstance> processInstances = null; if (includeProcessVariables) { processInstances = commandContext.getExecutionEntityManager().findProcessInstanceAndVariablesByQueryCriteria(this); } else { processInstances = commandContext.getExecutionEntityManager().findProcessInstanceByQueryCriteria(this); } if (Context.getProcessEngineConfiguration().getPerformanceSettings().isEnableLocalization()) { for (ProcessInstance processInstance : processInstances) { localize(processInstance); } } return processInstances; }