org.opencms.ade.galleries.shared
Enum I_CmsGalleryProviderConstants.SortParams

java.lang.Object
  extended by java.lang.Enum<I_CmsGalleryProviderConstants.SortParams>
      extended by org.opencms.ade.galleries.shared.I_CmsGalleryProviderConstants.SortParams
All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable, java.io.Serializable, java.lang.Comparable<I_CmsGalleryProviderConstants.SortParams>
Enclosing interface:
I_CmsGalleryProviderConstants

public static enum I_CmsGalleryProviderConstants.SortParams
extends java.lang.Enum<I_CmsGalleryProviderConstants.SortParams>
implements com.google.gwt.user.client.rpc.IsSerializable

Sorting parameters.


Enum Constant Summary
dateLastModified_asc
          Date last modified ascending.
dateLastModified_desc
          Date last modified descending.
path_asc
          Resource path ascending sorting.
path_desc
          Resource path descending sorting.
title_asc
          Title ascending sorting.
title_desc
          Title descending sorting.
tree
          Tree.
type_asc
          Resource type ascending sorting.
type_desc
          Resource type descending sorting.
 
Method Summary
static I_CmsGalleryProviderConstants.SortParams valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static I_CmsGalleryProviderConstants.SortParams[] 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

dateLastModified_asc

public static final I_CmsGalleryProviderConstants.SortParams dateLastModified_asc
Date last modified ascending.


dateLastModified_desc

public static final I_CmsGalleryProviderConstants.SortParams dateLastModified_desc
Date last modified descending.


path_asc

public static final I_CmsGalleryProviderConstants.SortParams path_asc
Resource path ascending sorting.


path_desc

public static final I_CmsGalleryProviderConstants.SortParams path_desc
Resource path descending sorting.


title_asc

public static final I_CmsGalleryProviderConstants.SortParams title_asc
Title ascending sorting.


title_desc

public static final I_CmsGalleryProviderConstants.SortParams title_desc
Title descending sorting.


tree

public static final I_CmsGalleryProviderConstants.SortParams tree
Tree.


type_asc

public static final I_CmsGalleryProviderConstants.SortParams type_asc
Resource type ascending sorting.


type_desc

public static final I_CmsGalleryProviderConstants.SortParams type_desc
Resource type descending sorting.

Method Detail

values

public static I_CmsGalleryProviderConstants.SortParams[] 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 (I_CmsGalleryProviderConstants.SortParams c : I_CmsGalleryProviderConstants.SortParams.values())
    System.out.println(c);

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

valueOf

public static I_CmsGalleryProviderConstants.SortParams 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
java.lang.NullPointerException - if the argument is null