public interface CMSRestrictionService
boolean evaluate(AbstractRestrictionModel restriction, RestrictionData restrictionDataInfo) throws RestrictionEvaluationException
RestrictionData context object.restriction - the restrictionrestrictionDataInfo - the restriction data infoRestrictionEvaluationException - the restriction evaluation exception@Deprecated boolean evaluate(CMSCatalogRestrictionModel restriction, RestrictionData data) throws RestrictionEvaluationException
evaluate(AbstractRestrictionModel, RestrictionData)
instead.RestrictionData context object.restriction - the restrictiondata - the dataRestrictionEvaluationException - the restriction evaluation exception@Deprecated boolean evaluate(CMSCategoryRestrictionModel restriction, RestrictionData data) throws RestrictionEvaluationException
evaluate(AbstractRestrictionModel, RestrictionData)
instead.RestrictionData context object.restriction - the restrictiondata - the dataRestrictionEvaluationException - the restriction evaluation exception@Deprecated boolean evaluate(CMSProductRestrictionModel restriction, RestrictionData data) throws RestrictionEvaluationException
evaluate(AbstractRestrictionModel, RestrictionData)
instead.RestrictionData context object.restriction - the restrictiondata - the dataRestrictionEvaluationException - the restriction evaluation exception@Deprecated boolean evaluate(CMSTimeRestrictionModel restriction) throws RestrictionEvaluationException
evaluate(AbstractRestrictionModel, RestrictionData)
instead.RestrictionData context object.restriction - the restrictionRestrictionEvaluationException - the restriction evaluation exception@Deprecated boolean evaluate(CMSUserGroupRestrictionModel restriction) throws RestrictionEvaluationException
evaluate(AbstractRestrictionModel, RestrictionData)
instead.RestrictionData context object.restriction - the restrictionRestrictionEvaluationException - the restriction evaluation exception@Deprecated boolean evaluate(CMSUserRestrictionModel restriction) throws RestrictionEvaluationException
evaluate(AbstractRestrictionModel, RestrictionData)
instead.RestrictionData context object.restriction - the restrictionRestrictionEvaluationException - the restriction evaluation exceptionboolean evaluateCMSComponent(AbstractCMSComponentModel component, RestrictionData data)
RestrictionData context object.component - the componentdata - the dataList<AbstractCMSComponentModel> evaluateCMSComponents(List<AbstractCMSComponentModel> components, RestrictionData data)
RestrictionData context object.components - the componentsdata - the dataCollection<AbstractPageModel> evaluatePages(Collection<AbstractPageModel> pages, RestrictionData data)
RestrictionData context object.pages - the pagesdata - the dataCollection<String> getCategoryCodesForRestriction(CMSCategoryRestrictionModel restriction)
restriction - the restrictionCollection<String> getProductCodesForRestriction(CMSProductRestrictionModel restriction)
restriction - the restrictionCopyright © 2017 SAP SE. All Rights Reserved.