|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.exchange.DisplayType
This class stores the values for a 'display type'. The
internationalizable string values are stored in the
exchange_resources.properties
file (accessed through
ExchangeProperties
) and referenced by their key.
Field Summary | |
static DisplayType |
AGENT
This value represents the 'agent' display type. |
static DisplayType |
DIST_LIST
This value represents the 'distribution list' display type. |
static DisplayType |
FORUM
This value represents the 'forum' display type. |
static DisplayType |
ORGANIZATION
This value represents the 'organization' display type. |
static DisplayType |
PRIVATE_DIST_LIST
This value represents the 'private dist list' display type. |
static DisplayType |
REMOTE_USER
This value represents the 'remote user' display type. |
static int |
STORE_VALUE_AGENT
This value represents the 'agent' store value. |
static int |
STORE_VALUE_DIST_LIST
This value represents the 'distribution list' store value. |
static int |
STORE_VALUE_FORUM
This value represents the 'forum' store value. |
static int |
STORE_VALUE_ORGANIZATION
This value represents the 'organization' store value. |
static int |
STORE_VALUE_PRIVATE_DIST_LIST
This value represents the 'private dist list' store value. |
static int |
STORE_VALUE_PRIVATE_REMOTE_USER
This value represents the 'remote user' store value. |
static int |
STORE_VALUE_USER
This value represents the 'user' store value. |
static DisplayType |
USER
This value represents the 'user' display type. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
static DisplayType |
get(int iStoreValue)
Gets the display type by its store value. |
static java.util.List |
getList()
Gets the list of display type levels. |
java.lang.String |
getName()
Gets the name of the display type using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name of the display type using the specified locale. |
int |
getStoreValue()
Gets the value that's used to store the display type in the storage system. |
java.lang.String |
toString()
Returns a string representation of the object. |
java.lang.String |
toString(java.util.Locale locale)
Returns a string representation of the object. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int STORE_VALUE_USER
public static final int STORE_VALUE_DIST_LIST
public static final int STORE_VALUE_FORUM
public static final int STORE_VALUE_AGENT
public static final int STORE_VALUE_ORGANIZATION
public static final int STORE_VALUE_PRIVATE_DIST_LIST
public static final int STORE_VALUE_PRIVATE_REMOTE_USER
public static final DisplayType USER
public static final DisplayType DIST_LIST
public static final DisplayType FORUM
public static final DisplayType AGENT
public static final DisplayType ORGANIZATION
public static final DisplayType PRIVATE_DIST_LIST
public static final DisplayType REMOTE_USER
Method Detail |
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale
- the locale
public int getStoreValue()
public static DisplayType get(int iStoreValue)
iStoreValue
- the store value to get by
null
if not foundpublic static java.util.List getList()
DisplayType
es (unmodifiable)public boolean equals(java.lang.Object o)
o
- the object to check
true
if this object has the same store value as the
argument, false
otherwisepublic java.lang.String toString()
public java.lang.String toString(java.util.Locale locale)
locale
- the locale
|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |