public static enum CmsSimpleSearchConfigurationParser.SortOption extends java.lang.Enum<CmsSimpleSearchConfigurationParser.SortOption>
| Enum Constant and Description |
|---|
DATE_ASC
Sort by date ascending.
|
DATE_DESC
Sort by date descending.
|
ORDER_ASC
Sort by order ascending.
|
ORDER_DESC
Sort by order descending.
|
TITLE_ASC
Sort by title ascending.
|
TITLE_DESC
Sort by title descending.
|
| Modifier and Type | Method and Description |
|---|---|
I_CmsSearchConfigurationSortOption |
getOption(java.util.Locale l)
Generates the suitable
I_CmsSearchConfigurationSortOption for the option. |
protected java.lang.String |
getSortDateField(java.util.Locale l)
Returns the locale specific date field to use for sorting.
|
protected java.lang.String |
getSortOrderField(java.util.Locale l)
Returns the locale specific order field to use for sorting.
|
protected java.lang.String |
getSortTitleField(java.util.Locale l)
Returns the locale specific title field to use for sorting.
|
static CmsSimpleSearchConfigurationParser.SortOption |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CmsSimpleSearchConfigurationParser.SortOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CmsSimpleSearchConfigurationParser.SortOption DATE_ASC
public static final CmsSimpleSearchConfigurationParser.SortOption DATE_DESC
public static final CmsSimpleSearchConfigurationParser.SortOption TITLE_ASC
public static final CmsSimpleSearchConfigurationParser.SortOption TITLE_DESC
public static final CmsSimpleSearchConfigurationParser.SortOption ORDER_ASC
public static final CmsSimpleSearchConfigurationParser.SortOption ORDER_DESC
public static CmsSimpleSearchConfigurationParser.SortOption[] values()
for (CmsSimpleSearchConfigurationParser.SortOption c : CmsSimpleSearchConfigurationParser.SortOption.values()) System.out.println(c);
public static CmsSimpleSearchConfigurationParser.SortOption valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic I_CmsSearchConfigurationSortOption getOption(java.util.Locale l)
I_CmsSearchConfigurationSortOption for the option.l - the locale for which the option should be createdI_CmsSearchConfigurationSortOptionprotected java.lang.String getSortDateField(java.util.Locale l)
l - the locale to use, can be nullprotected java.lang.String getSortOrderField(java.util.Locale l)
l - the locale to use, can be nullprotected java.lang.String getSortTitleField(java.util.Locale l)
l - the locale to use, can be null