Class OperationKey
- java.lang.Object
-
- com.atlassian.confluence.api.model.BaseApiEnum
-
- com.atlassian.confluence.api.model.permissions.OperationKey
-
@ExperimentalApi public final class OperationKey extends BaseApiEnum implements Operation
An OperationKey is used to identify operations that can be performed on Targets.OperationKeys have an underlying name, which must be unique in the system. For consistency, custom operation keys should be lower + underscore cased. These names are referenced directly in operation REST APIs.
- Since:
- 5.7
-
-
Field Summary
Fields Modifier and Type Field Description static OperationKey
ADMINISTER
static List<OperationKey>
BUILT_IN
static OperationKey
COPY
static OperationKey
CREATE
static OperationKey
DELETE
static OperationKey
EXPORT
static OperationKey
MOVE
static OperationKey
PURGE
static OperationKey
PURGE_VERSION
static OperationKey
READ
static List<OperationKey>
READ_ONLY_WHITELIST
static OperationKey
RESTORE
static OperationKey
UPDATE
static OperationKey
USE
-
Fields inherited from class com.atlassian.confluence.api.model.BaseApiEnum
value
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description @NonNull OperationKey
getOperationKey()
static OperationKey
valueOf(String name)
-
-
-
Field Detail
-
USE
public static final OperationKey USE
-
CREATE
public static final OperationKey CREATE
-
READ
public static final OperationKey READ
-
UPDATE
public static final OperationKey UPDATE
-
DELETE
public static final OperationKey DELETE
-
COPY
public static final OperationKey COPY
-
MOVE
public static final OperationKey MOVE
-
EXPORT
public static final OperationKey EXPORT
-
PURGE
public static final OperationKey PURGE
-
PURGE_VERSION
public static final OperationKey PURGE_VERSION
-
ADMINISTER
public static final OperationKey ADMINISTER
-
RESTORE
public static final OperationKey RESTORE
-
BUILT_IN
public static final List<OperationKey> BUILT_IN
-
READ_ONLY_WHITELIST
public static final List<OperationKey> READ_ONLY_WHITELIST
-
-
Method Detail
-
valueOf
public static OperationKey valueOf(String name)
-
getOperationKey
public @NonNull OperationKey getOperationKey()
- Specified by:
getOperationKey
in interfaceOperation
-
-