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
,Serializable
,Comparable<I_CmsGalleryProviderConstants.SortParams>
,java.lang.constant.Constable
- Enclosing interface:
- I_CmsGalleryProviderConstants
public static enum I_CmsGalleryProviderConstants.SortParams
extends Enum<I_CmsGalleryProviderConstants.SortParams>
implements com.google.gwt.user.client.rpc.IsSerializable
Sorting parameters.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDate last modified ascending.Date last modified descending.Group galleries.Group galleries, sort by title.Resource path ascending sorting.Resource path descending sorting.Score sorting.Title ascending sorting.Title descending sorting.Tree.Resource type ascending sorting.Resource type descending sorting. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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. -
score
Score sorting. -
grouped
Group galleries. -
grouped_title
Group galleries, sort by title.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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 nameNullPointerException
- if the argument is null
-