public enum DSpaceRestPermission extends Enum<DSpaceRestPermission>
| Modifier and Type | Method and Description |
|---|---|
static DSpaceRestPermission |
convert(Object object)
Convert a given object to a
DSpaceRestPermission if possible. |
int |
getDspaceApiActionId() |
static DSpaceRestPermission |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DSpaceRestPermission[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DSpaceRestPermission READ
public static final DSpaceRestPermission WRITE
public static final DSpaceRestPermission DELETE
public static DSpaceRestPermission[] values()
for (DSpaceRestPermission c : DSpaceRestPermission.values()) System.out.println(c);
public static DSpaceRestPermission 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 int getDspaceApiActionId()
public static DSpaceRestPermission convert(Object object)
DSpaceRestPermission if possible.object - The object to convertCopyright © 2019 DuraSpace. All rights reserved.