public class CompositePermission extends Object implements Permission
| Modifier and Type | Field and Description |
|---|---|
protected Collection<Permission> |
permissions |
| Constructor and Description |
|---|
CompositePermission(Collection<Permission> permissions) |
CompositePermission(Permission... permissions) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAllowed(String action)
Returns true if action execution is allowed
|
protected Collection<Permission> permissions
public CompositePermission(Permission... permissions)
public CompositePermission(Collection<Permission> permissions)
public boolean isAllowed(String action)
PermissionisAllowed in interface Permissionaction - the action to executeCopyright © 2018 CrafterCMS. All rights reserved.