@MessagingProxy(mode=SYNC) 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) |
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) |
List<WorkflowInstance> |
search(long companyId,
Long userId,
String assetType,
String nodeName,
String kaleoDefinitionName,
Boolean completed,
int start,
int end,
OrderByComparator<WorkflowInstance> orderByComparator) |
int |
searchCount(long companyId,
Long userId,
String assetType,
String nodeName,
String kaleoDefinitionName,
Boolean completed) |
WorkflowInstance |
signalWorkflowInstance(long companyId,
long userId,
long workflowInstanceId,
String transitionName,
Map<String,Serializable> workflowContext) |
WorkflowInstance |
startWorkflowInstance(long companyId,
long groupId,
long userId,
String workflowDefinitionName,
Integer workflowDefinitionVersion,
String transitionName,
Map<String,Serializable> workflowContext) |
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
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
List<WorkflowInstance> search(long companyId, Long userId, String assetType, String nodeName, String kaleoDefinitionName, Boolean completed, int start, int end, OrderByComparator<WorkflowInstance> orderByComparator) throws WorkflowException
WorkflowException
int searchCount(long companyId, Long userId, String assetType, String nodeName, String kaleoDefinitionName, Boolean completed) throws WorkflowException
WorkflowException
WorkflowInstance signalWorkflowInstance(long companyId, long userId, long workflowInstanceId, String transitionName, Map<String,Serializable> workflowContext) throws WorkflowException
WorkflowException
WorkflowInstance startWorkflowInstance(long companyId, long groupId, long userId, String workflowDefinitionName, Integer workflowDefinitionVersion, String transitionName, Map<String,Serializable> workflowContext) throws WorkflowException
WorkflowException
WorkflowInstance updateWorkflowContext(long companyId, long workflowInstanceId, Map<String,Serializable> workflowContext) throws WorkflowException
WorkflowException