public final class CmsSubscriptionReadMode extends A_CmsModeIntEnumeration
| 限定符和类型 | 字段和说明 |
|---|---|
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.
|
| 限定符和类型 | 方法和说明 |
|---|---|
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, hashCodepublic 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()
protected java.lang.Object clone()
clone 在类中 java.lang.ObjectObject.clone()