|
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.BusyStatus
This class stores the values for a 'busy status'. The internationalizable
string values are stored in the exchange_resources.properties
file (accessed through ExchangeProperties
) and referenced by
their key.
Field Summary | |
static BusyStatus |
BUSY
This value represents a 'busy' busy status. |
static BusyStatus |
FREE
This value represents a 'free' busy status. |
static BusyStatus |
OUT_OF_OFFICE
This value represents an 'out of office' busy status. |
static int |
STORE_VALUE_BUSY
This value represents the 'busy' store value. |
static int |
STORE_VALUE_FREE
This value represents the 'free' store value. |
static int |
STORE_VALUE_OUT_OF_OFFICE
This value represents the 'out of office' store value. |
static int |
STORE_VALUE_TENTATIVE
This value represents the 'tentative' store value. |
static java.lang.String |
STRING_STORE_VALUE_BUSY
This value represents the 'busy' store value. |
static java.lang.String |
STRING_STORE_VALUE_FREE
This value represents the 'free' store value. |
static java.lang.String |
STRING_STORE_VALUE_OUT_OF_OFFICE
This value represents the 'out of office' store value. |
static java.lang.String |
STRING_STORE_VALUE_TENTATIVE
This value represents the 'tentative' store value. |
static BusyStatus |
TENTATIVE
This value represents a 'tentative' busy status. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
static BusyStatus |
get(int iStoreValue)
Gets the busy status by its store value. |
static BusyStatus |
get(java.lang.String sStoreValue)
Gets the importance by the store value. |
static java.util.List |
getList()
Gets the list of busy status levels. |
java.lang.String |
getName()
Gets the name of the busy status using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name of the busy status using the specified locale. |
int |
getStoreValue()
Gets the value that's used to store the busy status 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_FREE
public static final int STORE_VALUE_TENTATIVE
public static final int STORE_VALUE_BUSY
public static final int STORE_VALUE_OUT_OF_OFFICE
public static final java.lang.String STRING_STORE_VALUE_FREE
NOTE: This method is for internal use only within the WebDAV API.
public static final java.lang.String STRING_STORE_VALUE_TENTATIVE
NOTE: This method is for internal use only within the WebDAV API.
public static final java.lang.String STRING_STORE_VALUE_BUSY
NOTE: This method is for internal use only within the WebDAV API.
public static final java.lang.String STRING_STORE_VALUE_OUT_OF_OFFICE
NOTE: This method is for internal use only within the WebDAV API.
public static final BusyStatus FREE
public static final BusyStatus TENTATIVE
public static final BusyStatus BUSY
public static final BusyStatus OUT_OF_OFFICE
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 BusyStatus
object that
is stored in the Exchange store in the WebDAV property urn:schemas:calendar:busystatus
.
NOTE: This method is for internal use only within the WebDAV API.
public static BusyStatus get(int iStoreValue)
iStoreValue
- the store value to get bynull
if not foundpublic static BusyStatus 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 java.util.List getList()
BusyStatus
es (unmodifiable)public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
o
- the object to checktrue
if this object has the same store value as the
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 |