public enum ApplicationPermissionMode extends Enum<ApplicationPermissionMode>
chmod etc), determines that nature of access (of denial of access if vetoed)
to an ApplicationFeature.| Enum Constant and Description |
|---|
CHANGING
Whether can user/role can change (or is prevented from changing) the state of the system using the application feature (class member).
|
VIEWING
Whether the user/role can view (or is prevented from viewing) the application feature (class member).
|
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static ApplicationPermissionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationPermissionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationPermissionMode VIEWING
The rule of the
org.apache.isis.extensions.security.manager.jdo.dom.permission.ApplicationPermission indicates whether access is being
granted or denied.
public static final ApplicationPermissionMode CHANGING
In other words, whether they can execute (if an action, modify/clear (if a property), addTo/removeFrom (if a collection).
The rule of the
org.apache.isis.extensions.security.manager.jdo.dom.permission.ApplicationPermission indicates whether access is being
granted or denied.
Note that the Wicket viewer does not at the time of writing (Isis 1.6.0) support the notion of mutable collections. The RO viewer does, however.
public static ApplicationPermissionMode[] values()
for (ApplicationPermissionMode c : ApplicationPermissionMode.values()) System.out.println(c);
public static ApplicationPermissionMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String toString()
toString in class Enum<ApplicationPermissionMode>Copyright © 2010–2020 The Apache Software Foundation. All rights reserved.