Package org.opencms.ade.galleries.shared
Enum I_CmsGalleryProviderConstants.SortParams
- java.lang.Object
-
- java.lang.Enum<I_CmsGalleryProviderConstants.SortParams>
-
- 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
Enum Constants Enum Constant Description dateLastModified_asc
Date last modified ascending.dateLastModified_desc
Date last modified descending.grouped
Group galleries.grouped_title
Group galleries, sort by title.path_asc
Resource path ascending sorting.path_desc
Resource path descending sorting.score
Score 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
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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.
-
score
public static final I_CmsGalleryProviderConstants.SortParams score
Score sorting.
-
grouped
public static final I_CmsGalleryProviderConstants.SortParams grouped
Group galleries.
-
grouped_title
public static final I_CmsGalleryProviderConstants.SortParams grouped_title
Group galleries, sort by title.
-
-
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 namejava.lang.NullPointerException
- if the argument is null
-
-