Class OwnEntitiesToAnonymousStrategy
java.lang.Object
ch.tocco.nice2.netui.actions.impl.acl.OwnEntitiesToAnonymousStrategy
- All Implemented Interfaces:
SelectCriticalAclStrategy
@Component
public class OwnEntitiesToAnonymousStrategy
extends Object
implements SelectCriticalAclStrategy
A strategy to find ACL rules that grant permission to all depending on some relation to the logged in principal.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.netui.actions.impl.acl.SelectCriticalAclStrategy
getId
-
Field Details
-
DISPLAY_VALUE
- See Also:
-
-
Constructor Details
-
OwnEntitiesToAnonymousStrategy
public OwnEntitiesToAnonymousStrategy()
-
-
Method Details
-
getPredicate
public Predicate<AclBrowserActionService.DisplayableRule> getPredicate(List<AclBrowserActionService.DisplayableRule> allRules) - Specified by:
getPredicate
in interfaceSelectCriticalAclStrategy
-
getDisplayValue
- Specified by:
getDisplayValue
in interfaceSelectCriticalAclStrategy
-