public class WorkflowInstanceManagerUtil
extends Object
Constructor and Description |
---|
WorkflowInstanceManagerUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
deleteWorkflowInstance(long companyId,
long workflowInstanceId) |
static List<String> |
getNextTransitionNames(long companyId,
long userId,
long workflowInstanceId) |
static WorkflowInstance |
getWorkflowInstance(long companyId,
long workflowInstanceId) |
static WorkflowInstance |
getWorkflowInstance(long companyId,
long userId,
long workflowInstanceId) |
static int |
getWorkflowInstanceCount(long companyId,
Long userId,
String[] assetClassNames,
Boolean completed) |
static int |
getWorkflowInstanceCount(long companyId,
Long userId,
String assetClassName,
Long assetClassPK,
Boolean completed) |
static int |
getWorkflowInstanceCount(long companyId,
String workflowDefinitionName,
Integer workflowDefinitionVersion,
Boolean completed) |
static List<WorkflowInstance> |
getWorkflowInstances(long companyId,
Long userId,
String[] assetClassNames,
Boolean completed,
int start,
int end,
OrderByComparator<WorkflowInstance> orderByComparator) |
static List<WorkflowInstance> |
getWorkflowInstances(long companyId,
Long userId,
String assetClassName,
Long assetClassPK,
Boolean completed,
int start,
int end,
OrderByComparator<WorkflowInstance> orderByComparator) |
static List<WorkflowInstance> |
getWorkflowInstances(long companyId,
String workflowDefinitionName,
Integer workflowDefinitionVersion,
Boolean completed,
int start,
int end,
OrderByComparator<WorkflowInstance> orderByComparator) |
static 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) |
static int |
searchCount(long companyId,
Long userId,
Boolean active,
String assetClassName,
String assetTitle,
String assetDescription,
String nodeName,
String kaleoDefinitionName,
Boolean completed) |
static 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) |
static WorkflowInstance |
signalWorkflowInstance(long companyId,
long userId,
long workflowInstanceId,
String transitionName,
Map<String,Serializable> workflowContext) |
static WorkflowInstance |
signalWorkflowInstance(long companyId,
long userId,
long workflowInstanceId,
String transitionName,
Map<String,Serializable> workflowContext,
boolean waitForCompletion) |
static WorkflowInstance |
startWorkflowInstance(long companyId,
long groupId,
long userId,
String workflowDefinitionName,
Integer workflowDefinitionVersion,
String transitionName,
Map<String,Serializable> workflowContext) |
static WorkflowInstance |
startWorkflowInstance(long companyId,
long groupId,
long userId,
String workflowDefinitionName,
Integer workflowDefinitionVersion,
String transitionName,
Map<String,Serializable> workflowContext,
boolean waitForCompletion) |
static WorkflowInstance |
updateWorkflowContext(long companyId,
long workflowInstanceId,
Map<String,Serializable> workflowContext) |
public static void deleteWorkflowInstance(long companyId, long workflowInstanceId) throws WorkflowException
WorkflowException
public static List<String> getNextTransitionNames(long companyId, long userId, long workflowInstanceId) throws WorkflowException
WorkflowException
public static WorkflowInstance getWorkflowInstance(long companyId, long workflowInstanceId) throws WorkflowException
WorkflowException
public static WorkflowInstance getWorkflowInstance(long companyId, long userId, long workflowInstanceId) throws WorkflowException
WorkflowException
public static int getWorkflowInstanceCount(long companyId, Long userId, String assetClassName, Long assetClassPK, Boolean completed) throws WorkflowException
WorkflowException
public static int getWorkflowInstanceCount(long companyId, Long userId, String[] assetClassNames, Boolean completed) throws WorkflowException
WorkflowException
public static int getWorkflowInstanceCount(long companyId, String workflowDefinitionName, Integer workflowDefinitionVersion, Boolean completed) throws WorkflowException
WorkflowException
public static List<WorkflowInstance> getWorkflowInstances(long companyId, Long userId, String assetClassName, Long assetClassPK, Boolean completed, int start, int end, OrderByComparator<WorkflowInstance> orderByComparator) throws WorkflowException
WorkflowException
public static List<WorkflowInstance> getWorkflowInstances(long companyId, Long userId, String[] assetClassNames, Boolean completed, int start, int end, OrderByComparator<WorkflowInstance> orderByComparator) throws WorkflowException
WorkflowException
public static List<WorkflowInstance> getWorkflowInstances(long companyId, String workflowDefinitionName, Integer workflowDefinitionVersion, Boolean completed, int start, int end, OrderByComparator<WorkflowInstance> orderByComparator) throws WorkflowException
WorkflowException
public static 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
public static int searchCount(long companyId, Long userId, Boolean active, String assetClassName, String assetTitle, String assetDescription, String nodeName, String kaleoDefinitionName, Boolean completed) throws WorkflowException
WorkflowException
public static 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
public static WorkflowInstance signalWorkflowInstance(long companyId, long userId, long workflowInstanceId, String transitionName, Map<String,Serializable> workflowContext) throws WorkflowException
WorkflowException
public static WorkflowInstance signalWorkflowInstance(long companyId, long userId, long workflowInstanceId, String transitionName, Map<String,Serializable> workflowContext, boolean waitForCompletion) throws WorkflowException
WorkflowException
public static WorkflowInstance startWorkflowInstance(long companyId, long groupId, long userId, String workflowDefinitionName, Integer workflowDefinitionVersion, String transitionName, Map<String,Serializable> workflowContext) throws WorkflowException
WorkflowException
public static WorkflowInstance startWorkflowInstance(long companyId, long groupId, long userId, String workflowDefinitionName, Integer workflowDefinitionVersion, String transitionName, Map<String,Serializable> workflowContext, boolean waitForCompletion) throws WorkflowException
WorkflowException
public static WorkflowInstance updateWorkflowContext(long companyId, long workflowInstanceId, Map<String,Serializable> workflowContext) throws WorkflowException
WorkflowException