public enum SharePermission extends Enum<SharePermission>
Enum Constant and Description |
---|
READ
Read the shared object.
|
WRITE
Read and write the shared object.
|
Modifier and Type | Method and Description |
---|---|
static SharePermission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SharePermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SharePermission READ
public static final SharePermission WRITE
public static SharePermission[] values()
for (SharePermission c : SharePermission.values()) System.out.println(c);
public static SharePermission 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 nullCopyright © 2014–2015 Alfresco. All rights reserved.