Package org.opencms.search.galleries
Enum CmsGallerySearchParameters.CmsGallerySortParam
java.lang.Object
java.lang.Enum<CmsGallerySearchParameters.CmsGallerySortParam>
org.opencms.search.galleries.CmsGallerySearchParameters.CmsGallerySortParam
- All Implemented Interfaces:
Serializable
,Comparable<CmsGallerySearchParameters.CmsGallerySortParam>
,java.lang.constant.Constable
- Enclosing class:
- CmsGallerySearchParameters
public static enum CmsGallerySearchParameters.CmsGallerySortParam
extends Enum<CmsGallerySearchParameters.CmsGallerySortParam>
Sort parameter constants.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionSort by date created ascending.Sort by date created descending.Sort date expired ascending.Sort date expired descending.Sort by date modified ascending.Sort by date modified descending.Sort date released ascending.Sort date released descending.Sort by length ascending.Sort by length descending.Sort by VFS root path ascending.Sort by VFS root path descending.Sort by score descending.Sort state ascending.Sort state descending.Sort by title ascending.Sort by title ascending.Sort by type ascending.Sort by type descending.Sort created by ascending.Sort created by descending.Sort modified by ascending.Sort modified by descending. -
Field Summary
Modifier and TypeFieldDescriptionstatic final CmsGallerySearchParameters.CmsGallerySortParam
The default sort parameter. -
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
-
dateCreated_asc
Sort by date created ascending. -
dateCreated_desc
Sort by date created descending. -
dateExpired_asc
Sort date expired ascending. -
dateExpired_desc
Sort date expired descending. -
dateLastModified_asc
Sort by date modified ascending. -
dateLastModified_desc
Sort by date modified descending. -
dateReleased_asc
Sort date released ascending. -
dateReleased_desc
Sort date released descending. -
length_asc
Sort by length ascending. -
length_desc
Sort by length descending. -
path_asc
Sort by VFS root path ascending. -
path_desc
Sort by VFS root path descending. -
score
Sort by score descending. -
state_asc
Sort state ascending. -
state_desc
Sort state descending. -
title_asc
Sort by title ascending. -
title_desc
Sort by title ascending. -
type_asc
Sort by type ascending. -
type_desc
Sort by type descending. -
userCreated_asc
Sort created by ascending. -
userCreated_desc
Sort created by descending. -
userLastModified_asc
Sort modified by ascending. -
userLastModified_desc
Sort modified by descending.
-
-
Field Details
-
DEFAULT
The default sort parameter.
-
-
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
-