public static enum AccessDetails.Permission extends java.lang.Enum<AccessDetails.Permission>
Enum Constant and Description |
---|
BACKEND_ACCESS
the accessing user was an back-end
|
NO_ACCESS
there is no access available (access denied)
|
PRIVATE_ACCESS
private access to the content (probably the content's owner is accessing the content)
|
PUBLIC_ACCESS
there is a public access to the content (the content is freely available)
|
Modifier and Type | Method and Description |
---|---|
static AccessDetails.Permission |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AccessDetails.Permission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AccessDetails.Permission NO_ACCESS
public static final AccessDetails.Permission PRIVATE_ACCESS
public static final AccessDetails.Permission PUBLIC_ACCESS
public static final AccessDetails.Permission BACKEND_ACCESS
public static AccessDetails.Permission[] values()
for (AccessDetails.Permission c : AccessDetails.Permission.values()) System.out.println(c);
public static AccessDetails.Permission 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 nullCopyright © 2015 Tampere University of Technology, Pori Department.