Enum CmsCategoryTree.SortParams
- java.lang.Object
-
- java.lang.Enum<CmsCategoryTree.SortParams>
-
- org.opencms.gwt.client.ui.input.category.CmsCategoryTree.SortParams
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
,java.io.Serializable
,java.lang.Comparable<CmsCategoryTree.SortParams>
- Enclosing class:
- CmsCategoryTree
public static enum CmsCategoryTree.SortParams extends java.lang.Enum<CmsCategoryTree.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.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
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsCategoryTree.SortParams
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsCategoryTree.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 CmsCategoryTree.SortParams dateLastModified_asc
Date last modified ascending.
-
dateLastModified_desc
public static final CmsCategoryTree.SortParams dateLastModified_desc
Date last modified descending.
-
path_asc
public static final CmsCategoryTree.SortParams path_asc
Resource path ascending sorting.
-
path_desc
public static final CmsCategoryTree.SortParams path_desc
Resource path descending sorting.
-
title_asc
public static final CmsCategoryTree.SortParams title_asc
Title ascending sorting.
-
title_desc
public static final CmsCategoryTree.SortParams title_desc
Title descending sorting.
-
tree
public static final CmsCategoryTree.SortParams tree
Tree.
-
type_asc
public static final CmsCategoryTree.SortParams type_asc
Resource type ascending sorting.
-
type_desc
public static final CmsCategoryTree.SortParams type_desc
Resource type descending sorting.
-
-
Method Detail
-
values
public static CmsCategoryTree.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 (CmsCategoryTree.SortParams c : CmsCategoryTree.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 CmsCategoryTree.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
-
-