org.opencms.db
Class CmsProjectResourcesDisplayMode

java.lang.Object
  extended byorg.opencms.db.CmsProjectResourcesDisplayMode
All Implemented Interfaces:
java.io.Serializable

public final class CmsProjectResourcesDisplayMode
extends java.lang.Object
implements java.io.Serializable

Wrapper class for the different types of project files view.

The possibles values are:

Since:
6.0.0
Version:
$Revision: 1.10 $
Author:
Michael Moossen
See Also:
Serialized Form

Field Summary
static CmsProjectResourcesDisplayMode ALL_CHANGES
          Constant for the all changes view.
static CmsProjectResourcesDisplayMode DELETED_FILES
          Constant for the deleted files only view.
static CmsProjectResourcesDisplayMode MODIFIED_FILES
          Constant for the modified files only view.
static CmsProjectResourcesDisplayMode NEW_FILES
          Constant for the new files only view.
static java.util.List VALUES
          List of mode constants.
 
Method Summary
 java.lang.String getMode()
          Returns the mode string.
 java.lang.String toString()
           
static CmsProjectResourcesDisplayMode valueOf(java.lang.String value)
          Parses an string into an element of this enumeration.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ALL_CHANGES

public static final CmsProjectResourcesDisplayMode ALL_CHANGES
Constant for the all changes view.


DELETED_FILES

public static final CmsProjectResourcesDisplayMode DELETED_FILES
Constant for the deleted files only view.


MODIFIED_FILES

public static final CmsProjectResourcesDisplayMode MODIFIED_FILES
Constant for the modified files only view.


NEW_FILES

public static final CmsProjectResourcesDisplayMode NEW_FILES
Constant for the new files only view.


VALUES

public static final java.util.List VALUES
List of mode constants.

Method Detail

valueOf

public static CmsProjectResourcesDisplayMode valueOf(java.lang.String value)
                                              throws CmsIllegalArgumentException
Parses an string into an element of this enumeration.

Parameters:
value - the mode to parse
Returns:
the enumeration element
Throws:
CmsIllegalArgumentException - if the given value could not be matched against a CmsListColumnAlignEnum type.

getMode

public java.lang.String getMode()
Returns the mode string.

Returns:
the mode string

toString

public java.lang.String toString()
See Also:
Object.toString()