public interface CMSRestrictionService
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(AbstractRestrictionModel restriction,
RestrictionData restrictionDataInfo)
Evaluates given restriction for
RestrictionData context object. |
boolean |
evaluate(CMSCatalogRestrictionModel restriction,
RestrictionData data)
Deprecated.
since 4.4. Method will be removed soon. Call
evaluate(AbstractRestrictionModel, RestrictionData)
instead. |
boolean |
evaluate(CMSCategoryRestrictionModel restriction,
RestrictionData data)
Deprecated.
since 4.4. Method will be removed soon. Call
evaluate(AbstractRestrictionModel, RestrictionData)
instead. |
boolean |
evaluate(CMSProductRestrictionModel restriction,
RestrictionData data)
Deprecated.
since 4.4. Method will be removed soon. Call
evaluate(AbstractRestrictionModel, RestrictionData)
instead. |
boolean |
evaluate(CMSTimeRestrictionModel restriction)
Deprecated.
since 4.4. Method will be removed soon. Call
evaluate(AbstractRestrictionModel, RestrictionData)
instead. |
boolean |
evaluate(CMSUserGroupRestrictionModel restriction)
Deprecated.
since 4.4. Method will be removed soon. Call
evaluate(AbstractRestrictionModel, RestrictionData)
instead. |
boolean |
evaluate(CMSUserRestrictionModel restriction)
Deprecated.
since 4.4. Method will be removed soon. Call
evaluate(AbstractRestrictionModel, RestrictionData)
instead. |
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 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 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.