pulse - the web application framework Get pulse at SourceForge.net. Fast, secure and Free Open Source software downloads Ohloh project report for pulse-java

org.torweg.pulse.site
Enum ViewTypes.Types

java.lang.Object
  extended by java.lang.Enum<ViewTypes.Types>
      extended by org.torweg.pulse.site.ViewTypes.Types
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ViewTypes.Types>
Enclosing class:
ViewTypes

public static enum ViewTypes.Types
extends java.lang.Enum<ViewTypes.Types>

an enumeration of the different types.


Enum Constant Summary
CREATE
          the view to create a new content.
DEFAULT
          the default view for displaying the content.
DELETE
          the view to delete a content.
EDIT
          the view to open a content for editing.
MOVE
          the view to move a content.
NODECREATECONTENT
          the view to create a new content for a node that is not a content-node.
SAVE
          the view to save a content.
 
Method Summary
static ViewTypes.Types valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ViewTypes.Types[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEFAULT

public static final ViewTypes.Types DEFAULT
the default view for displaying the content.


CREATE

public static final ViewTypes.Types CREATE
the view to create a new content.


NODECREATECONTENT

public static final ViewTypes.Types NODECREATECONTENT
the view to create a new content for a node that is not a content-node.


SAVE

public static final ViewTypes.Types SAVE
the view to save a content.


EDIT

public static final ViewTypes.Types EDIT
the view to open a content for editing.


MOVE

public static final ViewTypes.Types MOVE
the view to move a content.


DELETE

public static final ViewTypes.Types DELETE
the view to delete a content.

Method Detail

values

public static final ViewTypes.Types[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(ViewTypes.Types c : ViewTypes.Types.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static ViewTypes.Types valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name