001 /*
002 * The MIT License
003 * Copyright (c) 2012 Microsoft Corporation
004 *
005 * Permission is hereby granted, free of charge, to any person obtaining a copy
006 * of this software and associated documentation files (the "Software"), to deal
007 * in the Software without restriction, including without limitation the rights
008 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
009 * copies of the Software, and to permit persons to whom the Software is
010 * furnished to do so, subject to the following conditions:
011 *
012 * The above copyright notice and this permission notice shall be included in
013 * all copies or substantial portions of the Software.
014 *
015 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
016 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
017 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
018 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
019 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
020 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
021 * THE SOFTWARE.
022 */
023
024 package microsoft.exchange.webservices.data.core.enumeration.property;
025
026 import microsoft.exchange.webservices.data.attribute.RequiredServerVersion;
027 import microsoft.exchange.webservices.data.core.enumeration.misc.ExchangeVersion;
028
029 /**
030 * Defines well known folder names.
031 */
032 public enum WellKnownFolderName {
033 // The Calendar folder.
034 /**
035 * The Calendar.
036 */
037 Calendar,
038
039 // The Contacts folder.
040 /**
041 * The Contacts.
042 */
043 Contacts,
044
045 // The Deleted Items folder
046 /**
047 * The Deleted item.
048 */
049 DeletedItems,
050
051 // The Drafts folder.
052 /**
053 * The Drafts.
054 */
055 Drafts,
056
057 // The Inbox folder.
058 /**
059 * The Inbox.
060 */
061 Inbox,
062
063 // The Journal folder.
064 /**
065 * The Journal.
066 */
067 Journal,
068
069 // The Notes folder.
070 /**
071 * The Notes.
072 */
073 Notes,
074
075 // The Outbox folder.
076 /**
077 * The Outbox.
078 */
079 Outbox,
080
081 // The Sent Items folder.
082 /**
083 * The Sent item.
084 */
085 SentItems,
086
087 // The Tasks folder.
088 /**
089 * The Tasks.
090 */
091 Tasks,
092
093 // The message folder root.
094 /**
095 * The Msg folder root.
096 */
097 MsgFolderRoot,
098
099 // The root of the Public Folders hierarchy.
100 /**
101 * The Public folder root.
102 */
103 @RequiredServerVersion(version = ExchangeVersion.Exchange2007_SP1)
104 PublicFoldersRoot,
105
106 // The root of the mailbox.
107 /**
108 * The Root.
109 */
110 Root,
111
112 // The Junk E-mail folder.
113 /**
114 * The Junk email.
115 */
116 JunkEmail,
117
118 // The Search Folders folder, also known as the Finder folder.
119 /**
120 * The Search folder.
121 */
122 SearchFolders,
123
124 // The Voicemail folder.
125 /**
126 * The Voice mail.
127 */
128 VoiceMail,
129
130 /**
131 * The Dumpster 2.0 root folder.
132 */
133
134 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1)
135 RecoverableItemsRoot,
136
137 /**
138 * The Dumpster 2.0 soft deletions folder.
139 */
140 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1)
141 RecoverableItemsDeletions,
142
143 /**
144 * The Dumpster 2.0 versions folder.
145 */
146 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1)
147 RecoverableItemsVersions,
148
149 /**
150 * The Dumpster 2.0 hard deletions folder.
151 */
152 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1)
153 RecoverableItemsPurges,
154
155 /**
156 * The root of the archive mailbox.
157 */
158 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1)
159 ArchiveRoot,
160
161 /**
162 * The message folder root in the archive mailbox.
163 */
164 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1)
165 ArchiveMsgFolderRoot,
166
167 /**
168 * The Deleted Items folder in the archive mailbox.
169 */
170 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1)
171 ArchiveDeletedItems,
172
173 /**
174 * The Dumpster 2.0 root folder in the archive mailbox.
175 */
176 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1)
177 ArchiveRecoverableItemsRoot,
178
179 /**
180 * The Dumpster 2.0 soft deletions folder in the archive mailbox.
181 */
182 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1)
183 ArchiveRecoverableItemsDeletions,
184
185 /**
186 * The Dumpster 2.0 versions folder in the archive mailbox.
187 */
188 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1)
189 ArchiveRecoverableItemsVersions,
190
191 /**
192 * The Dumpster 2.0 hard deletions folder in the archive mailbox.
193 */
194 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1)
195 ArchiveRecoverableItemsPurges,
196
197
198 }