public class DefaultCMSRestrictionDao extends AbstractItemDao implements CMSRestrictionDao
CMSRestrictionDao interface.flexibleSearchService, modelService| Constructor and Description |
|---|
DefaultCMSRestrictionDao() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<CategoryModel> |
findCategoriesByRestriction(CMSCategoryRestrictionModel restriction)
Find categories by restriction.
|
java.util.List<ProductModel> |
findProductsByRestriction(CMSProductRestrictionModel restriction)
Find products by restriction.
|
java.util.List<AbstractRestrictionModel> |
findRestrictions(CatalogVersionModel catalogVersion)
Find all restrictions by catalog version.
|
java.util.List<AbstractRestrictionModel> |
findRestrictionsById(java.lang.String id,
CatalogVersionModel catalogVersion)
Find restrictions by id and catalog version.
|
java.util.List<AbstractRestrictionModel> |
findRestrictionsByName(java.lang.String name,
CatalogVersionModel catalogVersion)
Find restrictions by name and catalog version.
|
java.util.List<AbstractRestrictionModel> |
findRestrictionsByType(ComposedTypeModel composedType,
CatalogVersionModel catalogVersion)
Find restrictions by composed type and catalog version.
|
java.util.List<AbstractRestrictionModel> |
findRestrictionsByTypeNotLinkedToPage(AbstractPageModel page,
ComposedTypeModel composedType,
CatalogVersionModel catalogVersion)
Find restrictions by type not linked to page.
|
java.util.List<AbstractRestrictionModel> |
findRestrictionsForPage(ComposedTypeModel composedType,
AbstractPageModel page,
CatalogVersionModel catalogVersion)
Find restrictions for page by composed type, page and catalog version.
|
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelServicepublic java.util.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 java.util.List<AbstractRestrictionModel> findRestrictionsById(java.lang.String id, CatalogVersionModel catalogVersion)
findRestrictionsById in interface CMSRestrictionDaoid - the idcatalogVersion - the catalog versionAbstractRestrictionModel objects or empty list when not found.public java.util.List<AbstractRestrictionModel> findRestrictionsByName(java.lang.String name, CatalogVersionModel catalogVersion)
findRestrictionsByName in interface CMSRestrictionDaoname - the namecatalogVersion - the catalog versionAbstractRestrictionModel objects or empty list when not found.public java.util.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 java.util.List<AbstractRestrictionModel> findRestrictions(CatalogVersionModel catalogVersion)
CMSRestrictionDaofindRestrictions in interface CMSRestrictionDaocatalogVersion - the catalog versionAbstractRestrictionModel objects or empty list when not found.public java.util.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 java.util.List<CategoryModel> findCategoriesByRestriction(CMSCategoryRestrictionModel restriction)
findCategoriesByRestriction in interface CMSRestrictionDaorestriction - the restrictionAbstractRestrictionModel objects or empty list when not found.public java.util.List<ProductModel> findProductsByRestriction(CMSProductRestrictionModel restriction)
findProductsByRestriction in interface CMSRestrictionDaorestriction - the restrictionAbstractRestrictionModel objects or empty list when not found.Copyright © 2018 SAP SE. All Rights Reserved.