public enum Permissions extends Enum<Permissions>
| Enum Constant and Description |
|---|
READ_ONLY
The read only.
|
USER_CAN_NOT_WRITE_RELATIVE
The user can not write relative.
|
USER_CAN_RENAME
The user can rename.
|
USER_CAN_WRITE
The user can write.
|
| Modifier and Type | Method and Description |
|---|---|
static Permissions |
fromShortName(String shortName)
From short name.
|
String |
getShortName()
Gets the short name.
|
String |
toString()
To string.
|
static Permissions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Permissions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Permissions USER_CAN_WRITE
public static final Permissions USER_CAN_RENAME
public static final Permissions READ_ONLY
public static final Permissions USER_CAN_NOT_WRITE_RELATIVE
public static Permissions[] values()
for (Permissions c : Permissions.values()) System.out.println(c);
public static Permissions 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<Permissions>public String getShortName()
public static Permissions fromShortName(String shortName)
shortName - the short nameCopyright © 2003–2020 eXo Platform SAS. All rights reserved.