Package de.hybris.platform.workflow.daos
Interface WorkflowActionDao
-
- All Known Implementing Classes:
DefaultWorkflowActionDao
public interface WorkflowActionDao
Dao to find workflow actions
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<WorkflowActionModel>
findEndWorkflowActions(WorkflowModel workflow)
java.util.List<WorkflowActionModel>
findNormalWorkflowActions(WorkflowModel workflow)
java.util.List<WorkflowActionModel>
findStartWorkflowActions(WorkflowModel workflow)
java.util.List<WorkflowActionModel>
findWorkflowActionsByStatusAndAttachmentType(java.util.List<ComposedTypeModel> attachmentTypes, java.util.Collection<WorkflowActionStatus> actionStatuses)
java.util.List<WorkflowActionModel>
findWorkflowActionsByType(WorkflowActionType type, WorkflowModel workflow)
-
-
-
Method Detail
-
findStartWorkflowActions
java.util.List<WorkflowActionModel> findStartWorkflowActions(WorkflowModel workflow)
- Parameters:
workflow
- to which actions are assigned to- Returns:
- all workflow actions that are marked as 'start action'
-
findNormalWorkflowActions
java.util.List<WorkflowActionModel> findNormalWorkflowActions(WorkflowModel workflow)
- Parameters:
workflow
- to which actions are assigned to- Returns:
- all workflow actions that are marked as 'normal action'
-
findEndWorkflowActions
java.util.List<WorkflowActionModel> findEndWorkflowActions(WorkflowModel workflow)
- Parameters:
workflow
- to which actions are assigned to- Returns:
- all workflow actions that are marked as 'end action'
-
findWorkflowActionsByType
java.util.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
java.util.List<WorkflowActionModel> findWorkflowActionsByStatusAndAttachmentType(java.util.List<ComposedTypeModel> attachmentTypes, java.util.Collection<WorkflowActionStatus> actionStatuses)
- Parameters:
attachmentTypes
- attachment typesactionStatuses
- action statuses- Returns:
- all workflow actions that match attachment types and statuses
-
-