Class DefaultWorkflowActionDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<WorkflowActionModel>
de.hybris.platform.workflow.daos.impl.DefaultWorkflowActionDao
- All Implemented Interfaces:
GenericDao<WorkflowActionModel>,WorkflowActionDao
public class DefaultWorkflowActionDao
extends DefaultGenericDao<WorkflowActionModel>
implements WorkflowActionDao
Default implementation of
WorkflowActionDao-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindEndWorkflowActions(WorkflowModel wfModel) findNormalWorkflowActions(WorkflowModel wfModel) findStartWorkflowActions(WorkflowModel wfModel) findWorkflowActionsByStatusAndAttachmentType(List<ComposedTypeModel> attachmentTypes, Collection<WorkflowActionStatus> actionStatuses) findWorkflowActionsByType(WorkflowActionType type, WorkflowModel wfModel) Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
Constructor Details
-
DefaultWorkflowActionDao
-
-
Method Details
-
findEndWorkflowActions
- Specified by:
findEndWorkflowActionsin interfaceWorkflowActionDao- Parameters:
wfModel- to which actions are assigned to- Returns:
- all workflow actions that are marked as 'end action'
-
findNormalWorkflowActions
- Specified by:
findNormalWorkflowActionsin interfaceWorkflowActionDao- Parameters:
wfModel- to which actions are assigned to- Returns:
- all workflow actions that are marked as 'normal action'
-
findStartWorkflowActions
- Specified by:
findStartWorkflowActionsin interfaceWorkflowActionDao- Parameters:
wfModel- to which actions are assigned to- Returns:
- all workflow actions that are marked as 'start action'
-
findWorkflowActionsByType
public List<WorkflowActionModel> findWorkflowActionsByType(WorkflowActionType type, WorkflowModel wfModel) - Specified by:
findWorkflowActionsByTypein interfaceWorkflowActionDao- Parameters:
type- workflow typewfModel- to which actions are assigned to- Returns:
- all workflow actions which are of given type
-
findWorkflowActionsByStatusAndAttachmentType
public List<WorkflowActionModel> findWorkflowActionsByStatusAndAttachmentType(List<ComposedTypeModel> attachmentTypes, Collection<WorkflowActionStatus> actionStatuses) - Specified by:
findWorkflowActionsByStatusAndAttachmentTypein interfaceWorkflowActionDao- Parameters:
attachmentTypes- attachment typesactionStatuses- action statuses- Returns:
- all workflow actions that match attachment types and statuses
-