public interface CMSRestrictionService
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(AbstractRestrictionModel restriction,
RestrictionData restrictionDataInfo)
Evaluates given restriction for
RestrictionData context object. |
boolean |
evaluateCMSComponent(AbstractCMSComponentModel component,
RestrictionData data)
Evaluate cms component for
RestrictionData context object. |
java.util.List<AbstractCMSComponentModel> |
evaluateCMSComponents(java.util.List<AbstractCMSComponentModel> components,
RestrictionData data)
Evaluate cms components for
RestrictionData context object. |
java.util.Collection<AbstractPageModel> |
evaluatePages(java.util.Collection<AbstractPageModel> pages,
RestrictionData data)
Evaluate pages for
RestrictionData context object. |
java.util.Collection<java.lang.String> |
getCategoryCodesForRestriction(CMSCategoryRestrictionModel restriction)
Gets the category codes for restriction.
|
java.util.Collection<java.lang.String> |
getProductCodesForRestriction(CMSProductRestrictionModel restriction)
Gets the product codes for restriction.
|
boolean evaluate(AbstractRestrictionModel restriction, RestrictionData restrictionDataInfo) throws RestrictionEvaluationException
RestrictionData context object.restriction - the restrictionrestrictionDataInfo - the restriction data infoRestrictionEvaluationException - the restriction evaluation exceptionboolean evaluateCMSComponent(AbstractCMSComponentModel component, RestrictionData data)
RestrictionData context object.component - the componentdata - the datajava.util.List<AbstractCMSComponentModel> evaluateCMSComponents(java.util.List<AbstractCMSComponentModel> components, RestrictionData data)
RestrictionData context object.components - the componentsdata - the datajava.util.Collection<AbstractPageModel> evaluatePages(java.util.Collection<AbstractPageModel> pages, RestrictionData data)
RestrictionData context object.pages - the pagesdata - the datajava.util.Collection<java.lang.String> getCategoryCodesForRestriction(CMSCategoryRestrictionModel restriction)
restriction - the restrictionjava.util.Collection<java.lang.String> getProductCodesForRestriction(CMSProductRestrictionModel restriction)
restriction - the restrictionCopyright © 2018 SAP SE. All Rights Reserved.