Package org.cibseven.webapp.providers
Class DirectProcessProvider
java.lang.Object
org.cibseven.webapp.providers.DirectProcessProvider
- All Implemented Interfaces:
org.cibseven.webapp.providers.IProcessProvider
public class DirectProcessProvider
extends Object
implements org.cibseven.webapp.providers.IProcessProvider
-
Method Summary
Modifier and TypeMethodDescriptionstatic org.cibseven.webapp.rest.model.ProcessconvertToProcess(org.cibseven.bpm.engine.rest.dto.repository.CalledProcessDefinitionDto dto) countProcessesInstancesHistory(Map<String, Object> filters, org.cibseven.webapp.auth.CIBUser user) countProcessesInstancesRuntime(Map<String, Object> filters, org.cibseven.webapp.auth.CIBUser user) voiddeleteProcessDefinition(String id, Optional<Boolean> cascade, org.cibseven.webapp.auth.CIBUser user) voiddeleteProcessInstance(String processInstanceId, org.cibseven.webapp.auth.CIBUser user) voiddeleteProcessInstanceFromHistory(String id, org.cibseven.webapp.auth.CIBUser user) org.cibseven.webapp.DatadownloadBpmn(String id, String fileName, org.cibseven.webapp.auth.CIBUser user) org.cibseven.webapp.rest.model.ProcessDiagramfetchDiagram(String id, org.cibseven.webapp.auth.CIBUser user) fetchHistoricActivityStatistics(String id, Map<String, Object> params, org.cibseven.webapp.auth.CIBUser user) org.cibseven.webapp.rest.model.VariablefetchProcessInstanceVariable(String processInstanceId, String variableName, boolean deserializeValue, org.cibseven.webapp.auth.CIBUser user) org.cibseven.webapp.rest.model.StartFormfetchStartForm(String processDefinitionId, org.cibseven.webapp.auth.CIBUser user) Collection<org.cibseven.webapp.rest.model.Process>findCalledProcessDefinitions(String processDefinitionId, org.cibseven.webapp.auth.CIBUser user) Collection<org.cibseven.webapp.rest.model.ProcessInstance>findCurrentProcessesInstances(Map<String, Object> data, org.cibseven.webapp.auth.CIBUser user) org.cibseven.webapp.rest.model.HistoryProcessInstancefindHistoryProcessInstanceHistory(String processInstanceId, org.cibseven.webapp.auth.CIBUser user) org.cibseven.webapp.rest.model.ProcessfindProcessByDefinitionKey(String key, String tenantId, org.cibseven.webapp.auth.CIBUser user) org.cibseven.webapp.rest.model.ProcessfindProcessById(String id, Optional<Boolean> extraInfo, org.cibseven.webapp.auth.CIBUser user) Collection<org.cibseven.webapp.rest.model.Process>findProcesses(org.cibseven.webapp.auth.CIBUser user) Collection<org.cibseven.webapp.rest.model.ProcessInstance>findProcessesInstances(String key, org.cibseven.webapp.auth.CIBUser user) Collection<org.cibseven.webapp.rest.model.HistoryProcessInstance>findProcessesInstancesHistory(String key, Optional<Boolean> active, Integer firstResult, Integer maxResults, org.cibseven.webapp.auth.CIBUser user) Collection<org.cibseven.webapp.rest.model.HistoryProcessInstance>findProcessesInstancesHistory(Map<String, Object> filters, Optional<Integer> firstResult, Optional<Integer> maxResults, org.cibseven.webapp.auth.CIBUser user) Collection<org.cibseven.webapp.rest.model.HistoryProcessInstance>findProcessesInstancesHistoryById(String id, Optional<String> activityId, Optional<Boolean> active, Integer firstResult, Integer maxResults, String text, org.cibseven.webapp.auth.CIBUser user) Collection<org.cibseven.webapp.rest.model.HistoryProcessInstance>findProcessesInstancesRuntime(Map<String, Object> data, Optional<Integer> firstResult, Optional<Integer> maxResults, org.cibseven.webapp.auth.CIBUser user) Collection<org.cibseven.webapp.rest.model.Process>findProcessesWithFilters(String filters, org.cibseven.webapp.auth.CIBUser user) Collection<org.cibseven.webapp.rest.model.Process>findProcessesWithInfo(org.cibseven.webapp.auth.CIBUser user) org.cibseven.webapp.rest.model.ProcessInstancefindProcessInstance(String processInstanceId, org.cibseven.webapp.auth.CIBUser user) Collection<org.cibseven.webapp.rest.model.ProcessStatistics>findProcessStatistics(String processId, org.cibseven.webapp.auth.CIBUser user) Collection<org.cibseven.webapp.rest.model.Process>findProcessVersionsByDefinitionKey(String key, String tenantId, Optional<Boolean> lazyLoad, org.cibseven.webapp.auth.CIBUser user) org.springframework.http.ResponseEntity<byte[]>getDeployedStartForm(String processDefinitionId, org.cibseven.webapp.auth.CIBUser user) Collection<org.cibseven.webapp.rest.model.ProcessStatistics>getProcessStatistics(Map<String, Object> queryParams, org.cibseven.webapp.auth.CIBUser user) org.springframework.http.ResponseEntity<String>getRenderedForm(String processDefinitionId, Map<String, Object> params, org.cibseven.webapp.auth.CIBUser user) List<org.cibseven.webapp.rest.model.ProcessStatistics>groupProcessStatisticsByKeyAndTenant(Collection<org.cibseven.webapp.rest.model.ProcessStatistics> processStatistics) org.cibseven.webapp.rest.model.ProcessStartstartProcess(String processDefinitionKey, String tenantId, Map<String, Object> data, org.cibseven.webapp.auth.CIBUser user) org.cibseven.webapp.rest.model.ProcessStartsubmitForm(String processDefinitionKey, String tenantId, Map<String, Object> data, org.cibseven.webapp.auth.CIBUser user) org.cibseven.webapp.rest.model.ProcessStartsubmitForm(String processDefinitionId, String formResult, org.cibseven.webapp.auth.CIBUser user) voidsuspendProcessDefinition(String processDefinitionId, Boolean suspend, Boolean includeProcessInstances, String executionDate, org.cibseven.webapp.auth.CIBUser user) voidsuspendProcessInstance(String processInstanceId, Boolean suspend, org.cibseven.webapp.auth.CIBUser user) voidupdateHistoryTimeToLive(String id, Map<String, Object> data, org.cibseven.webapp.auth.CIBUser user) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.cibseven.webapp.providers.IProcessProvider
groupProcessStatisticsByKeyAndTenantImpl
-
Method Details
-
findProcesses
public Collection<org.cibseven.webapp.rest.model.Process> findProcesses(org.cibseven.webapp.auth.CIBUser user) - Specified by:
findProcessesin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
findProcessesWithInfo
public Collection<org.cibseven.webapp.rest.model.Process> findProcessesWithInfo(org.cibseven.webapp.auth.CIBUser user) - Specified by:
findProcessesWithInfoin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
groupProcessStatisticsByKeyAndTenant
public List<org.cibseven.webapp.rest.model.ProcessStatistics> groupProcessStatisticsByKeyAndTenant(Collection<org.cibseven.webapp.rest.model.ProcessStatistics> processStatistics) - Specified by:
groupProcessStatisticsByKeyAndTenantin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
getProcessStatistics
public Collection<org.cibseven.webapp.rest.model.ProcessStatistics> getProcessStatistics(Map<String, Object> queryParams, org.cibseven.webapp.auth.CIBUser user) - Specified by:
getProcessStatisticsin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
findProcessesWithFilters
public Collection<org.cibseven.webapp.rest.model.Process> findProcessesWithFilters(String filters, org.cibseven.webapp.auth.CIBUser user) - Specified by:
findProcessesWithFiltersin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
findProcessByDefinitionKey
public org.cibseven.webapp.rest.model.Process findProcessByDefinitionKey(String key, String tenantId, org.cibseven.webapp.auth.CIBUser user) - Specified by:
findProcessByDefinitionKeyin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
findProcessVersionsByDefinitionKey
public Collection<org.cibseven.webapp.rest.model.Process> findProcessVersionsByDefinitionKey(String key, String tenantId, Optional<Boolean> lazyLoad, org.cibseven.webapp.auth.CIBUser user) - Specified by:
findProcessVersionsByDefinitionKeyin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
findProcessById
public org.cibseven.webapp.rest.model.Process findProcessById(String id, Optional<Boolean> extraInfo, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.SystemException - Specified by:
findProcessByIdin interfaceorg.cibseven.webapp.providers.IProcessProvider- Throws:
org.cibseven.webapp.exception.SystemException
-
findProcessesInstances
public Collection<org.cibseven.webapp.rest.model.ProcessInstance> findProcessesInstances(String key, org.cibseven.webapp.auth.CIBUser user) - Specified by:
findProcessesInstancesin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
fetchDiagram
public org.cibseven.webapp.rest.model.ProcessDiagram fetchDiagram(String id, org.cibseven.webapp.auth.CIBUser user) - Specified by:
fetchDiagramin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
fetchStartForm
public org.cibseven.webapp.rest.model.StartForm fetchStartForm(String processDefinitionId, org.cibseven.webapp.auth.CIBUser user) - Specified by:
fetchStartFormin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
downloadBpmn
public org.cibseven.webapp.Data downloadBpmn(String id, String fileName, org.cibseven.webapp.auth.CIBUser user) - Specified by:
downloadBpmnin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
suspendProcessInstance
public void suspendProcessInstance(String processInstanceId, Boolean suspend, org.cibseven.webapp.auth.CIBUser user) - Specified by:
suspendProcessInstancein interfaceorg.cibseven.webapp.providers.IProcessProvider
-
deleteProcessInstance
- Specified by:
deleteProcessInstancein interfaceorg.cibseven.webapp.providers.IProcessProvider
-
suspendProcessDefinition
public void suspendProcessDefinition(String processDefinitionId, Boolean suspend, Boolean includeProcessInstances, String executionDate, org.cibseven.webapp.auth.CIBUser user) - Specified by:
suspendProcessDefinitionin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
startProcess
public org.cibseven.webapp.rest.model.ProcessStart startProcess(String processDefinitionKey, String tenantId, Map<String, Object> data, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.SystemException, org.cibseven.webapp.exception.UnsupportedTypeException, org.cibseven.webapp.exception.ExpressionEvaluationException- Specified by:
startProcessin interfaceorg.cibseven.webapp.providers.IProcessProvider- Throws:
org.cibseven.webapp.exception.SystemExceptionorg.cibseven.webapp.exception.UnsupportedTypeExceptionorg.cibseven.webapp.exception.ExpressionEvaluationException
-
submitForm
public org.cibseven.webapp.rest.model.ProcessStart submitForm(String processDefinitionKey, String tenantId, Map<String, Object> data, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.SystemException, org.cibseven.webapp.exception.UnsupportedTypeException, org.cibseven.webapp.exception.ExpressionEvaluationException- Specified by:
submitFormin interfaceorg.cibseven.webapp.providers.IProcessProvider- Throws:
org.cibseven.webapp.exception.SystemExceptionorg.cibseven.webapp.exception.UnsupportedTypeExceptionorg.cibseven.webapp.exception.ExpressionEvaluationException
-
findProcessStatistics
public Collection<org.cibseven.webapp.rest.model.ProcessStatistics> findProcessStatistics(String processId, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.SystemException, org.cibseven.webapp.exception.UnsupportedTypeException, org.cibseven.webapp.exception.ExpressionEvaluationException - Specified by:
findProcessStatisticsin interfaceorg.cibseven.webapp.providers.IProcessProvider- Throws:
org.cibseven.webapp.exception.SystemExceptionorg.cibseven.webapp.exception.UnsupportedTypeExceptionorg.cibseven.webapp.exception.ExpressionEvaluationException
-
findProcessesInstancesHistory
public Collection<org.cibseven.webapp.rest.model.HistoryProcessInstance> findProcessesInstancesHistory(Map<String, Object> filters, Optional<Integer> firstResult, Optional<Integer> maxResults, org.cibseven.webapp.auth.CIBUser user) - Specified by:
findProcessesInstancesHistoryin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
findProcessesInstancesHistory
public Collection<org.cibseven.webapp.rest.model.HistoryProcessInstance> findProcessesInstancesHistory(String key, Optional<Boolean> active, Integer firstResult, Integer maxResults, org.cibseven.webapp.auth.CIBUser user) - Specified by:
findProcessesInstancesHistoryin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
findProcessesInstancesHistoryById
public Collection<org.cibseven.webapp.rest.model.HistoryProcessInstance> findProcessesInstancesHistoryById(String id, Optional<String> activityId, Optional<Boolean> active, Integer firstResult, Integer maxResults, String text, org.cibseven.webapp.auth.CIBUser user) - Specified by:
findProcessesInstancesHistoryByIdin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
countProcessesInstancesHistory
public Long countProcessesInstancesHistory(Map<String, Object> filters, org.cibseven.webapp.auth.CIBUser user) - Specified by:
countProcessesInstancesHistoryin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
findProcessInstance
public org.cibseven.webapp.rest.model.ProcessInstance findProcessInstance(String processInstanceId, org.cibseven.webapp.auth.CIBUser user) - Specified by:
findProcessInstancein interfaceorg.cibseven.webapp.providers.IProcessProvider
-
fetchProcessInstanceVariable
public org.cibseven.webapp.rest.model.Variable fetchProcessInstanceVariable(String processInstanceId, String variableName, boolean deserializeValue, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.SystemException - Specified by:
fetchProcessInstanceVariablein interfaceorg.cibseven.webapp.providers.IProcessProvider- Throws:
org.cibseven.webapp.exception.SystemException
-
findHistoryProcessInstanceHistory
public org.cibseven.webapp.rest.model.HistoryProcessInstance findHistoryProcessInstanceHistory(String processInstanceId, org.cibseven.webapp.auth.CIBUser user) - Specified by:
findHistoryProcessInstanceHistoryin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
findCalledProcessDefinitions
public Collection<org.cibseven.webapp.rest.model.Process> findCalledProcessDefinitions(String processDefinitionId, org.cibseven.webapp.auth.CIBUser user) - Specified by:
findCalledProcessDefinitionsin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
convertToProcess
public static org.cibseven.webapp.rest.model.Process convertToProcess(org.cibseven.bpm.engine.rest.dto.repository.CalledProcessDefinitionDto dto) -
getDeployedStartForm
public org.springframework.http.ResponseEntity<byte[]> getDeployedStartForm(String processDefinitionId, org.cibseven.webapp.auth.CIBUser user) - Specified by:
getDeployedStartFormin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
updateHistoryTimeToLive
public void updateHistoryTimeToLive(String id, Map<String, Object> data, org.cibseven.webapp.auth.CIBUser user) - Specified by:
updateHistoryTimeToLivein interfaceorg.cibseven.webapp.providers.IProcessProvider
-
deleteProcessInstanceFromHistory
- Specified by:
deleteProcessInstanceFromHistoryin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
deleteProcessDefinition
public void deleteProcessDefinition(String id, Optional<Boolean> cascade, org.cibseven.webapp.auth.CIBUser user) - Specified by:
deleteProcessDefinitionin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
findCurrentProcessesInstances
public Collection<org.cibseven.webapp.rest.model.ProcessInstance> findCurrentProcessesInstances(Map<String, Object> data, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.SystemException- Specified by:
findCurrentProcessesInstancesin interfaceorg.cibseven.webapp.providers.IProcessProvider- Throws:
org.cibseven.webapp.exception.SystemException
-
fetchHistoricActivityStatistics
public Object fetchHistoricActivityStatistics(String id, Map<String, Object> params, org.cibseven.webapp.auth.CIBUser user) - Specified by:
fetchHistoricActivityStatisticsin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
submitForm
public org.cibseven.webapp.rest.model.ProcessStart submitForm(String processDefinitionId, String formResult, org.cibseven.webapp.auth.CIBUser user) throws org.cibseven.webapp.exception.SystemException, org.cibseven.webapp.exception.UnsupportedTypeException, org.cibseven.webapp.exception.ExpressionEvaluationException - Specified by:
submitFormin interfaceorg.cibseven.webapp.providers.IProcessProvider- Throws:
org.cibseven.webapp.exception.SystemExceptionorg.cibseven.webapp.exception.UnsupportedTypeExceptionorg.cibseven.webapp.exception.ExpressionEvaluationException
-
getRenderedForm
public org.springframework.http.ResponseEntity<String> getRenderedForm(String processDefinitionId, Map<String, Object> params, org.cibseven.webapp.auth.CIBUser user) - Specified by:
getRenderedFormin interfaceorg.cibseven.webapp.providers.IProcessProvider
-
findProcessesInstancesRuntime
public Collection<org.cibseven.webapp.rest.model.HistoryProcessInstance> findProcessesInstancesRuntime(Map<String, Object> data, Optional<Integer> firstResult, Optional<Integer> maxResults, org.cibseven.webapp.auth.CIBUser user) - Specified by:
findProcessesInstancesRuntimein interfaceorg.cibseven.webapp.providers.IProcessProvider
-
countProcessesInstancesRuntime
public Long countProcessesInstancesRuntime(Map<String, Object> filters, org.cibseven.webapp.auth.CIBUser user) - Specified by:
countProcessesInstancesRuntimein interfaceorg.cibseven.webapp.providers.IProcessProvider
-