public class DefaultCMSRestrictionDao extends AbstractItemDao implements CMSRestrictionDao
CMSRestrictionDao interface.flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultCMSRestrictionDao() |
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServicepublic Collection<AbstractRestrictionModel> findRestrictionForPage(ComposedTypeModel composedType, AbstractPageModel page, CatalogVersionModel catalogVersion)
findRestrictionForPage in interface CMSRestrictionDaocomposedType - the composed typepage - the pagecatalogVersion - the catalog versionAbstractRestrictionModel objects or empty collection when not found.public AbstractRestrictionModel findRestrictionById(String id, CatalogVersionModel catalogVersion)
findRestrictionById in interface CMSRestrictionDaoid - the idcatalogVersion - the catalog versionpublic Collection<AbstractRestrictionModel> findRestrictionByType(ComposedTypeModel composedType, CatalogVersionModel catalogVersion)
findRestrictionByType in interface CMSRestrictionDaocomposedType - the composed typecatalogVersion - the catalog versionAbstractRestrictionModel objects or empty collection when not found.public Collection<AbstractRestrictionModel> findRestrictionByTypeNotLinkedToPage(AbstractPageModel page, ComposedTypeModel composedType, CatalogVersionModel catalogVersion)
findRestrictionByTypeNotLinkedToPage in interface CMSRestrictionDaopage - the pagecomposedType - the composed typecatalogVersion - the catalog versionpublic Collection<CategoryModel> findCategoryByRestriction(CMSCategoryRestrictionModel restriction)
findCategoryByRestriction in interface CMSRestrictionDaorestriction - the restrictionAbstractRestrictionModel objects or empty collection when not found.public Collection<ProductModel> findProductByRestriction(CMSProductRestrictionModel restriction)
findProductByRestriction in interface CMSRestrictionDaorestriction - the restrictionAbstractRestrictionModel objects or empty collection when not found.public List<AbstractRestrictionModel> findRestrictionsForPage(ComposedTypeModel composedType, AbstractPageModel page, CatalogVersionModel catalogVersion)
findRestrictionsForPage in interface CMSRestrictionDaocomposedType - the composed typepage - the pagecatalogVersion - the catalog versionAbstractRestrictionModel objects or empty list when not found.public List<AbstractRestrictionModel> findRestrictionsById(String id, CatalogVersionModel catalogVersion)
findRestrictionsById in interface CMSRestrictionDaoid - the idcatalogVersion - the catalog versionAbstractRestrictionModel objects or empty list when not found.public List<AbstractRestrictionModel> findRestrictionsByName(String name, CatalogVersionModel catalogVersion)
findRestrictionsByName in interface CMSRestrictionDaoname - the namecatalogVersion - the catalog versionAbstractRestrictionModel objects or empty list when not found.public List<AbstractRestrictionModel> findRestrictionsByType(ComposedTypeModel composedType, CatalogVersionModel catalogVersion)
findRestrictionsByType in interface CMSRestrictionDaocomposedType - the composed typecatalogVersion - the catalog versionAbstractRestrictionModel objects or empty list when not found.public List<AbstractRestrictionModel> findRestrictions(CatalogVersionModel catalogVersion)
CMSRestrictionDaofindRestrictions in interface CMSRestrictionDaocatalogVersion - the catalog versionAbstractRestrictionModel objects or empty list when not found.public List<AbstractRestrictionModel> findRestrictionsByTypeNotLinkedToPage(AbstractPageModel page, ComposedTypeModel composedType, CatalogVersionModel catalogVersion)
findRestrictionsByTypeNotLinkedToPage in interface CMSRestrictionDaopage - the pagecomposedType - the composed typecatalogVersion - the catalog versionAbstractRestrictionModel objects or empty list when not found.public List<CategoryModel> findCategoriesByRestriction(CMSCategoryRestrictionModel restriction)
findCategoriesByRestriction in interface CMSRestrictionDaorestriction - the restrictionAbstractRestrictionModel objects or empty list when not found.public List<ProductModel> findProductsByRestriction(CMSProductRestrictionModel restriction)
findProductsByRestriction in interface CMSRestrictionDaorestriction - the restrictionAbstractRestrictionModel objects or empty list when not found.Copyright © 2017 SAP SE. All Rights Reserved.