Class DefaultCMSTypeRestrictionDao
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.DefaultCMSTypeRestrictionDao
- All Implemented Interfaces:
CMSTypeRestrictionDao,Dao
public class DefaultCMSTypeRestrictionDao
extends AbstractCMSItemDao
implements CMSTypeRestrictionDao
Default implementation of the
CMSTypeRestrictionDao interface.-
Field Summary
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTypeRestrictionsForPageTemplate(PageTemplateModel pageTemplate) This method finds all valid component types (type restrictions) for the given page template.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
-
DefaultCMSTypeRestrictionDao
public DefaultCMSTypeRestrictionDao()
-
-
Method Details
-
getTypeRestrictionsForPageTemplate
public List<CMSComponentTypeModel> getTypeRestrictionsForPageTemplate(PageTemplateModel pageTemplate) Description copied from interface:CMSTypeRestrictionDaoThis method finds all valid component types (type restrictions) for the given page template.- Specified by:
getTypeRestrictionsForPageTemplatein interfaceCMSTypeRestrictionDao- Parameters:
pageTemplate- - the Page Template for which to find its valid component types- Returns:
- the list of
CMSComponentTypeModelthat are valid for the given page template.
-