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 ofWorkflowActionDao
-
-
Constructor Summary
Constructors Constructor Description DefaultWorkflowActionDao(java.lang.String typecode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<WorkflowActionModel>findEndWorkflowActions(WorkflowModel wfModel)java.util.List<WorkflowActionModel>findNormalWorkflowActions(WorkflowModel wfModel)java.util.List<WorkflowActionModel>findStartWorkflowActions(WorkflowModel wfModel)java.util.List<WorkflowActionModel>findWorkflowActionsByStatusAndAttachmentType(java.util.List<ComposedTypeModel> attachmentTypes, java.util.Collection<WorkflowActionStatus> actionStatuses)java.util.List<WorkflowActionModel>findWorkflowActionsByType(WorkflowActionType type, WorkflowModel wfModel)-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchService
-
-
-
-
Method Detail
-
findEndWorkflowActions
public java.util.List<WorkflowActionModel> findEndWorkflowActions(WorkflowModel wfModel)
- Specified by:
findEndWorkflowActionsin interfaceWorkflowActionDao- Parameters:
wfModel- to which actions are assigned to- Returns:
- all workflow actions that are marked as 'end action'
-
findNormalWorkflowActions
public java.util.List<WorkflowActionModel> findNormalWorkflowActions(WorkflowModel wfModel)
- Specified by:
findNormalWorkflowActionsin interfaceWorkflowActionDao- Parameters:
wfModel- to which actions are assigned to- Returns:
- all workflow actions that are marked as 'normal action'
-
findStartWorkflowActions
public java.util.List<WorkflowActionModel> findStartWorkflowActions(WorkflowModel wfModel)
- Specified by:
findStartWorkflowActionsin interfaceWorkflowActionDao- Parameters:
wfModel- to which actions are assigned to- Returns:
- all workflow actions that are marked as 'start action'
-
findWorkflowActionsByType
public java.util.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 java.util.List<WorkflowActionModel> findWorkflowActionsByStatusAndAttachmentType(java.util.List<ComposedTypeModel> attachmentTypes, java.util.Collection<WorkflowActionStatus> actionStatuses)
- Specified by:
findWorkflowActionsByStatusAndAttachmentTypein interfaceWorkflowActionDao- Parameters:
attachmentTypes- attachment typesactionStatuses- action statuses- Returns:
- all workflow actions that match attachment types and statuses
-
-