Package org.exoplatform.wiki.service
Enum PageUpdateType
- java.lang.Object
-
- java.lang.Enum<PageUpdateType>
-
- org.exoplatform.wiki.service.PageUpdateType
-
- All Implemented Interfaces:
Serializable,Comparable<PageUpdateType>
public enum PageUpdateType extends Enum<PageUpdateType>
Page update types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD_PAGEEDIT_PAGE_CONTENTEDIT_PAGE_CONTENT_AND_TITLEEDIT_PAGE_PERMISSIONSEDIT_PAGE_TITLEMOVE_PAGE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PageUpdateTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PageUpdateType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD_PAGE
public static final PageUpdateType ADD_PAGE
-
EDIT_PAGE_TITLE
public static final PageUpdateType EDIT_PAGE_TITLE
-
EDIT_PAGE_CONTENT
public static final PageUpdateType EDIT_PAGE_CONTENT
-
EDIT_PAGE_CONTENT_AND_TITLE
public static final PageUpdateType EDIT_PAGE_CONTENT_AND_TITLE
-
EDIT_PAGE_PERMISSIONS
public static final PageUpdateType EDIT_PAGE_PERMISSIONS
-
MOVE_PAGE
public static final PageUpdateType MOVE_PAGE
-
-
Method Detail
-
values
public static PageUpdateType[] 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 (PageUpdateType c : PageUpdateType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PageUpdateType 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
-
-