public class CMSActionRestrictionEvaluator extends java.lang.Object implements CMSRestrictionEvaluator<CMSActionRestrictionModel>
| Constructor and Description |
|---|
CMSActionRestrictionEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(CMSActionRestrictionModel restriction,
RestrictionData context)
Main method that evaluates given restriction.
|
protected TypeService |
getTypeService() |
void |
setTypeService(TypeService typeService) |
public boolean evaluate(CMSActionRestrictionModel restriction, RestrictionData context)
CMSRestrictionEvaluatorevaluate in interface CMSRestrictionEvaluator<CMSActionRestrictionModel>restriction - given restrictioncontext - all context information required to evaluate restrictiontrue when restriction is matched otherwise falseprotected TypeService getTypeService()
public void setTypeService(TypeService typeService)
Copyright © 2018 SAP SE. All Rights Reserved.