| Modifier and Type | Method and Description |
|---|---|
boolean |
CampaignRestrictionEvaluator.evaluate(CMSYmktCampaignRestrictionModel campaignRestriction,
RestrictionData context)
This evaluator checks if the restriction is applicable.
The restriction is true when the user belongs in a target group associated with the selected campaign The memberOfCampaign flag can be used to negate the restriction e.g. memberOfCampaign=true -> Restriction evaluates to true when user belongs to selected campaign memberOfCampaign=false -> Restriction evaluates to false when user belongs to selected campaign |
| Modifier and Type | Method and Description |
|---|---|
protected RestrictionData |
DefaultCmsCacheKeyProvider.getRestrictionData(HttpServletRequest request) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CMSActionRestrictionEvaluator.evaluate(CMSActionRestrictionModel restriction,
RestrictionData context) |
boolean |
CMSUiExperienceRestrictionEvaluator.evaluate(CMSUiExperienceRestrictionModel restriction,
RestrictionData context) |
| Modifier and Type | Method and Description |
|---|---|
CmsPageRequestContextData |
CMSPageContextService.updateCmsPageContextForPage(ServletRequest request,
AbstractPageModel page,
RestrictionData restrictionData)
Update the CmsPageContext with the selected CMS page and RestrictionData.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
RankingCMSRestrictionService.evaluatePageRestrictions(RestrictionData data,
java.util.NavigableMap<java.lang.Integer,java.util.List<AbstractPageModel>> allowedPages,
AbstractPageModel page,
java.util.List<AbstractRestrictionModel> restrictions) |
java.util.Collection<AbstractPageModel> |
RankingCMSRestrictionService.evaluatePages(java.util.Collection<AbstractPageModel> pages,
RestrictionData data) |
CmsPageRequestContextData |
DefaultCMSPageContextService.updateCmsPageContextForPage(ServletRequest request,
AbstractPageModel page,
RestrictionData restrictionData) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ASMCMSUserGroupRestrictionEvaluator.evaluate(ASMCMSUserGroupRestrictionModel asmCMSUserGroupRestrictionModel,
RestrictionData context) |
boolean |
AssistedServiceSessionRestrictionEvaluator.evaluate(AssistedServiceSessionRestrictionModel amsSessionRestriction,
RestrictionData context) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
BtgSegmentRestrictionEvaluator.evaluate(BtgSegmentRestrictionModel restriction,
RestrictionData context) |
| Modifier and Type | Method and Description |
|---|---|
RestrictionData |
CMSDataFactory.createRestrictionData() |
RestrictionData |
CMSDataFactory.createRestrictionData(CatalogModel catalog) |
RestrictionData |
CMSDataFactory.createRestrictionData(CategoryModel category) |
RestrictionData |
CMSDataFactory.createRestrictionData(CategoryModel category,
ProductModel product) |
RestrictionData |
CMSDataFactory.createRestrictionData(ProductModel product) |
RestrictionData |
CMSDataFactory.createRestrictionData(java.lang.String key,
java.lang.Object value) |
RestrictionData |
CMSDataFactory.createRestrictionData(java.lang.String categoryCode,
java.lang.String productCode,
java.lang.String catalogCode) |
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultRestrictionData |
| Modifier and Type | Method and Description |
|---|---|
RestrictionData |
DefaultCMSDataFactory.createRestrictionData() |
RestrictionData |
DefaultCMSDataFactory.createRestrictionData(CatalogModel catalog) |
RestrictionData |
DefaultCMSDataFactory.createRestrictionData(CategoryModel category) |
RestrictionData |
DefaultCMSDataFactory.createRestrictionData(CategoryModel category,
ProductModel product) |
RestrictionData |
DefaultCMSDataFactory.createRestrictionData(ProductModel product) |
RestrictionData |
DefaultCMSDataFactory.createRestrictionData(java.lang.String key,
java.lang.Object value) |
RestrictionData |
DefaultCMSDataFactory.createRestrictionData(java.lang.String categoryCode,
java.lang.String productCode,
java.lang.String catalogCode) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CMSRestrictionService.evaluate(AbstractRestrictionModel restriction,
RestrictionData restrictionDataInfo)
Evaluates given restriction for
RestrictionData context object. |
boolean |
CMSRestrictionService.evaluate(CMSCatalogRestrictionModel restriction,
RestrictionData data)
Deprecated.
since 4.4. Method will be removed soon. Call
CMSRestrictionService.evaluate(AbstractRestrictionModel, RestrictionData)
instead. |
boolean |
CMSRestrictionService.evaluate(CMSCategoryRestrictionModel restriction,
RestrictionData data)
Deprecated.
since 4.4. Method will be removed soon. Call
CMSRestrictionService.evaluate(AbstractRestrictionModel, RestrictionData)
instead. |
boolean |
CMSRestrictionService.evaluate(CMSProductRestrictionModel restriction,
RestrictionData data)
Deprecated.
since 4.4. Method will be removed soon. Call
CMSRestrictionService.evaluate(AbstractRestrictionModel, RestrictionData)
instead. |
boolean |
CMSRestrictionService.evaluateCMSComponent(AbstractCMSComponentModel component,
RestrictionData data)
Evaluate cms component for
RestrictionData context object. |
java.util.List<AbstractCMSComponentModel> |
CMSRestrictionService.evaluateCMSComponents(java.util.List<AbstractCMSComponentModel> components,
RestrictionData data)
Evaluate cms components for
RestrictionData context object. |
java.util.Collection<AbstractPageModel> |
CMSRestrictionService.evaluatePages(java.util.Collection<AbstractPageModel> pages,
RestrictionData data)
Evaluate pages for
RestrictionData context object. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CMSRestrictionEvaluator.evaluate(T restriction,
RestrictionData context)
Main method that evaluates given restriction.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
CMSBaseStoreTimeRestrictionEvaluator.evaluate(CMSBaseStoreTimeRestrictionModel cmsStoreTimeRestriction,
RestrictionData context) |
boolean |
CMSCampaignRestrictionEvaluator.evaluate(CMSCampaignRestrictionModel cmsCampaignRestriction,
RestrictionData context) |
boolean |
CMSCatalogRestrictionEvaluator.evaluate(CMSCatalogRestrictionModel catalogaRestrictionModel,
RestrictionData context) |
boolean |
CMSCategoryRestrictionEvaluator.evaluate(CMSCategoryRestrictionModel categoryRestrictionModel,
RestrictionData context) |
boolean |
CMSProductRestrictionEvaluator.evaluate(CMSProductRestrictionModel productRestrictionModel,
RestrictionData context) |
boolean |
CMSTimeRestrictionEvaluator.evaluate(CMSTimeRestrictionModel timeRestriction,
RestrictionData context) |
boolean |
CMSUserGroupRestrictionEvaluator.evaluate(CMSUserGroupRestrictionModel cmsUserGroupRestriction,
RestrictionData context) |
boolean |
CMSUserRestrictionEvaluator.evaluate(CMSUserRestrictionModel cmsUserRestriction,
RestrictionData context) |
| Modifier and Type | Method and Description |
|---|---|
protected RestrictionData |
DefaultCMSContentSlotService.populate(HttpServletRequest request)
Wrapped all information fetched from current HTTP request
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
DefaultCMSRestrictionService.evaluate(AbstractRestrictionModel restriction,
RestrictionData restrictionDataInfo)
Evaluates given restriction for
RestrictionData context object. |
boolean |
DefaultCMSRestrictionService.evaluate(CMSCatalogRestrictionModel restriction,
RestrictionData data)
Deprecated.
since 4.3. Method will be removed soon. Call
DefaultCMSRestrictionService.evaluate(AbstractRestrictionModel, RestrictionData) instead. |
boolean |
DefaultCMSRestrictionService.evaluate(CMSCategoryRestrictionModel restriction,
RestrictionData data)
Deprecated.
since 4.3. Method will be removed soon. Call
DefaultCMSRestrictionService.evaluate(AbstractRestrictionModel, RestrictionData) instead. |
boolean |
DefaultCMSRestrictionService.evaluate(CMSProductRestrictionModel restriction,
RestrictionData data)
Deprecated.
since 4.3. Method will be removed soon. Call
DefaultCMSRestrictionService.evaluate(AbstractRestrictionModel, RestrictionData) instead. |
protected boolean |
DefaultCMSRestrictionService.evaluate(java.util.List<AbstractRestrictionModel> restrictions,
RestrictionData data,
boolean oneRestrictionApply) |
protected boolean |
DefaultCMSRestrictionService.evaluateAnyRestriction(AbstractRestrictionModel restrictionModel,
RestrictionData context) |
boolean |
DefaultCMSRestrictionService.evaluateCMSComponent(AbstractCMSComponentModel component,
RestrictionData data)
Evaluate cms component for
RestrictionData context object. |
java.util.List<AbstractCMSComponentModel> |
DefaultCMSRestrictionService.evaluateCMSComponents(java.util.List<AbstractCMSComponentModel> components,
RestrictionData data)
Evaluate cms components for
RestrictionData context object. |
java.util.Collection<AbstractPageModel> |
DefaultCMSRestrictionService.evaluatePages(java.util.Collection<AbstractPageModel> pages,
RestrictionData data)
Evaluate pages for
RestrictionData context object. |
| Modifier and Type | Method and Description |
|---|---|
protected RestrictionData |
CMSComponentTag.populate(HttpServletRequest request,
CMSDataFactory cmsDataFactory)
Wrapped all information fetched from current HTTP request
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
CMSComponentTag.isAllowed(AbstractCMSComponentModel component,
RestrictionData restrictionData,
CMSRestrictionService cmsRestrictionService,
boolean previewEnabled)
Checks whether component should be displayed.
Note: Computation takes into account: Checks whether component is visible If component is restricted checks whether we should display it |
| Modifier and Type | Method and Description |
|---|---|
<T> T |
RestrictionAwareService.execute(RestrictionData data,
java.util.function.Supplier<T> supplier)
Makes restriction data available during the execution of the provided supplier.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
DefaultRestrictionAwareService.execute(RestrictionData restrictionData,
java.util.function.Supplier<T> supplier) |
| Modifier and Type | Method and Description |
|---|---|
RestrictionData |
RestrictionContextProvider.getRestrictionInContext()
Gets the restriction, if any, stored in the context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RestrictionContextProvider.setRestrictionInContext(RestrictionData restrictionData)
Sets the restriction in the context.
|
| Modifier and Type | Method and Description |
|---|---|
protected RestrictionData |
DefaultPageRenderingService.getRestrictionData(java.lang.String pageType,
java.lang.String code)
Returns
RestrictionData based on pageTypeCode and code. |
RestrictionData |
DefaultRestrictionContextProvider.getRestrictionInContext() |
| Modifier and Type | Method and Description |
|---|---|
protected java.util.Optional<AbstractCMSComponentData> |
DefaultComponentRenderingService.getComponentData(AbstractCMSComponentModel componentModel,
RestrictionData restrictionData)
|
protected SearchPageData<AbstractCMSComponentData> |
DefaultComponentRenderingService.getComponentsData(SearchPageData<AbstractCMSComponentModel> componentsSearchData,
RestrictionData restrictionData)
Returns the list of found
AbstractCMSComponentData in SearchPageData based on
RestrictionData object. |
protected AbstractPageData |
DefaultPageRenderingService.getPageData(AbstractPageModel pageModel,
RestrictionData restrictionData)
|
void |
DefaultRestrictionContextProvider.setRestrictionInContext(RestrictionData restrictionData) |
protected void |
DefaultRestrictionContextProviderTest.setValueInSession(RestrictionData data) |
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<RestrictionData> |
RenderingPageModelSupplier.getRestrictionData(java.lang.String qualifier)
Returns restriction data related to current page.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<RestrictionData> |
RenderingProductPageModelSupplier.getRestrictionData(java.lang.String productCode) |
java.util.Optional<RestrictionData> |
RenderingCategoryPageModelSupplier.getRestrictionData(java.lang.String categoryCode) |
java.util.Optional<RestrictionData> |
RenderingContentPageModelSupplier.getRestrictionData(java.lang.String qualifier) |
java.util.Optional<RestrictionData> |
RenderingCatalogPageModelSupplier.getRestrictionData(java.lang.String catalogCode) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
MarketplaceRestrictionData |
| Modifier and Type | Class and Description |
|---|---|
class |
MarketplaceRestrictionDataImpl |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CMSVendorRestrictionEvaluator.evaluate(CMSVendorRestrictionModel vendorRestrictionModel,
RestrictionData restrictionData) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CMSCartConfigurationRestrictionEvaluator.evaluate(CMSCartConfigurationRestrictionModel arg0,
RestrictionData arg1) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SOMCartConfigurationRestrictionEvaluator.evaluate(CMSCartConfigurationRestrictionModel arg0,
RestrictionData arg1) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
CMSSecurePortalRestrictionEvaluator.evaluate(CMSSecurePortalRestrictionModel cmsUserRestriction,
RestrictionData context) |
| Modifier and Type | Method and Description |
|---|---|
RestrictionData |
RequestContextRestrictionConverter.convert(RequestContextData source) |
protected RestrictionData |
RequestContextRestrictionConverter.createRestrictionData(CategoryModel category,
ProductModel product) |
| Modifier and Type | Method and Description |
|---|---|
RestrictionData |
RequestContextRestrictionConverter.convert(RequestContextData source) |
protected RestrictionData |
RequestContextRestrictionConverter.createRestrictionData(CategoryModel category,
ProductModel product) |
Copyright © 2018 SAP SE. All Rights Reserved.