Package org.opencms.search
Class CmsSearchManager.CmsSearchForceUnlockMode
- java.lang.Object
-
- org.opencms.util.A_CmsModeStringEnumeration
-
- 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
Fields Modifier and Type Field Description 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
Constructors Modifier Constructor Description protected
CmsSearchForceUnlockMode(java.lang.String mode)
Creates a new force unlock type with the given name.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
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
-
CmsSearchForceUnlockMode
protected 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
-
-