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 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 WorkflowInstanceManager |
getWorkflowInstanceManager() |
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,
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) |
static 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) |
static 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) |
static int |
searchCount(long companyId,
Long userId,
String assetClassName,
String assetTitle,
String assetDescription,
String nodeName,
String kaleoDefinitionName,
Boolean completed) |
void |
setWorkflowInstanceManager(WorkflowInstanceManager workflowInstanceManager) |
static WorkflowInstance |
signalWorkflowInstance(long companyId,
long userId,
long workflowInstanceId,
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) |
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 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 WorkflowInstanceManager getWorkflowInstanceManager()
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
@Deprecated public static 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
public static 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 public static 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
public static int searchCount(long companyId, Long userId, String assetClassName, String assetTitle, String assetDescription, String nodeName, String kaleoDefinitionName, Boolean completed) 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 startWorkflowInstance(long companyId, long groupId, long userId, String workflowDefinitionName, Integer workflowDefinitionVersion, String transitionName, Map<String,Serializable> workflowContext) throws WorkflowException
WorkflowException
public static WorkflowInstance updateWorkflowContext(long companyId, long workflowInstanceId, Map<String,Serializable> workflowContext) throws WorkflowException
WorkflowException
public void setWorkflowInstanceManager(WorkflowInstanceManager workflowInstanceManager)