@MessagingProxy(mode=SYNC) @ProviderType public interface WorkflowTaskManager
| Modifier and Type | Method and Description |
|---|---|
WorkflowTask |
assignWorkflowTaskToRole(long companyId,
long userId,
long workflowTaskId,
long roleId,
String comment,
Date dueDate,
Map<String,Serializable> workflowContext) |
WorkflowTask |
assignWorkflowTaskToUser(long companyId,
long userId,
long workflowTaskId,
long assigneeUserId,
String comment,
Date dueDate,
Map<String,Serializable> workflowContext) |
WorkflowTask |
completeWorkflowTask(long companyId,
long userId,
long workflowTaskId,
String transitionName,
String comment,
Map<String,Serializable> workflowContext) |
WorkflowTask |
fetchWorkflowTask(long companyId,
long workflowTaskId) |
default List<User> |
getAssignableUsers(long companyId,
long workflowTaskId) |
List<String> |
getNextTransitionNames(long companyId,
long userId,
long workflowTaskId) |
default List<User> |
getPooledActors(long companyId,
long workflowTaskId)
Deprecated.
As of Athanasius (7.3.x), replaced by
getAssignableUsers(long, long) |
long[] |
getPooledActorsIds(long companyId,
long workflowTaskId)
Deprecated.
As of Athanasius (7.3.x), replaced by
getAssignableUsers(long, long) |
WorkflowTask |
getWorkflowTask(long companyId,
long workflowTaskId) |
int |
getWorkflowTaskCount(long companyId,
Boolean completed) |
int |
getWorkflowTaskCountByRole(long companyId,
long roleId,
Boolean completed) |
int |
getWorkflowTaskCountBySubmittingUser(long companyId,
long userId,
Boolean completed) |
int |
getWorkflowTaskCountByUser(long companyId,
long userId,
Boolean completed) |
int |
getWorkflowTaskCountByUserRoles(long companyId,
long userId,
Boolean completed) |
int |
getWorkflowTaskCountByUserRoles(long companyId,
long userId,
long workflowInstanceId,
Boolean completed) |
int |
getWorkflowTaskCountByWorkflowInstance(long companyId,
Long userId,
long workflowInstanceId,
Boolean completed) |
List<WorkflowTask> |
getWorkflowTasks(long companyId,
Boolean completed,
int start,
int end,
OrderByComparator<WorkflowTask> orderByComparator) |
List<WorkflowTask> |
getWorkflowTasksByRole(long companyId,
long roleId,
Boolean completed,
int start,
int end,
OrderByComparator<WorkflowTask> orderByComparator) |
List<WorkflowTask> |
getWorkflowTasksBySubmittingUser(long companyId,
long userId,
Boolean completed,
int start,
int end,
OrderByComparator<WorkflowTask> orderByComparator) |
List<WorkflowTask> |
getWorkflowTasksByUser(long companyId,
long userId,
Boolean completed,
int start,
int end,
OrderByComparator<WorkflowTask> orderByComparator) |
List<WorkflowTask> |
getWorkflowTasksByUserRoles(long companyId,
long userId,
Boolean completed,
int start,
int end,
OrderByComparator<WorkflowTask> orderByComparator) |
List<WorkflowTask> |
getWorkflowTasksByWorkflowInstance(long companyId,
Long userId,
long workflowInstanceId,
Boolean completed,
int start,
int end,
OrderByComparator<WorkflowTask> orderByComparator) |
boolean |
hasAssignableUsers(long companyId,
long workflowTaskId) |
boolean |
hasOtherAssignees(long workflowTaskId,
long userId)
Deprecated.
As of Athanasius (7.3.x), replaced by
hasAssignableUsers(long, long) |
List<WorkflowTask> |
search(long companyId,
long userId,
String keywords,
Boolean completed,
Boolean searchByUserRoles,
int start,
int end,
OrderByComparator<WorkflowTask> orderByComparator)
Deprecated.
As of Athanasius (7.3.x), replaced by
search(long,
long, String, String[], String[], Long[], String, Long[],
Date, Date, Boolean, Boolean, Long, Long[], Boolean, int,
int, OrderByComparator) |
List<WorkflowTask> |
search(long companyId,
long userId,
String keywords,
String[] assetTypes,
Boolean completed,
Boolean searchByUserRoles,
int start,
int end,
OrderByComparator<WorkflowTask> orderByComparator)
Deprecated.
As of Athanasius (7.3.x), replaced by
search(long,
long, String, String[], String[], Long[], String, Long[],
Date, Date, Boolean, Boolean, Long, Long[], Boolean, int,
int, OrderByComparator) |
default List<WorkflowTask> |
search(long companyId,
long userId,
String assetTitle,
String[] taskNames,
String[] assetTypes,
Long[] assetPrimaryKeys,
Long[] assigneeIds,
Date dueDateGT,
Date dueDateLT,
Boolean completed,
Boolean searchByUserRoles,
Long[] workflowInstanceIds,
Boolean andOperator,
int start,
int end,
OrderByComparator<WorkflowTask> orderByComparator)
Deprecated.
As of Athanasius (7.3.x), replaced by
search(long,
long, String, String[], String[], Long[], String, Long[],
Date, Date, Boolean, Boolean, Long, Long[], Boolean, int,
int, OrderByComparator) |
default List<WorkflowTask> |
search(long companyId,
long userId,
String assetTitle,
String[] taskNames,
String[] assetTypes,
Long[] assetPrimaryKeys,
String assigneeClassName,
Long[] assigneeIds,
Date dueDateGT,
Date dueDateLT,
Boolean completed,
Boolean searchByUserRoles,
Long workflowDefinitionId,
Long[] workflowInstanceIds,
Boolean andOperator,
int start,
int end,
OrderByComparator<WorkflowTask> orderByComparator) |
List<WorkflowTask> |
search(long companyId,
long userId,
String taskName,
String assetType,
Long[] assetPrimaryKeys,
Date dueDateGT,
Date dueDateLT,
Boolean completed,
Boolean searchByUserRoles,
boolean andOperator,
int start,
int end,
OrderByComparator<WorkflowTask> orderByComparator)
Deprecated.
As of Athanasius (7.3.x), replaced by
search(long,
long, String, String[], String[], Long[], String, Long[],
Date, Date, Boolean, Boolean, Long, Long[], Boolean, int,
int, OrderByComparator) |
default List<WorkflowTask> |
search(long companyId,
long userId,
String assetTitle,
String taskName,
String[] assetTypes,
Long[] assetPrimaryKeys,
Date dueDateGT,
Date dueDateLT,
Boolean completed,
Boolean searchByUserRoles,
Boolean andOperator,
int start,
int end,
OrderByComparator<WorkflowTask> orderByComparator)
Deprecated.
As of Athanasius (7.3.x), replaced by
search(long,
long, String, String[], String[], Long[], String, Long[],
Date, Date, Boolean, Boolean, Long, Long[], Boolean, int,
int, OrderByComparator) |
int |
searchCount(long companyId,
long userId,
String keywords,
Boolean completed,
Boolean searchByUserRoles)
Deprecated.
As of Athanasius (7.3.x), replaced by
searchCount(long, long, String, String[], String[], Long[],
String, Long[], Date, Date, Boolean, Boolean, Long, Long[],
Boolean) |
int |
searchCount(long companyId,
long userId,
String keywords,
String[] assetTypes,
Boolean completed,
Boolean searchByUserRoles)
Deprecated.
As of Athanasius (7.3.x), replaced by
searchCount(long, long, String, String[], String[], Long[],
String, Long[], Date, Date, Boolean, Boolean, Long, Long[],
Boolean) |
default int |
searchCount(long companyId,
long userId,
String assetTitle,
String[] taskNames,
String[] assetTypes,
Long[] assetPrimaryKeys,
Long[] assigneeIds,
Date dueDateGT,
Date dueDateLT,
Boolean completed,
Boolean searchByUserRoles,
Long[] workflowInstanceIds,
Boolean andOperator)
Deprecated.
As of Athanasius (7.3.x), replaced by
searchCount(long, long, String, String[], String[], Long[],
String, Long[], Date, Date, Boolean, Boolean, Long, Long[],
Boolean) |
default int |
searchCount(long companyId,
long userId,
String assetTitle,
String[] taskNames,
String[] assetTypes,
Long[] assetPrimaryKeys,
String assigneeClassName,
Long[] assigneeIds,
Date dueDateGT,
Date dueDateLT,
Boolean completed,
Boolean searchByUserRoles,
Long workflowDefinitionId,
Long[] workflowInstanceIds,
Boolean andOperator) |
int |
searchCount(long companyId,
long userId,
String taskName,
String assetType,
Long[] assetPrimaryKeys,
Date dueDateGT,
Date dueDateLT,
Boolean completed,
Boolean searchByUserRoles,
boolean andOperator)
Deprecated.
As of Athanasius (7.3.x), replaced by
searchCount(long, long, String, String[], String[], Long[],
String, Long[], Date, Date, Boolean, Boolean, Long, Long[],
Boolean) |
default int |
searchCount(long companyId,
long userId,
String assetTitle,
String taskName,
String[] assetTypes,
Long[] assetPrimaryKeys,
Date dueDateGT,
Date dueDateLT,
Boolean completed,
Boolean searchByUserRoles,
Boolean andOperator)
Deprecated.
As of Athanasius (7.3.x), replaced by
searchCount(long, long, String, String[], String[], Long[],
String, Long[], Date, Date, Boolean, Boolean, Long, Long[],
Boolean) |
default WorkflowModelSearchResult<WorkflowTask> |
searchWorkflowTasks(long companyId,
long userId,
String assetTitle,
String[] taskNames,
String[] assetTypes,
Long[] assetPrimaryKeys,
String assigneeClassName,
Long[] assigneeIds,
Date dueDateGT,
Date dueDateLT,
Boolean completed,
Boolean searchByUserRoles,
Long workflowDefinitionId,
Long[] workflowInstanceIds,
Boolean andOperator,
int start,
int end,
OrderByComparator<WorkflowTask> orderByComparator) |
WorkflowTask |
updateDueDate(long companyId,
long userId,
long workflowTaskId,
String comment,
Date dueDate) |
WorkflowTask assignWorkflowTaskToRole(long companyId, long userId, long workflowTaskId, long roleId, String comment, Date dueDate, Map<String,Serializable> workflowContext) throws WorkflowException
WorkflowExceptionWorkflowTask assignWorkflowTaskToUser(long companyId, long userId, long workflowTaskId, long assigneeUserId, String comment, Date dueDate, Map<String,Serializable> workflowContext) throws WorkflowException
WorkflowExceptionWorkflowTask completeWorkflowTask(long companyId, long userId, long workflowTaskId, String transitionName, String comment, Map<String,Serializable> workflowContext) throws WorkflowException
WorkflowExceptionWorkflowTask fetchWorkflowTask(long companyId, long workflowTaskId) throws WorkflowException
WorkflowExceptiondefault List<User> getAssignableUsers(long companyId, long workflowTaskId) throws WorkflowException
WorkflowExceptionList<String> getNextTransitionNames(long companyId,
long userId,
long workflowTaskId)
throws WorkflowException
WorkflowException@Deprecated default List<User> getPooledActors(long companyId, long workflowTaskId) throws WorkflowException
getAssignableUsers(long, long)WorkflowException@Deprecated
long[] getPooledActorsIds(long companyId,
long workflowTaskId)
throws WorkflowException
getAssignableUsers(long, long)WorkflowExceptionWorkflowTask getWorkflowTask(long companyId, long workflowTaskId) throws WorkflowException
WorkflowExceptionint getWorkflowTaskCount(long companyId,
Boolean completed)
throws WorkflowException
WorkflowExceptionint getWorkflowTaskCountByRole(long companyId,
long roleId,
Boolean completed)
throws WorkflowException
WorkflowExceptionint getWorkflowTaskCountBySubmittingUser(long companyId,
long userId,
Boolean completed)
throws WorkflowException
WorkflowExceptionint getWorkflowTaskCountByUser(long companyId,
long userId,
Boolean completed)
throws WorkflowException
WorkflowExceptionint getWorkflowTaskCountByUserRoles(long companyId,
long userId,
Boolean completed)
throws WorkflowException
WorkflowExceptionint getWorkflowTaskCountByUserRoles(long companyId,
long userId,
long workflowInstanceId,
Boolean completed)
throws WorkflowException
WorkflowExceptionint getWorkflowTaskCountByWorkflowInstance(long companyId,
Long userId,
long workflowInstanceId,
Boolean completed)
throws WorkflowException
WorkflowExceptionList<WorkflowTask> getWorkflowTasks(long companyId, Boolean completed, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
WorkflowExceptionList<WorkflowTask> getWorkflowTasksByRole(long companyId, long roleId, Boolean completed, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
WorkflowExceptionList<WorkflowTask> getWorkflowTasksBySubmittingUser(long companyId, long userId, Boolean completed, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
WorkflowExceptionList<WorkflowTask> getWorkflowTasksByUser(long companyId, long userId, Boolean completed, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
WorkflowExceptionList<WorkflowTask> getWorkflowTasksByUserRoles(long companyId, long userId, Boolean completed, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
WorkflowExceptionList<WorkflowTask> getWorkflowTasksByWorkflowInstance(long companyId, Long userId, long workflowInstanceId, Boolean completed, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
WorkflowExceptionboolean hasAssignableUsers(long companyId,
long workflowTaskId)
throws WorkflowException
WorkflowException@Deprecated
boolean hasOtherAssignees(long workflowTaskId,
long userId)
throws WorkflowException
hasAssignableUsers(long, long)WorkflowException@Deprecated List<WorkflowTask> search(long companyId, long userId, String keywords, Boolean completed, Boolean searchByUserRoles, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
search(long,
long, String, String[], String[], Long[], String, Long[],
Date, Date, Boolean, Boolean, Long, Long[], Boolean, int,
int, OrderByComparator)WorkflowException@Deprecated List<WorkflowTask> search(long companyId, long userId, String taskName, String assetType, Long[] assetPrimaryKeys, Date dueDateGT, Date dueDateLT, Boolean completed, Boolean searchByUserRoles, boolean andOperator, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
search(long,
long, String, String[], String[], Long[], String, Long[],
Date, Date, Boolean, Boolean, Long, Long[], Boolean, int,
int, OrderByComparator)WorkflowException@Deprecated default List<WorkflowTask> search(long companyId, long userId, String assetTitle, String taskName, String[] assetTypes, Long[] assetPrimaryKeys, Date dueDateGT, Date dueDateLT, Boolean completed, Boolean searchByUserRoles, Boolean andOperator, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
search(long,
long, String, String[], String[], Long[], String, Long[],
Date, Date, Boolean, Boolean, Long, Long[], Boolean, int,
int, OrderByComparator)WorkflowException@Deprecated List<WorkflowTask> search(long companyId, long userId, String keywords, String[] assetTypes, Boolean completed, Boolean searchByUserRoles, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
search(long,
long, String, String[], String[], Long[], String, Long[],
Date, Date, Boolean, Boolean, Long, Long[], Boolean, int,
int, OrderByComparator)WorkflowException@Deprecated default List<WorkflowTask> search(long companyId, long userId, String assetTitle, String[] taskNames, String[] assetTypes, Long[] assetPrimaryKeys, Long[] assigneeIds, Date dueDateGT, Date dueDateLT, Boolean completed, Boolean searchByUserRoles, Long[] workflowInstanceIds, Boolean andOperator, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
search(long,
long, String, String[], String[], Long[], String, Long[],
Date, Date, Boolean, Boolean, Long, Long[], Boolean, int,
int, OrderByComparator)WorkflowExceptiondefault List<WorkflowTask> search(long companyId, long userId, String assetTitle, String[] taskNames, String[] assetTypes, Long[] assetPrimaryKeys, String assigneeClassName, Long[] assigneeIds, Date dueDateGT, Date dueDateLT, Boolean completed, Boolean searchByUserRoles, Long workflowDefinitionId, Long[] workflowInstanceIds, Boolean andOperator, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
WorkflowException@Deprecated
int searchCount(long companyId,
long userId,
String keywords,
Boolean completed,
Boolean searchByUserRoles)
throws WorkflowException
searchCount(long, long, String, String[], String[], Long[],
String, Long[], Date, Date, Boolean, Boolean, Long, Long[],
Boolean)WorkflowException@Deprecated
int searchCount(long companyId,
long userId,
String taskName,
String assetType,
Long[] assetPrimaryKeys,
Date dueDateGT,
Date dueDateLT,
Boolean completed,
Boolean searchByUserRoles,
boolean andOperator)
throws WorkflowException
searchCount(long, long, String, String[], String[], Long[],
String, Long[], Date, Date, Boolean, Boolean, Long, Long[],
Boolean)WorkflowException@Deprecated
default int searchCount(long companyId,
long userId,
String assetTitle,
String taskName,
String[] assetTypes,
Long[] assetPrimaryKeys,
Date dueDateGT,
Date dueDateLT,
Boolean completed,
Boolean searchByUserRoles,
Boolean andOperator)
throws WorkflowException
searchCount(long, long, String, String[], String[], Long[],
String, Long[], Date, Date, Boolean, Boolean, Long, Long[],
Boolean)WorkflowException@Deprecated
int searchCount(long companyId,
long userId,
String keywords,
String[] assetTypes,
Boolean completed,
Boolean searchByUserRoles)
throws WorkflowException
searchCount(long, long, String, String[], String[], Long[],
String, Long[], Date, Date, Boolean, Boolean, Long, Long[],
Boolean)WorkflowException@Deprecated
default int searchCount(long companyId,
long userId,
String assetTitle,
String[] taskNames,
String[] assetTypes,
Long[] assetPrimaryKeys,
Long[] assigneeIds,
Date dueDateGT,
Date dueDateLT,
Boolean completed,
Boolean searchByUserRoles,
Long[] workflowInstanceIds,
Boolean andOperator)
throws WorkflowException
searchCount(long, long, String, String[], String[], Long[],
String, Long[], Date, Date, Boolean, Boolean, Long, Long[],
Boolean)WorkflowExceptiondefault int searchCount(long companyId,
long userId,
String assetTitle,
String[] taskNames,
String[] assetTypes,
Long[] assetPrimaryKeys,
String assigneeClassName,
Long[] assigneeIds,
Date dueDateGT,
Date dueDateLT,
Boolean completed,
Boolean searchByUserRoles,
Long workflowDefinitionId,
Long[] workflowInstanceIds,
Boolean andOperator)
throws WorkflowException
WorkflowExceptiondefault WorkflowModelSearchResult<WorkflowTask> searchWorkflowTasks(long companyId, long userId, String assetTitle, String[] taskNames, String[] assetTypes, Long[] assetPrimaryKeys, String assigneeClassName, Long[] assigneeIds, Date dueDateGT, Date dueDateLT, Boolean completed, Boolean searchByUserRoles, Long workflowDefinitionId, Long[] workflowInstanceIds, Boolean andOperator, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
WorkflowExceptionWorkflowTask updateDueDate(long companyId, long userId, long workflowTaskId, String comment, Date dueDate) throws WorkflowException
WorkflowException