public final class CmsSubscriptionReadMode extends A_CmsModeIntEnumeration
Modifier and Type | Field and Description |
---|---|
static CmsSubscriptionReadMode |
ALL
Subscription read mode: all.
|
static java.lang.String |
MODE_NAME_ALL
String representation of the read mode: all.
|
static java.lang.String |
MODE_NAME_UNVISITED
String representation of the read mode: unvisited.
|
static java.lang.String |
MODE_NAME_VISITED
String representation of the read mode: visited.
|
static CmsSubscriptionReadMode |
UNVISITED
Subscription read mode: unvisited.
|
static CmsSubscriptionReadMode |
VISITED
Subscription read mode: visited.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
clone() |
boolean |
isAll()
Returns if the mode is set to
ALL . |
boolean |
isUnVisited()
Returns if the mode is set to
UNVISITED . |
boolean |
isVisited()
Returns if the mode is set to
VISITED . |
static CmsSubscriptionReadMode |
modeForName(java.lang.String modeName)
Returns the subscription read mode for the given mode name.
|
java.lang.String |
toString() |
static CmsSubscriptionReadMode |
valueOf(int type)
Returns the subscription read mode for the given mode value.
|
equals, getMode, hashCode
public static final java.lang.String MODE_NAME_ALL
public static final java.lang.String MODE_NAME_UNVISITED
public static final java.lang.String MODE_NAME_VISITED
public static final CmsSubscriptionReadMode ALL
public static final CmsSubscriptionReadMode UNVISITED
public static final CmsSubscriptionReadMode VISITED
public static CmsSubscriptionReadMode modeForName(java.lang.String modeName)
modeName
- the subscription read mode name to get the read mode forpublic static CmsSubscriptionReadMode valueOf(int type)
This is used only for serialization and should not be accessed for other purposes.
type
- the subscription read mode value to get the read mode forpublic boolean isAll()
ALL
.ALL
, otherwise falsepublic boolean isUnVisited()
UNVISITED
.UNVISITED
, otherwise falsepublic boolean isVisited()
VISITED
.VISITED
, otherwise falsepublic java.lang.String toString()
toString
in class A_CmsModeIntEnumeration
A_CmsModeIntEnumeration.toString()
protected java.lang.Object clone()
clone
in class java.lang.Object
Object.clone()