|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.util.A_CmsModeIntEnumeration
org.opencms.db.CmsSubscriptionReadMode
public final class CmsSubscriptionReadMode
The read modes to get subscribed resources of a user or group.
Field Summary | |
---|---|
static CmsSubscriptionReadMode |
ALL
Subscription read mode: all. |
static String |
MODE_NAME_ALL
String representation of the read mode: all. |
static String |
MODE_NAME_UNVISITED
String representation of the read mode: unvisited. |
static 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. |
Method Summary | |
---|---|
protected 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(String modeName)
Returns the subscription read mode for the given mode name. |
String |
toString()
|
static CmsSubscriptionReadMode |
valueOf(int type)
Returns the subscription read mode for the given mode value. |
Methods inherited from class org.opencms.util.A_CmsModeIntEnumeration |
---|
equals, getMode, hashCode |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String MODE_NAME_ALL
public static final String MODE_NAME_UNVISITED
public static final String MODE_NAME_VISITED
public static final CmsSubscriptionReadMode ALL
public static final CmsSubscriptionReadMode UNVISITED
public static final CmsSubscriptionReadMode VISITED
Method Detail |
---|
public static CmsSubscriptionReadMode modeForName(String modeName)
modeName
- the subscription read mode name to get the read mode for
public 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 for
public boolean isAll()
ALL
.
ALL
, otherwise falsepublic boolean isUnVisited()
UNVISITED
.
UNVISITED
, otherwise falsepublic boolean isVisited()
VISITED
.
VISITED
, otherwise falsepublic String toString()
toString
in class A_CmsModeIntEnumeration
A_CmsModeIntEnumeration.toString()
protected Object clone()
clone
in class Object
Object.clone()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |