Enum IPageAPI.PageActions
- java.lang.Object
-
- java.lang.Enum<IPageAPI.PageActions>
-
- com.terminalfour.publish.api.page.IPageAPI.PageActions
-
- All Implemented Interfaces:
Serializable
,Comparable<IPageAPI.PageActions>
- Enclosing interface:
- IPageAPI
public static enum IPageAPI.PageActions extends Enum<IPageAPI.PageActions>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CREATE_CONTENT
CREATE_SECTION
DELETE_CONTENT
DELETE_SECTION
DIRECT_EDIT_SECTION
EDIT_CONTENT
EDIT_SECTION
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IPageAPI.PageActions
valueOf​(String name)
Returns the enum constant of this type with the specified name.static IPageAPI.PageActions[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CREATE_SECTION
public static final IPageAPI.PageActions CREATE_SECTION
-
EDIT_SECTION
public static final IPageAPI.PageActions EDIT_SECTION
-
DIRECT_EDIT_SECTION
public static final IPageAPI.PageActions DIRECT_EDIT_SECTION
-
DELETE_SECTION
public static final IPageAPI.PageActions DELETE_SECTION
-
CREATE_CONTENT
public static final IPageAPI.PageActions CREATE_CONTENT
-
EDIT_CONTENT
public static final IPageAPI.PageActions EDIT_CONTENT
-
DELETE_CONTENT
public static final IPageAPI.PageActions DELETE_CONTENT
-
-
Method Detail
-
values
public static IPageAPI.PageActions[] 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 (IPageAPI.PageActions c : IPageAPI.PageActions.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IPageAPI.PageActions 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
-
-