public class CMSUiExperienceRestrictionEvaluator extends java.lang.Object implements CMSRestrictionEvaluator<CMSUiExperienceRestrictionModel>
| Constructor and Description |
|---|
CMSUiExperienceRestrictionEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(CMSUiExperienceRestrictionModel restriction,
RestrictionData context)
Main method that evaluates given restriction.
|
protected UiExperienceService |
getUiExperienceService() |
void |
setUiExperienceService(UiExperienceService uiExperienceService) |
protected UiExperienceService getUiExperienceService()
public void setUiExperienceService(UiExperienceService uiExperienceService)
public boolean evaluate(CMSUiExperienceRestrictionModel restriction, RestrictionData context)
CMSRestrictionEvaluatorevaluate in interface CMSRestrictionEvaluator<CMSUiExperienceRestrictionModel>restriction - given restrictioncontext - all context information required to evaluate restrictiontrue when restriction is matched otherwise falseCopyright © 2018 SAP SE. All Rights Reserved.