Class DefaultCMSWorkflowActionDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
-
- de.hybris.platform.cms2.servicelayer.daos.impl.AbstractCMSItemDao
-
- de.hybris.platform.cms2.servicelayer.daos.impl.DefaultCMSWorkflowActionDao
-
- All Implemented Interfaces:
CMSWorkflowActionDao
,Dao
public class DefaultCMSWorkflowActionDao extends AbstractCMSItemDao implements CMSWorkflowActionDao
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService
-
-
Constructor Summary
Constructors Constructor Description DefaultCMSWorkflowActionDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SearchResult<WorkflowActionModel>
findAllActiveWorkflowActionsByStatusAndPrincipals(java.util.Set<CronJobStatus> workflowStatuses, java.util.Collection<PrincipalModel> currentPrincipals, PageableData pageableData)
This method finds all the activeWorkflowActionModel
ofAbstractPageModel
attachment types for the given principals and specified workflow statuses.-
Methods inherited from class de.hybris.platform.cms2.servicelayer.daos.impl.AbstractCMSItemDao
buildQuery, findSortQuery, getCmsSortQueryDataRegistry, setCmsSortQueryDataRegistry
-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
-
-
-
Method Detail
-
findAllActiveWorkflowActionsByStatusAndPrincipals
public SearchResult<WorkflowActionModel> findAllActiveWorkflowActionsByStatusAndPrincipals(java.util.Set<CronJobStatus> workflowStatuses, java.util.Collection<PrincipalModel> currentPrincipals, PageableData pageableData)
Description copied from interface:CMSWorkflowActionDao
This method finds all the activeWorkflowActionModel
ofAbstractPageModel
attachment types for the given principals and specified workflow statuses.- Specified by:
findAllActiveWorkflowActionsByStatusAndPrincipals
in interfaceCMSWorkflowActionDao
- Parameters:
workflowStatuses
- - the workflow statuses used to filter the resultcurrentPrincipals
- - the principals for which to find the workflow actions that have active workflow actions to be acted upon.pageableData
- - the pagination object used to set the page index and page size.- Returns:
- the search result object containing the resulting list of
WorkflowActionModel
and the pagination object.
-
-