public interface CMSRestrictionDao extends Dao
| 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.
|
java.util.List<AbstractRestrictionModel> findRestrictionsForPage(ComposedTypeModel composedType, AbstractPageModel page, CatalogVersionModel catalogVersion)
composedType - the composed typepage - the pagecatalogVersion - the catalog versionAbstractRestrictionModel objects or empty list when not found.java.util.List<AbstractRestrictionModel> findRestrictionsById(java.lang.String id, CatalogVersionModel catalogVersion)
id - the idcatalogVersion - the catalog versionAbstractRestrictionModel objects or empty list when not found.java.util.List<AbstractRestrictionModel> findRestrictionsByName(java.lang.String name, CatalogVersionModel catalogVersion)
name - the namecatalogVersion - the catalog versionAbstractRestrictionModel objects or empty list when not found.java.util.List<AbstractRestrictionModel> findRestrictionsByType(ComposedTypeModel composedType, CatalogVersionModel catalogVersion)
composedType - the composed typecatalogVersion - the catalog versionAbstractRestrictionModel objects or empty list when not found.java.util.List<AbstractRestrictionModel> findRestrictions(CatalogVersionModel catalogVersion)
catalogVersion - the catalog versionAbstractRestrictionModel objects or empty list when not found.java.util.List<AbstractRestrictionModel> findRestrictionsByTypeNotLinkedToPage(AbstractPageModel page, ComposedTypeModel composedType, CatalogVersionModel catalogVersion)
page - the pagecomposedType - the composed typecatalogVersion - the catalog versionAbstractRestrictionModel objects or empty list when not found.java.util.List<CategoryModel> findCategoriesByRestriction(CMSCategoryRestrictionModel restriction)
restriction - the restrictionAbstractRestrictionModel objects or empty list when not found.java.util.List<ProductModel> findProductsByRestriction(CMSProductRestrictionModel restriction)
restriction - the restrictionAbstractRestrictionModel objects or empty list when not found.Copyright © 2018 SAP SE. All Rights Reserved.