microsoft.exchange.webservices.data
Enum WellKnownFolderName

java.lang.Object
  extended by java.lang.Enum<WellKnownFolderName>
      extended by microsoft.exchange.webservices.data.WellKnownFolderName
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<WellKnownFolderName>

public enum WellKnownFolderName
extends java.lang.Enum<WellKnownFolderName>

Defines well known folder names.


Enum Constant Summary
ArchiveDeletedItems
          The Deleted Items folder in the archive mailbox.
ArchiveMsgFolderRoot
          The message folder root in the archive mailbox.
ArchiveRecoverableItemsDeletions
          The Dumpster 2.0 soft deletions folder in the archive mailbox.
ArchiveRecoverableItemsPurges
          The Dumpster 2.0 hard deletions folder in the archive mailbox.
ArchiveRecoverableItemsRoot
          The Dumpster 2.0 root folder in the archive mailbox.
ArchiveRecoverableItemsVersions
          The Dumpster 2.0 versions folder in the archive mailbox.
ArchiveRoot
          The root of the archive mailbox.
Calendar
          The Calendar.
Contacts
          The Contacts.
DeletedItems
          The Deleted items.
Drafts
          The Drafts.
Inbox
          The Inbox.
Journal
          The Journal.
JunkEmail
          The Junk email.
MsgFolderRoot
          The Msg folder root.
Notes
          The Notes.
Outbox
          The Outbox.
PublicFoldersRoot
          The Public folders root.
RecoverableItemsDeletions
          The Dumpster 2.0 soft deletions folder.
RecoverableItemsPurges
          The Dumpster 2.0 hard deletions folder.
RecoverableItemsRoot
          The Dumpster 2.0 root folder.
RecoverableItemsVersions
          The Dumpster 2.0 versions folder.
Root
          The Root.
SearchFolders
          The Search folders.
SentItems
          The Sent items.
Tasks
          The Tasks.
VoiceMail
          The Voice mail.
 
Method Summary
static WellKnownFolderName valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static WellKnownFolderName[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

Calendar

public static final WellKnownFolderName Calendar
The Calendar.


Contacts

public static final WellKnownFolderName Contacts
The Contacts.


DeletedItems

public static final WellKnownFolderName DeletedItems
The Deleted items.


Drafts

public static final WellKnownFolderName Drafts
The Drafts.


Inbox

public static final WellKnownFolderName Inbox
The Inbox.


Journal

public static final WellKnownFolderName Journal
The Journal.


Notes

public static final WellKnownFolderName Notes
The Notes.


Outbox

public static final WellKnownFolderName Outbox
The Outbox.


SentItems

public static final WellKnownFolderName SentItems
The Sent items.


Tasks

public static final WellKnownFolderName Tasks
The Tasks.


MsgFolderRoot

public static final WellKnownFolderName MsgFolderRoot
The Msg folder root.


PublicFoldersRoot

public static final WellKnownFolderName PublicFoldersRoot
The Public folders root.


Root

public static final WellKnownFolderName Root
The Root.


JunkEmail

public static final WellKnownFolderName JunkEmail
The Junk email.


SearchFolders

public static final WellKnownFolderName SearchFolders
The Search folders.


VoiceMail

public static final WellKnownFolderName VoiceMail
The Voice mail.


RecoverableItemsRoot

public static final WellKnownFolderName RecoverableItemsRoot
The Dumpster 2.0 root folder.


RecoverableItemsDeletions

public static final WellKnownFolderName RecoverableItemsDeletions
The Dumpster 2.0 soft deletions folder.


RecoverableItemsVersions

public static final WellKnownFolderName RecoverableItemsVersions
The Dumpster 2.0 versions folder.


RecoverableItemsPurges

public static final WellKnownFolderName RecoverableItemsPurges
The Dumpster 2.0 hard deletions folder.


ArchiveRoot

public static final WellKnownFolderName ArchiveRoot
The root of the archive mailbox.


ArchiveMsgFolderRoot

public static final WellKnownFolderName ArchiveMsgFolderRoot
The message folder root in the archive mailbox.


ArchiveDeletedItems

public static final WellKnownFolderName ArchiveDeletedItems
The Deleted Items folder in the archive mailbox.


ArchiveRecoverableItemsRoot

public static final WellKnownFolderName ArchiveRecoverableItemsRoot
The Dumpster 2.0 root folder in the archive mailbox.


ArchiveRecoverableItemsDeletions

public static final WellKnownFolderName ArchiveRecoverableItemsDeletions
The Dumpster 2.0 soft deletions folder in the archive mailbox.


ArchiveRecoverableItemsVersions

public static final WellKnownFolderName ArchiveRecoverableItemsVersions
The Dumpster 2.0 versions folder in the archive mailbox.


ArchiveRecoverableItemsPurges

public static final WellKnownFolderName ArchiveRecoverableItemsPurges
The Dumpster 2.0 hard deletions folder in the archive mailbox.

Method Detail

values

public static WellKnownFolderName[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (WellKnownFolderName c : WellKnownFolderName.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static WellKnownFolderName valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null