Package de.hybris.platform.workflow.daos
Interface WorkflowActionDao
- All Known Implementing Classes:
DefaultWorkflowActionDao
public interface WorkflowActionDao
Dao to find workflow actions
-
Method Summary
Modifier and TypeMethodDescriptionfindEndWorkflowActions(WorkflowModel workflow) findNormalWorkflowActions(WorkflowModel workflow) findStartWorkflowActions(WorkflowModel workflow) findWorkflowActionsByStatusAndAttachmentType(List<ComposedTypeModel> attachmentTypes, Collection<WorkflowActionStatus> actionStatuses) findWorkflowActionsByType(WorkflowActionType type, WorkflowModel workflow)
-
Method Details
-
findStartWorkflowActions
- Parameters:
workflow- to which actions are assigned to- Returns:
- all workflow actions that are marked as 'start action'
-
findNormalWorkflowActions
- Parameters:
workflow- to which actions are assigned to- Returns:
- all workflow actions that are marked as 'normal action'
-
findEndWorkflowActions
- Parameters:
workflow- to which actions are assigned to- Returns:
- all workflow actions that are marked as 'end action'
-
findWorkflowActionsByType
List<WorkflowActionModel> findWorkflowActionsByType(WorkflowActionType type, WorkflowModel workflow) - Parameters:
workflow- to which actions are assigned totype- workflow type- Returns:
- all workflow actions which are of given type
-
findWorkflowActionsByStatusAndAttachmentType
List<WorkflowActionModel> findWorkflowActionsByStatusAndAttachmentType(List<ComposedTypeModel> attachmentTypes, Collection<WorkflowActionStatus> actionStatuses) - Parameters:
attachmentTypes- attachment typesactionStatuses- action statuses- Returns:
- all workflow actions that match attachment types and statuses
-