org.exoplatform.wiki.webui
Enum WikiMode
java.lang.Object
java.lang.Enum<WikiMode>
org.exoplatform.wiki.webui.WikiMode
- All Implemented Interfaces:
- Serializable, Comparable<WikiMode>
public enum WikiMode
- extends Enum<WikiMode>
|
Method Summary |
static WikiMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static WikiMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
PORTLETPREFERENCES
public static final WikiMode PORTLETPREFERENCES
VIEW
public static final WikiMode VIEW
EDITPAGE
public static final WikiMode EDITPAGE
ADDPAGE
public static final WikiMode ADDPAGE
ADVANCEDSEARCH
public static final WikiMode ADVANCEDSEARCH
SHOWHISTORY
public static final WikiMode SHOWHISTORY
COMPAREREVISION
public static final WikiMode COMPAREREVISION
PAGE_NOT_FOUND
public static final WikiMode PAGE_NOT_FOUND
HELP
public static final WikiMode HELP
VIEWREVISION
public static final WikiMode VIEWREVISION
PAGEINFO
public static final WikiMode PAGEINFO
EDITTEMPLATE
public static final WikiMode EDITTEMPLATE
ADDTEMPLATE
public static final WikiMode ADDTEMPLATE
SPACESETTING
public static final WikiMode SPACESETTING
MYDRAFTS
public static final WikiMode MYDRAFTS
values
public static WikiMode[] 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 (WikiMode c : WikiMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static WikiMode 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 name
NullPointerException - if the argument is null
Copyright © 2003-2013 eXo Platform SAS. All Rights Reserved.