public interface WorkflowInstanceManager
Modifier and Type | Method and Description |
---|---|
void |
deleteWorkflowInstance(long companyId,
long workflowInstanceId) |
List<String> |
getNextTransitionNames(long companyId,
long userId,
long workflowInstanceId) |
WorkflowInstance |
getWorkflowInstance(long companyId,
long workflowInstanceId) |
default WorkflowInstance |
getWorkflowInstance(long companyId,
long userId,
long workflowInstanceId) |
int |
getWorkflowInstanceCount(long companyId,
Long userId,
String[] assetClassNames,
Boolean completed) |
int |
getWorkflowInstanceCount(long companyId,
Long userId,
String assetClassName,
Long assetClassPK,
Boolean completed) |
int |
getWorkflowInstanceCount(long companyId,
String workflowDefinitionName,
Integer workflowDefinitionVersion,
Boolean completed) |
List<WorkflowInstance> |
getWorkflowInstances(long companyId,
Long userId,
String[] assetClassNames,
Boolean completed,
int start,
int end,
OrderByComparator<WorkflowInstance> orderByComparator) |
List<WorkflowInstance> |
getWorkflowInstances(long companyId,
Long userId,
String assetClassName,
Long assetClassPK,
Boolean completed,
int start,
int end,
OrderByComparator<WorkflowInstance> orderByComparator) |
List<WorkflowInstance> |
getWorkflowInstances(long companyId,
String workflowDefinitionName,
Integer workflowDefinitionVersion,
Boolean completed,
int start,
int end,
OrderByComparator<WorkflowInstance> orderByComparator) |
default List<WorkflowInstance> |
search(long companyId,
Long userId,
Boolean active,
String assetClassName,
String assetTitle,
String assetDescription,
String nodeName,
String kaleoDefinitionName,
Boolean completed,
int start,
int end,
OrderByComparator<WorkflowInstance> orderByComparator) |
default int |
searchCount(long companyId,
Long userId,
Boolean active,
String assetClassName,
String assetTitle,
String assetDescription,
String nodeName,
String kaleoDefinitionName,
Boolean completed) |
default WorkflowModelSearchResult<WorkflowInstance> |
searchWorkflowInstances(long companyId,
Long userId,
Boolean active,
String assetClassName,
String assetTitle,
String assetDescription,
String nodeName,
String kaleoDefinitionName,
Boolean completed,
boolean searchByActiveWorkflowHandlers,
int start,
int end,
OrderByComparator<WorkflowInstance> orderByComparator) |
WorkflowInstance |
signalWorkflowInstance(long companyId,
long userId,
long workflowInstanceId,
String transitionName,
Map<String,Serializable> workflowContext) |
default WorkflowInstance |
signalWorkflowInstance(long companyId,
long userId,
long workflowInstanceId,
String transitionName,
Map<String,Serializable> workflowContext,
boolean waitForCompletion) |
WorkflowInstance |
startWorkflowInstance(long companyId,
long groupId,
long userId,
String workflowDefinitionName,
Integer workflowDefinitionVersion,
String transitionName,
Map<String,Serializable> workflowContext) |
default WorkflowInstance |
startWorkflowInstance(long companyId,
long groupId,
long userId,
String workflowDefinitionName,
Integer workflowDefinitionVersion,
String transitionName,
Map<String,Serializable> workflowContext,
boolean waitForCompletion) |
default WorkflowInstance |
updateActive(long userId,
long companyId,
long workflowInstanceId,
boolean active) |
WorkflowInstance |
updateWorkflowContext(long companyId,
long workflowInstanceId,
Map<String,Serializable> workflowContext) |
void deleteWorkflowInstance(long companyId, long workflowInstanceId) throws WorkflowException
WorkflowException
List<String> getNextTransitionNames(long companyId, long userId, long workflowInstanceId) throws WorkflowException
WorkflowException
WorkflowInstance getWorkflowInstance(long companyId, long workflowInstanceId) throws WorkflowException
WorkflowException
default WorkflowInstance getWorkflowInstance(long companyId, long userId, long workflowInstanceId) throws WorkflowException
WorkflowException
int getWorkflowInstanceCount(long companyId, Long userId, String assetClassName, Long assetClassPK, Boolean completed) throws WorkflowException
WorkflowException
int getWorkflowInstanceCount(long companyId, Long userId, String[] assetClassNames, Boolean completed) throws WorkflowException
WorkflowException
int getWorkflowInstanceCount(long companyId, String workflowDefinitionName, Integer workflowDefinitionVersion, Boolean completed) throws WorkflowException
WorkflowException
List<WorkflowInstance> getWorkflowInstances(long companyId, Long userId, String assetClassName, Long assetClassPK, Boolean completed, int start, int end, OrderByComparator<WorkflowInstance> orderByComparator) throws WorkflowException
WorkflowException
List<WorkflowInstance> getWorkflowInstances(long companyId, Long userId, String[] assetClassNames, Boolean completed, int start, int end, OrderByComparator<WorkflowInstance> orderByComparator) throws WorkflowException
WorkflowException
List<WorkflowInstance> getWorkflowInstances(long companyId, String workflowDefinitionName, Integer workflowDefinitionVersion, Boolean completed, int start, int end, OrderByComparator<WorkflowInstance> orderByComparator) throws WorkflowException
WorkflowException
default List<WorkflowInstance> search(long companyId, Long userId, Boolean active, String assetClassName, String assetTitle, String assetDescription, String nodeName, String kaleoDefinitionName, Boolean completed, int start, int end, OrderByComparator<WorkflowInstance> orderByComparator) throws WorkflowException
WorkflowException
default int searchCount(long companyId, Long userId, Boolean active, String assetClassName, String assetTitle, String assetDescription, String nodeName, String kaleoDefinitionName, Boolean completed) throws WorkflowException
WorkflowException
default WorkflowModelSearchResult<WorkflowInstance> searchWorkflowInstances(long companyId, Long userId, Boolean active, String assetClassName, String assetTitle, String assetDescription, String nodeName, String kaleoDefinitionName, Boolean completed, boolean searchByActiveWorkflowHandlers, int start, int end, OrderByComparator<WorkflowInstance> orderByComparator) throws WorkflowException
WorkflowException
WorkflowInstance signalWorkflowInstance(long companyId, long userId, long workflowInstanceId, String transitionName, Map<String,Serializable> workflowContext) throws WorkflowException
WorkflowException
default WorkflowInstance signalWorkflowInstance(long companyId, long userId, long workflowInstanceId, String transitionName, Map<String,Serializable> workflowContext, boolean waitForCompletion) throws WorkflowException
WorkflowException
WorkflowInstance startWorkflowInstance(long companyId, long groupId, long userId, String workflowDefinitionName, Integer workflowDefinitionVersion, String transitionName, Map<String,Serializable> workflowContext) throws WorkflowException
WorkflowException
default WorkflowInstance startWorkflowInstance(long companyId, long groupId, long userId, String workflowDefinitionName, Integer workflowDefinitionVersion, String transitionName, Map<String,Serializable> workflowContext, boolean waitForCompletion) throws WorkflowException
WorkflowException
default WorkflowInstance updateActive(long userId, long companyId, long workflowInstanceId, boolean active) throws WorkflowException
WorkflowException
WorkflowInstance updateWorkflowContext(long companyId, long workflowInstanceId, Map<String,Serializable> workflowContext) throws WorkflowException
WorkflowException