Package de.xima.fc.prompt.ms.impl.mgmt
Enum PromptPermissionAction
- java.lang.Object
-
- java.lang.Enum<PromptPermissionAction>
-
- de.xima.fc.prompt.ms.impl.mgmt.PromptPermissionAction
-
- All Implemented Interfaces:
Serializable,Comparable<PromptPermissionAction>
public enum PromptPermissionAction extends Enum<PromptPermissionAction>
Enum representing various permission actions that can be performed on prompt objects.This enum is used to define the types of actions that can be checked for user permissions.
- Since:
- 8.5.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PromptPermissionActionvalueOf(String name)Returns the enum constant of this type with the specified name.static PromptPermissionAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
READ
public static final PromptPermissionAction READ
Permission to read or view the object.
-
CREATE
public static final PromptPermissionAction CREATE
Permission to create a new object.
-
UPDATE
public static final PromptPermissionAction UPDATE
Permission to update an existing object.
-
DELETE
public static final PromptPermissionAction DELETE
Permission to delete an existing object.
-
-
Method Detail
-
values
public static PromptPermissionAction[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PromptPermissionAction c : PromptPermissionAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PromptPermissionAction valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-