org.opencms.search
Class CmsSearchManager.CmsSearchForceUnlockMode

java.lang.Object
  extended by org.opencms.util.A_CmsModeStringEnumeration
      extended by org.opencms.search.CmsSearchManager.CmsSearchForceUnlockMode
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
CmsSearchManager

public static final class CmsSearchManager.CmsSearchForceUnlockMode
extends A_CmsModeStringEnumeration

Enumeration class for force unlock types.

See Also:
Serialized Form

Field Summary
static CmsSearchManager.CmsSearchForceUnlockMode ALWAYS
          Force unlock type "always".
static CmsSearchManager.CmsSearchForceUnlockMode NEVER
          Force unlock type "never".
static CmsSearchManager.CmsSearchForceUnlockMode ONLYFULL
          Force unlock type "only full".
 
Constructor Summary
protected CmsSearchManager.CmsSearchForceUnlockMode(java.lang.String mode)
          Creates a new force unlock type with the given name.
 
Method Summary
static CmsSearchManager.CmsSearchForceUnlockMode valueOf(java.lang.String type)
          Returns the lock type for the given type value.
 
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

ALWAYS

public static final CmsSearchManager.CmsSearchForceUnlockMode ALWAYS
Force unlock type "always".


NEVER

public static final CmsSearchManager.CmsSearchForceUnlockMode NEVER
Force unlock type "never".


ONLYFULL

public static final CmsSearchManager.CmsSearchForceUnlockMode ONLYFULL
Force unlock type "only full".

Constructor Detail

CmsSearchManager.CmsSearchForceUnlockMode

protected CmsSearchManager.CmsSearchForceUnlockMode(java.lang.String mode)
Creates a new force unlock type with the given name.

Parameters:
mode - the mode id to use
Method Detail

valueOf

public static CmsSearchManager.CmsSearchForceUnlockMode valueOf(java.lang.String type)
Returns the lock type for the given type value.

Parameters:
type - the type value to get the lock type for
Returns:
the lock type for the given type value