public enum NullAccessType extends java.lang.Enum<NullAccessType> implements ValueEnum
ownerIdField
(only applicable if ownerIdField
is specified)Enum Constant and Description |
---|
EDIT
Users are allowed read, update and delete access to records with a null
ownerIdField . |
NONE
The default value, means that users have no access to records with a null
ownerIdField . |
VIEW
Users are allowed read-only access to records with a null
ownerIdField . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static NullAccessType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NullAccessType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NullAccessType NONE
ownerIdField
. In this case, users
can only see their own records (ie, those where the ownerIdField
matches the currently authenticaed user's
id)
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "none".
public static final NullAccessType VIEW
ownerIdField
. In this case, users can see records
with a null owner as well as their own records.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "view".
public static final NullAccessType EDIT
ownerIdField
. In this case, users
can see and fully manage records with a null owner, as well as their own records.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "edit".
public static NullAccessType[] values()
for (NullAccessType c : NullAccessType.values()) System.out.println(c);
public static NullAccessType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null