org.opencms.db
Class CmsUserSettings.CmsSearchResultStyle

java.lang.Object
  extended by org.opencms.util.A_CmsModeStringEnumeration
      extended by 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
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
 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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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