Interface CMSWorkflowActionFacade
- All Known Implementing Classes:
DefaultCMSWorkflowActionFacade
public interface CMSWorkflowActionFacade
Facade interface which deals with methods to manage workflow actions and actions related comments.
-
Method Summary
Modifier and TypeMethodDescriptionfindAllWorkflowTasks(PageableData pageableData) Returns paginated list of workflow tasks.getActionComments(String workflowCode, String actionCode, PageableData pageableData) Returns paginated list of action comments.getActionsForWorkflowCode(String workflowCode) Returns a list of actions and decisions for a given workflow identified by its code.
-
Method Details
-
getActionsForWorkflowCode
Returns a list of actions and decisions for a given workflow identified by its code.- Parameters:
workflowCode- - the workflow code- Returns:
- the workflow data with actions and decisions
- Throws:
UnknownIdentifierException- if a workflow cannot be found for the provided workflowCode.
-
getActionComments
SearchResult<CMSCommentData> getActionComments(String workflowCode, String actionCode, PageableData pageableData) Returns paginated list of action comments.- Parameters:
workflowCode- - the code corresponding to theWorkflowModelactionCode- - the code corresponding to theWorkflowActionModelpageableData- - the pageable dto determining the page size and index.- Returns:
- the paginated result of action comments data
-
findAllWorkflowTasks
Returns paginated list of workflow tasks.- Parameters:
pageableData- - the pageable dto determining the page size and index.- Returns:
- the paginated result of workflow tasks data.
-