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 theCMSWorkflowTemplateDao
.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService
-
-
Constructor Summary
Constructors Constructor Description DefaultCMSWorkflowTemplateDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<WorkflowTemplateModel>
getVisibleWorkflowTemplatesForCatalogVersion(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
-
-
-
-
Method Detail
-
getVisibleWorkflowTemplatesForCatalogVersion
public java.util.List<WorkflowTemplateModel> getVisibleWorkflowTemplatesForCatalogVersion(CatalogVersionModel catalogVersion, PrincipalModel principal)
Description copied from interface:CMSWorkflowTemplateDao
Retrieves the list of workflow templates for a given catalog version and principal.- Specified by:
getVisibleWorkflowTemplatesForCatalogVersion
in 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
-
-