@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)
Deprecated.
As of Mueller (7.2.x), replaced by
search(long, Long,
String, String, String, String, String, Boolean, int, int,
OrderByComparator) |
default List<WorkflowInstance> |
search(long companyId,
Long userId,
String assetClassName,
String assetTitle,
String assetDescription,
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)
Deprecated.
As of Mueller (7.2.x), replaced by
searchCount(long,
Long, String, String, String, String, String, Boolean) |
default int |
searchCount(long companyId,
Long userId,
String assetClassName,
String assetTitle,
String assetDescription,
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
@Deprecated List<WorkflowInstance> search(long companyId, Long userId, String assetType, String nodeName, String kaleoDefinitionName, Boolean completed, int start, int end, OrderByComparator<WorkflowInstance> orderByComparator) throws WorkflowException
search(long, Long,
String, String, String, String, String, Boolean, int, int,
OrderByComparator)
WorkflowException
default List<WorkflowInstance> search(long companyId, Long userId, String assetClassName, String assetTitle, String assetDescription, String nodeName, String kaleoDefinitionName, Boolean completed, int start, int end, OrderByComparator<WorkflowInstance> orderByComparator) throws WorkflowException
WorkflowException
@Deprecated int searchCount(long companyId, Long userId, String assetType, String nodeName, String kaleoDefinitionName, Boolean completed) throws WorkflowException
searchCount(long,
Long, String, String, String, String, String, Boolean)
WorkflowException
default int searchCount(long companyId, Long userId, String assetClassName, String assetTitle, String assetDescription, 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