Package org.ametys.plugins.odfsync.utils
Enum ContentWorkflowDescription
- java.lang.Object
-
- java.lang.Enum<ContentWorkflowDescription>
-
- org.ametys.plugins.odfsync.utils.ContentWorkflowDescription
-
- All Implemented Interfaces:
Serializable
,Comparable<ContentWorkflowDescription>
public enum ContentWorkflowDescription extends Enum<ContentWorkflowDescription>
Object to describe content workflow elements.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINER_WF_DESCRIPTION
Container workflow descriptionCOURSE_WF_DESCRIPTION
Course workflow descriptionCOURSELIST_WF_DESCRIPTION
Course list workflow descriptionCOURSEPART_WF_DESCRIPTION
Course part workflow descriptionORGUNIT_WF_DESCRIPTION
Orgunit workflow descriptionPERSON_WF_DESCRIPTION
Person workflow descriptionPROGRAM_WF_DESCRIPTION
Program workflow descriptionSUBPROGRAM_WF_DESCRIPTION
Subprogram workflow description
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
Get the content type.int
getInitialActionId()
Get the initial action ID.int
getValidationActionId()
Get the validation action ID.String
getWorkflowName()
Get the workflow name.static ContentWorkflowDescription
valueOf(String name)
Returns the enum constant of this type with the specified name.static ContentWorkflowDescription[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROGRAM_WF_DESCRIPTION
public static final ContentWorkflowDescription PROGRAM_WF_DESCRIPTION
Program workflow description
-
SUBPROGRAM_WF_DESCRIPTION
public static final ContentWorkflowDescription SUBPROGRAM_WF_DESCRIPTION
Subprogram workflow description
-
CONTAINER_WF_DESCRIPTION
public static final ContentWorkflowDescription CONTAINER_WF_DESCRIPTION
Container workflow description
-
COURSELIST_WF_DESCRIPTION
public static final ContentWorkflowDescription COURSELIST_WF_DESCRIPTION
Course list workflow description
-
COURSE_WF_DESCRIPTION
public static final ContentWorkflowDescription COURSE_WF_DESCRIPTION
Course workflow description
-
COURSEPART_WF_DESCRIPTION
public static final ContentWorkflowDescription COURSEPART_WF_DESCRIPTION
Course part workflow description
-
ORGUNIT_WF_DESCRIPTION
public static final ContentWorkflowDescription ORGUNIT_WF_DESCRIPTION
Orgunit workflow description
-
PERSON_WF_DESCRIPTION
public static final ContentWorkflowDescription PERSON_WF_DESCRIPTION
Person workflow description
-
-
Method Detail
-
values
public static ContentWorkflowDescription[] 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 (ContentWorkflowDescription c : ContentWorkflowDescription.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ContentWorkflowDescription 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
-
getContentType
public String getContentType()
Get the content type.- Returns:
- the content type ID
-
getWorkflowName
public String getWorkflowName()
Get the workflow name.- Returns:
- the workflow name
-
getInitialActionId
public int getInitialActionId()
Get the initial action ID.- Returns:
- the initial action ID
-
getValidationActionId
public int getValidationActionId()
Get the validation action ID.- Returns:
- the validation action ID
-
-