|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.compoze.exchange.webdav.Priority
This class indicates the priority level. The internationalizable
string values are stored in the exchange_resources.properties
file (accessed through ExchangeProperties
) and referenced by
their key.
Field Summary | |
static Priority |
NON_URGENT
This value represents a 'non-urgent' priority level. |
static Priority |
NORMAL
This value represents a 'normal' priority level. |
static int |
STORE_VALUE_NON_URGENT
This value represents the 'non-urgent' store value. |
static int |
STORE_VALUE_NORMAL
This value represents the 'normal' store value. |
static int |
STORE_VALUE_URGENT
This value represents the 'urgent' store value. |
static java.lang.String |
STRING_STORE_VALUE_NON_URGENT
This value represents the 'non-urgent' store value. |
static java.lang.String |
STRING_STORE_VALUE_NORMAL
This value represents the 'normal' store value. |
static java.lang.String |
STRING_STORE_VALUE_URGENT
This value represents the 'urgent' store value. |
static Priority |
URGENT
This value represents a 'urgent' priority level. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks whether some other Priority
object is "equal to" this one. |
static Priority |
get(int iStoreValue)
Gets the priority by the store value. |
static Priority |
get(java.lang.String sStoreValue)
Gets the priority by the store value. |
static Priority |
getByKey(java.lang.String sName)
Deprecated. This method has been deprecated and will be removed by version 3.1. |
static Priority |
getByStoreValue(java.lang.String sStoreValue)
Deprecated. This method has been deprecated and will be removed by version 3.1. Replaced with get(String) |
static java.util.List |
getList()
Gets the list of priority levels. |
java.lang.String |
getName()
Gets the name of the priority level using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name of the priority level using the specified locale. |
int |
getStoreValue()
Gets the store value used to store the priority level in the storage system. |
java.lang.Object |
getStoreValueObject()
Gets the store value as an object. |
java.lang.String |
getStoreValueString()
Gets the store value as a string. |
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_NON_URGENT
public static final int STORE_VALUE_NORMAL
public static final int STORE_VALUE_URGENT
public static final java.lang.String STRING_STORE_VALUE_NON_URGENT
NOTE: This method is for internal use only within the WebDAV API.
public static final java.lang.String STRING_STORE_VALUE_NORMAL
NOTE: This method is for internal use only within the WebDAV API.
public static final java.lang.String STRING_STORE_VALUE_URGENT
NOTE: This method is for internal use only within the WebDAV API.
public static final Priority NON_URGENT
public static final Priority NORMAL
public static final Priority URGENT
Method Detail |
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale
- the localepublic int getStoreValue()
public java.lang.Object getStoreValueObject()
public java.lang.String getStoreValueString()
This method returns the string value of the Priority
object that
is stored in the Exchange store in the WebDAV property urn:schemas:mailheader:priority
.
NOTE: This method is for internal use only within the WebDAV API.
public static Priority get(int iStoreValue)
iStoreValue
- the store value to get bynull
if not foundpublic static Priority get(java.lang.String sStoreValue)
NOTE: This method is for internal use only within the WebDAV API.
sStoreValue
- the store value to get bynull
if not foundpublic static Priority getByStoreValue(java.lang.String sStoreValue)
get(String)
sStoreValue
- the store valuenull
public static Priority getByKey(java.lang.String sName)
sName
- the name in the system default localenull
if not foundpublic static java.util.List getList()
Priority
levels (unmodifiable)public boolean equals(java.lang.Object o)
Priority
object is "equal to" this one.equals
in class java.lang.Object
o
- the object to check for equalitytrue
if this object is the same as the object argument; false
otherwisepublic java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toString(java.util.Locale locale)
locale
- the locale
|
Compoze Software, Inc. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |