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
-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindAllActiveWorkflowActionsByStatusAndPrincipals(Set<CronJobStatus> workflowStatuses, Collection<PrincipalModel> currentPrincipals, PageableData pageableData) This method finds all the activeWorkflowActionModelofAbstractPageModelattachment types for the given principals and specified workflow statuses.Methods inherited from class de.hybris.platform.cms2.servicelayer.daos.impl.AbstractCMSItemDao
buildQuery, findSortQuery, getCmsSortQueryDataRegistry, setCmsSortQueryDataRegistryMethods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
Constructor Details
-
DefaultCMSWorkflowActionDao
public DefaultCMSWorkflowActionDao()
-
-
Method Details
-
findAllActiveWorkflowActionsByStatusAndPrincipals
public SearchResult<WorkflowActionModel> findAllActiveWorkflowActionsByStatusAndPrincipals(Set<CronJobStatus> workflowStatuses, Collection<PrincipalModel> currentPrincipals, PageableData pageableData) Description copied from interface:CMSWorkflowActionDaoThis method finds all the activeWorkflowActionModelofAbstractPageModelattachment types for the given principals and specified workflow statuses.- Specified by:
findAllActiveWorkflowActionsByStatusAndPrincipalsin 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
WorkflowActionModeland the pagination object.
-