|
Compoze Software, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compoze.exchange.DefaultFolderType
This class stores the values for a 'default folder type'. The
internationalizable string values are stored in the
exchange_resources.properties
file (accessed through
ExchangeProperties
) and referenced by their key.
Field Summary | |
static DefaultFolderType |
CALENDAR
This value represents the 'calendar' folder. |
static DefaultFolderType |
CONTACTS
This value represents the 'contacts' folder. |
static DefaultFolderType |
DELETED_ITEMS
This value represents the 'deleted items' folder. |
static DefaultFolderType |
DRAFTS
This value represents the 'drafts' folder. |
static DefaultFolderType |
INBOX
This value represents the 'inbox' folder. |
static DefaultFolderType |
JOURNAL
This value represents the 'journal' folder. |
static DefaultFolderType |
NOTES
This value represents the 'notes' folder. |
static DefaultFolderType |
OUTBOX
This value represents the 'outbox' folder. |
static DefaultFolderType |
ROOT
This value represents the 'root' folder. |
static DefaultFolderType |
SENT_ITEMS
This value represents the 'sent items' folder. |
static int |
STORE_VALUE_CALENDAR
This value represents the 'calendar' store value. |
static int |
STORE_VALUE_CONTACTS
This value represents the 'contacts' store value. |
static int |
STORE_VALUE_DELETED_ITEMS
This value represents the 'deleted items' store value. |
static int |
STORE_VALUE_DRAFTS
This value represents the 'drafts' store value. |
static int |
STORE_VALUE_INBOX
This value represents the 'inbox' store value. |
static int |
STORE_VALUE_JOURNAL
This value represents the 'journal' store value. |
static int |
STORE_VALUE_NOTES
This value represents the 'notes' store value. |
static int |
STORE_VALUE_OUTBOX
This value represents the 'outbox' store value. |
static int |
STORE_VALUE_ROOT
This value represents the 'root' store value. |
static int |
STORE_VALUE_SENT_ITEMS
This value represents the 'sent items' store value. |
static int |
STORE_VALUE_TASKS
This value represents the 'tasks' store value. |
static DefaultFolderType |
TASKS
This value represents the 'tasks' folder. |
Method Summary | |
boolean |
equals(java.lang.Object o)
Checks for equality. |
static DefaultFolderType |
get(int iStoreValue)
Gets the default folder type by its store value. |
static DefaultFolderType |
get(java.lang.String sName)
Gets the default folder type by the name in the system default locale. |
static java.util.List |
getList()
Gets the list of default folder types. |
java.lang.String |
getName()
Gets the name of the default folder type using the system default locale. |
java.lang.String |
getName(java.util.Locale locale)
Gets the name of the default folder type using the specified locale. |
int |
getStoreValue()
Gets the value that's used to store the default folder 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_ROOT
public static final int STORE_VALUE_CALENDAR
public static final int STORE_VALUE_INBOX
public static final int STORE_VALUE_OUTBOX
public static final int STORE_VALUE_SENT_ITEMS
public static final int STORE_VALUE_DELETED_ITEMS
public static final int STORE_VALUE_CONTACTS
public static final int STORE_VALUE_JOURNAL
public static final int STORE_VALUE_NOTES
public static final int STORE_VALUE_TASKS
public static final int STORE_VALUE_DRAFTS
public static final DefaultFolderType ROOT
public static final DefaultFolderType CALENDAR
public static final DefaultFolderType INBOX
public static final DefaultFolderType OUTBOX
public static final DefaultFolderType SENT_ITEMS
public static final DefaultFolderType DELETED_ITEMS
public static final DefaultFolderType CONTACTS
public static final DefaultFolderType JOURNAL
public static final DefaultFolderType NOTES
public static final DefaultFolderType TASKS
public static final DefaultFolderType DRAFTS
Method Detail |
public java.lang.String getName()
public java.lang.String getName(java.util.Locale locale)
locale
- the locale
public int getStoreValue()
public static DefaultFolderType get(int iStoreValue)
iStoreValue
- the store value to get by
null
if not foundpublic static DefaultFolderType get(java.lang.String sName)
sName
- the name in the system default locale
null
if not foundpublic static java.util.List getList()
DefaultFolderType
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 |