org.exoplatform.wiki.webui
Enum WikiMode

java.lang.Object
  extended by java.lang.Enum<WikiMode>
      extended by org.exoplatform.wiki.webui.WikiMode
All Implemented Interfaces:
Serializable, Comparable<WikiMode>

public enum WikiMode
extends Enum<WikiMode>


Enum Constant Summary
ADDPAGE
           
ADDTEMPLATE
           
ADVANCEDSEARCH
           
COMPAREREVISION
           
EDITPAGE
           
EDITTEMPLATE
           
HELP
           
MYDRAFTS
           
PAGE_NOT_FOUND
           
PAGEINFO
           
PORTLETPREFERENCES
           
SHOWHISTORY
           
SPACESETTING
           
VIEW
           
VIEWREVISION
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.