Class DefaultCMSWorkflowTemplateDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
de.hybris.platform.cms2.servicelayer.daos.impl.DefaultCMSWorkflowTemplateDao
- All Implemented Interfaces:
CMSWorkflowTemplateDao,Dao
public class DefaultCMSWorkflowTemplateDao
extends AbstractItemDao
implements CMSWorkflowTemplateDao
Default implementation of the
CMSWorkflowTemplateDao.-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetVisibleWorkflowTemplatesForCatalogVersion(CatalogVersionModel catalogVersion, PrincipalModel principal) Retrieves the list of workflow templates for a given catalog version and principal.Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
Constructor Details
-
DefaultCMSWorkflowTemplateDao
public DefaultCMSWorkflowTemplateDao()
-
-
Method Details
-
getVisibleWorkflowTemplatesForCatalogVersion
public List<WorkflowTemplateModel> getVisibleWorkflowTemplatesForCatalogVersion(CatalogVersionModel catalogVersion, PrincipalModel principal) Description copied from interface:CMSWorkflowTemplateDaoRetrieves the list of workflow templates for a given catalog version and principal.- Specified by:
getVisibleWorkflowTemplatesForCatalogVersionin interfaceCMSWorkflowTemplateDao- Parameters:
catalogVersion- The catalog version associated to a workflow templateprincipal- The principal used to determine if the workflow template is visible or not- Returns:
- A list of workflow templates
-