public class CMSUserGroupRestrictionEvaluator extends Object implements CMSRestrictionEvaluator<CMSUserGroupRestrictionModel>
| Constructor and Description |
|---|
CMSUserGroupRestrictionEvaluator() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(CMSUserGroupRestrictionModel cmsUserGroupRestriction,
RestrictionData context)
Main method that evaluates given restriction.
|
ModelService |
getModelService()
Deprecated.
No more used in this class.
|
protected List<PrincipalGroupModel> |
getSubgroups(Collection<PrincipalGroupModel> groups) |
void |
setModelService(ModelService modelService)
Deprecated.
No more used in this class.
|
void |
setUserService(UserService userService) |
public boolean evaluate(CMSUserGroupRestrictionModel cmsUserGroupRestriction, RestrictionData context)
CMSRestrictionEvaluatorevaluate in interface CMSRestrictionEvaluator<CMSUserGroupRestrictionModel>cmsUserGroupRestriction - given restrictioncontext - all context information required to evaluate restrictiontrue when restriction is matched otherwise false@Deprecated public ModelService getModelService()
protected List<PrincipalGroupModel> getSubgroups(Collection<PrincipalGroupModel> groups)
@Deprecated public void setModelService(ModelService modelService)
modelService - the modelService to setpublic void setUserService(UserService userService)
Copyright © 2017 SAP SE. All Rights Reserved.