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 024package microsoft.exchange.webservices.data.core.enumeration.property; 025 026import microsoft.exchange.webservices.data.attribute.RequiredServerVersion; 027import microsoft.exchange.webservices.data.core.enumeration.misc.ExchangeVersion; 028 029/** 030 * Defines well known folder names. 031 */ 032public 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 ExternalContacts folder. 046 /** 047 * The External Contacts. 048 */ 049 ExternalContacts, 050 051 // The Deleted Items folder 052 /** 053 * The Deleted item. 054 */ 055 DeletedItems, 056 057 // The Drafts folder. 058 /** 059 * The Drafts. 060 */ 061 Drafts, 062 063 // The Inbox folder. 064 /** 065 * The Inbox. 066 */ 067 Inbox, 068 069 // The Journal folder. 070 /** 071 * The Journal. 072 */ 073 Journal, 074 075 // The Notes folder. 076 /** 077 * The Notes. 078 */ 079 Notes, 080 081 // The Outbox folder. 082 /** 083 * The Outbox. 084 */ 085 Outbox, 086 087 // The Sent Items folder. 088 /** 089 * The Sent item. 090 */ 091 SentItems, 092 093 // The Tasks folder. 094 /** 095 * The Tasks. 096 */ 097 Tasks, 098 099 // The message folder root. 100 /** 101 * The Msg folder root. 102 */ 103 MsgFolderRoot, 104 105 // The root of the Public Folders hierarchy. 106 /** 107 * The Public folder root. 108 */ 109 @RequiredServerVersion(version = ExchangeVersion.Exchange2007_SP1) 110 PublicFoldersRoot, 111 112 // The root of the mailbox. 113 /** 114 * The Root. 115 */ 116 Root, 117 118 // The Junk E-mail folder. 119 /** 120 * The Junk email. 121 */ 122 JunkEmail, 123 124 // The Search Folders folder, also known as the Finder folder. 125 /** 126 * The Search folder. 127 */ 128 SearchFolders, 129 130 // The Voicemail folder. 131 /** 132 * The Voice mail. 133 */ 134 VoiceMail, 135 136 /** 137 * The Dumpster 2.0 root folder. 138 */ 139 140 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1) 141 RecoverableItemsRoot, 142 143 /** 144 * The Dumpster 2.0 soft deletions folder. 145 */ 146 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1) 147 RecoverableItemsDeletions, 148 149 /** 150 * The Dumpster 2.0 versions folder. 151 */ 152 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1) 153 RecoverableItemsVersions, 154 155 /** 156 * The Dumpster 2.0 hard deletions folder. 157 */ 158 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1) 159 RecoverableItemsPurges, 160 161 /** 162 * The root of the archive mailbox. 163 */ 164 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1) 165 ArchiveRoot, 166 167 /** 168 * The message folder root in the archive mailbox. 169 */ 170 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1) 171 ArchiveMsgFolderRoot, 172 173 /** 174 * The Deleted Items folder in the archive mailbox. 175 */ 176 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1) 177 ArchiveDeletedItems, 178 179 /** 180 * The Dumpster 2.0 root folder in the archive mailbox. 181 */ 182 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1) 183 ArchiveRecoverableItemsRoot, 184 185 /** 186 * The Dumpster 2.0 soft deletions folder in the archive mailbox. 187 */ 188 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1) 189 ArchiveRecoverableItemsDeletions, 190 191 /** 192 * The Dumpster 2.0 versions folder in the archive mailbox. 193 */ 194 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1) 195 ArchiveRecoverableItemsVersions, 196 197 /** 198 * The Dumpster 2.0 hard deletions folder in the archive mailbox. 199 */ 200 @RequiredServerVersion(version = ExchangeVersion.Exchange2010_SP1) 201 ArchiveRecoverableItemsPurges, 202 203 204}