Enum WorkflowRBACAction
- java.lang.Object
-
- java.lang.Enum<WorkflowRBACAction>
-
- fr.paris.lutece.plugins.workflow.service.WorkflowRBACAction
-
- All Implemented Interfaces:
fr.paris.lutece.portal.service.rbac.RBACAction,java.io.Serializable,java.lang.Comparable<WorkflowRBACAction>
public enum WorkflowRBACAction extends java.lang.Enum<WorkflowRBACAction> implements fr.paris.lutece.portal.service.rbac.RBACAction
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkflowRBACAction.Scope
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATE_WORKFLOWDELETE_ACTIONSDELETE_STATESDELETE_WORKFLOWEDIT_ACTIONSEDIT_STATESEDIT_WORKFLOWIMPORT_WORKFLOWVIEW_CONFIGVIEW_LIST
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetI18nKey()java.lang.StringgetPermission()WorkflowRBACAction.ScopegetScope()static WorkflowRBACActionvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static WorkflowRBACAction[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VIEW_LIST
public static final WorkflowRBACAction VIEW_LIST
-
IMPORT_WORKFLOW
public static final WorkflowRBACAction IMPORT_WORKFLOW
-
CREATE_WORKFLOW
public static final WorkflowRBACAction CREATE_WORKFLOW
-
VIEW_CONFIG
public static final WorkflowRBACAction VIEW_CONFIG
-
EDIT_WORKFLOW
public static final WorkflowRBACAction EDIT_WORKFLOW
-
EDIT_STATES
public static final WorkflowRBACAction EDIT_STATES
-
EDIT_ACTIONS
public static final WorkflowRBACAction EDIT_ACTIONS
-
DELETE_WORKFLOW
public static final WorkflowRBACAction DELETE_WORKFLOW
-
DELETE_STATES
public static final WorkflowRBACAction DELETE_STATES
-
DELETE_ACTIONS
public static final WorkflowRBACAction DELETE_ACTIONS
-
-
Method Detail
-
values
public static WorkflowRBACAction[] 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 (WorkflowRBACAction c : WorkflowRBACAction.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WorkflowRBACAction valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getPermission
public java.lang.String getPermission()
- Specified by:
getPermissionin interfacefr.paris.lutece.portal.service.rbac.RBACAction
-
getI18nKey
public java.lang.String getI18nKey()
-
getScope
public WorkflowRBACAction.Scope getScope()
-
-