@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) |
default WorkflowTask |
completeWorkflowTask(long companyId,
long userId,
long workflowTaskId,
String transitionName,
String comment,
Map<String,Serializable> workflowContext,
boolean waitForCompletion) |
WorkflowTask |
fetchWorkflowTask(long workflowTaskId) |
default List<User> |
getAssignableUsers(long workflowTaskId) |
List<String> |
getNextTransitionNames(long userId,
long workflowTaskId) |
default List<User> |
getNotifiableUsers(long workflowTaskId) |
WorkflowTask |
getWorkflowTask(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) |
List<WorkflowTransition> |
getWorkflowTaskWorkflowTransitions(long workflowTaskId) |
boolean |
hasAssignableUsers(long workflowTaskId) |
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) |
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) |
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 searchByActivatedWorkflowHandlers,
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
WorkflowException
WorkflowTask assignWorkflowTaskToUser(long companyId, long userId, long workflowTaskId, long assigneeUserId, String comment, Date dueDate, Map<String,Serializable> workflowContext) throws PortalException
PortalException
WorkflowTask completeWorkflowTask(long companyId, long userId, long workflowTaskId, String transitionName, String comment, Map<String,Serializable> workflowContext) throws PortalException
PortalException
default WorkflowTask completeWorkflowTask(long companyId, long userId, long workflowTaskId, String transitionName, String comment, Map<String,Serializable> workflowContext, boolean waitForCompletion) throws PortalException
PortalException
WorkflowTask fetchWorkflowTask(long workflowTaskId) throws WorkflowException
WorkflowException
default List<User> getAssignableUsers(long workflowTaskId) throws WorkflowException
WorkflowException
List<String> getNextTransitionNames(long userId, long workflowTaskId) throws WorkflowException
WorkflowException
default List<User> getNotifiableUsers(long workflowTaskId) throws WorkflowException
WorkflowException
WorkflowTask getWorkflowTask(long workflowTaskId) throws WorkflowException
WorkflowException
int getWorkflowTaskCount(long companyId, Boolean completed) throws WorkflowException
WorkflowException
int getWorkflowTaskCountByRole(long companyId, long roleId, Boolean completed) throws WorkflowException
WorkflowException
int getWorkflowTaskCountBySubmittingUser(long companyId, long userId, Boolean completed) throws WorkflowException
WorkflowException
int getWorkflowTaskCountByUser(long companyId, long userId, Boolean completed) throws WorkflowException
WorkflowException
int getWorkflowTaskCountByUserRoles(long companyId, long userId, Boolean completed) throws WorkflowException
WorkflowException
int getWorkflowTaskCountByUserRoles(long companyId, long userId, long workflowInstanceId, Boolean completed) throws WorkflowException
WorkflowException
int getWorkflowTaskCountByWorkflowInstance(long companyId, Long userId, long workflowInstanceId, Boolean completed) throws WorkflowException
WorkflowException
List<WorkflowTask> getWorkflowTasks(long companyId, Boolean completed, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
WorkflowException
List<WorkflowTask> getWorkflowTasksByRole(long companyId, long roleId, Boolean completed, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
WorkflowException
List<WorkflowTask> getWorkflowTasksBySubmittingUser(long companyId, long userId, Boolean completed, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
WorkflowException
List<WorkflowTask> getWorkflowTasksByUser(long companyId, long userId, Boolean completed, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
WorkflowException
List<WorkflowTask> getWorkflowTasksByUserRoles(long companyId, long userId, Boolean completed, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
WorkflowException
List<WorkflowTask> getWorkflowTasksByWorkflowInstance(long companyId, Long userId, long workflowInstanceId, Boolean completed, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
WorkflowException
List<WorkflowTransition> getWorkflowTaskWorkflowTransitions(long workflowTaskId) throws WorkflowException
WorkflowException
boolean hasAssignableUsers(long workflowTaskId) throws WorkflowException
WorkflowException
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) throws WorkflowException
WorkflowException
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) throws WorkflowException
WorkflowException
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 searchByActivatedWorkflowHandlers, Boolean searchByUserRoles, Long workflowDefinitionId, Long[] workflowInstanceIds, Boolean andOperator, int start, int end, OrderByComparator<WorkflowTask> orderByComparator) throws WorkflowException
WorkflowException
WorkflowTask updateDueDate(long companyId, long userId, long workflowTaskId, String comment, Date dueDate) throws WorkflowException
WorkflowException