Package org.opencms.db
Class CmsUserSettings.CmsSearchResultStyle
- java.lang.Object
-
- org.opencms.util.A_CmsModeStringEnumeration
-
- org.opencms.db.CmsUserSettings.CmsSearchResultStyle
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- CmsUserSettings
public static final class CmsUserSettings.CmsSearchResultStyle extends A_CmsModeStringEnumeration
Enumeration class for workplace search result styles.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static CmsUserSettings.CmsSearchResultStyle
STYLE_EXPLORER
Workplace search result style explorer view.static CmsUserSettings.CmsSearchResultStyle
STYLE_LIST_WITH_EXCERPTS
Workplace search result style list view with excerpts.static CmsUserSettings.CmsSearchResultStyle
STYLE_LIST_WITHOUT_EXCERPTS
Workplace search result style list view without excerpts.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getKey()
Returns the localization key for this style.static CmsUserSettings.CmsSearchResultStyle
valueOf(java.lang.String mode)
Returns the copy mode object from the old copy mode integer.-
Methods inherited from class org.opencms.util.A_CmsModeStringEnumeration
equals, getMode, hashCode, toString
-
-
-
-
Field Detail
-
STYLE_EXPLORER
public static final CmsUserSettings.CmsSearchResultStyle STYLE_EXPLORER
Workplace search result style explorer view.
-
STYLE_LIST_WITH_EXCERPTS
public static final CmsUserSettings.CmsSearchResultStyle STYLE_LIST_WITH_EXCERPTS
Workplace search result style list view with excerpts.
-
STYLE_LIST_WITHOUT_EXCERPTS
public static final CmsUserSettings.CmsSearchResultStyle STYLE_LIST_WITHOUT_EXCERPTS
Workplace search result style list view without excerpts.
-
-
Method Detail
-
valueOf
public static CmsUserSettings.CmsSearchResultStyle valueOf(java.lang.String mode)
Returns the copy mode object from the old copy mode integer.- Parameters:
mode
- the old copy mode integer- Returns:
- the copy mode object
-
getKey
public java.lang.String getKey()
Returns the localization key for this style.- Returns:
- the localization key for this style
-
-