public class ImapReplicatedMailboxesService extends BaseReplicatedMailboxesService implements IMailboxFolders, IMailboxFoldersByContainer
container, context, contStore, dataLocation, nameSanitizer, rbac, replicaStore, root, storeService| Constructor and Description | 
|---|
ImapReplicatedMailboxesService(MailboxReplicaRootDescriptor root,
                              Container cont,
                              BmContext context,
                              MailboxReplicaStore store,
                              ContainerStoreService<MailboxReplica> mboxReplicaStore,
                              ContainerStore contStore)  | 
| Modifier and Type | Method and Description | 
|---|---|
ItemIdentifier | 
createBasic(MailboxFolder value)  | 
ItemIdentifier | 
createForHierarchy(long hierId,
                  MailboxFolder v)  | 
void | 
deepDelete(long id)
Also delete all known child folders. 
 | 
void | 
deleteById(long id)  | 
void | 
emptyFolder(long id)
Empty an email folder including child folders. 
 | 
ItemValue<MailboxFolder> | 
getCompleteById(long id)  | 
ImportMailboxItemsStatus | 
importItems(long id,
           ImportMailboxItemSet mailboxItems)
Import MailboxItems from a source folder describe
  
ImportMailboxItemSet.mailboxFolderId
 
 Source and destination folders must be in the same subtree | 
void | 
markFolderAsRead(long id)
Mark folder as read (does not include sub-folders). 
 | 
java.util.List<ItemValue<MailboxFolder>> | 
multipleGetById(java.util.List<java.lang.Long> ids)  | 
void | 
removeMessages(long id)
Empty an email folder keeping child folders. 
 | 
Ack | 
updateById(long id,
          MailboxFolder v)  | 
adapt, all, byName, byReplicaName, changeset, changesetById, containerChangelog, decodeIfUTF7, filteredChangesetById, getComplete, getCompleteReplica, getVersion, itemChangelog, root, searchItemsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitall, byName, getComplete, root, searchItemsallIds, changeset, changesetById, containerChangelog, filteredChangesetById, getVersion, itemChangelogpublic ImapReplicatedMailboxesService(MailboxReplicaRootDescriptor root, Container cont, BmContext context, MailboxReplicaStore store, ContainerStoreService<MailboxReplica> mboxReplicaStore, ContainerStore contStore)
public ItemValue<MailboxFolder> getCompleteById(long id)
getCompleteById in interface IMailboxFoldersgetCompleteById in interface IReadByIdSupport<MailboxFolder>public java.util.List<ItemValue<MailboxFolder>> multipleGetById(java.util.List<java.lang.Long> ids)
multipleGetById in interface IReadByIdSupport<MailboxFolder>public Ack updateById(long id, MailboxFolder v)
updateById in interface IMailboxFolderspublic ItemIdentifier createForHierarchy(long hierId, MailboxFolder v)
createForHierarchy in interface IMailboxFoldershierId - the numerical id we want to end up with in
               IContainersFlatHierarchyv - the folder to createpublic ItemIdentifier createBasic(MailboxFolder value)
createBasic in interface IMailboxFoldersvalue - the folder to createpublic void deleteById(long id)
deleteById in interface IMailboxFolderspublic void deepDelete(long id)
IMailboxFoldersdeepDelete in interface IMailboxFoldersid - the folder identifierpublic void emptyFolder(long id)
IMailboxFoldersemptyFolder in interface IMailboxFoldersid - the folder identifierpublic void removeMessages(long id)
IMailboxFoldersremoveMessages in interface IMailboxFoldersid - the folder identifierpublic void markFolderAsRead(long id)
IMailboxFoldersmarkFolderAsRead in interface IMailboxFoldersid - the folder identifierpublic ImportMailboxItemsStatus importItems(long id, ImportMailboxItemSet mailboxItems) throws ServerFault
IMailboxFoldersImportMailboxItemSet.mailboxFolderId
 
 Source and destination folders must be in the same subtreeimportItems in interface IMailboxFoldersServerFaultCopyright © 2023. All Rights Reserved.