public class NoopMailIndexService extends java.lang.Object implements IMailIndexService
IMailIndexService.BulkOperation
Constructor and Description |
---|
NoopMailIndexService() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkMailbox(java.lang.String mailboxUid) |
void |
cleanupFolder(ItemValue<Mailbox> box,
ItemValue<MailboxFolder> folder,
java.util.Set<java.lang.Integer> keySet) |
void |
createMailbox(java.lang.String mailboxUid) |
void |
deleteBodyEntries(java.util.List<java.lang.String> deletedOrphanBodies) |
void |
deleteBox(ItemValue<Mailbox> box,
java.lang.String folderUid) |
void |
deleteMailbox(java.lang.String mailboxUid) |
void |
expunge(ItemValue<Mailbox> box,
ItemValue<MailboxFolder> folder,
IDSet set) |
java.util.List<MailSummary> |
fetchSummary(ItemValue<Mailbox> box,
ItemValue<MailboxFolder> f,
IDSet set) |
double |
getArchivedMailSum(java.lang.String mailboxUid) |
java.util.Set<java.lang.String> |
getFolders(java.lang.String entityId) |
java.util.List<ShardStats> |
getStats() |
void |
moveMailbox(java.lang.String mailboxUid,
java.lang.String indexName) |
void |
repairMailbox(java.lang.String mailboxUid,
IServerTaskMonitor iServerTaskMonitor)
check if alias exists, if not create it.
|
SearchResult |
searchItems(java.lang.String dirEntryUid,
MailboxFolderSearchQuery query) |
IMailIndexService.BulkOperation |
startBulk() |
java.util.Map<java.lang.String,java.lang.Object> |
storeBody(IndexedMessageBody body) |
void |
storeMessage(java.lang.String mailboxUniqueId,
ItemValue<MailboxRecord> mail,
java.lang.String user,
java.util.Optional<IMailIndexService.BulkOperation> bulk) |
void |
syncFlags(ItemValue<Mailbox> box,
ItemValue<MailboxFolder> folder,
java.util.List<MailSummary> mails) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
storeMessage
public void deleteBox(ItemValue<Mailbox> box, java.lang.String folderUid)
deleteBox
in interface IMailIndexService
public void cleanupFolder(ItemValue<Mailbox> box, ItemValue<MailboxFolder> folder, java.util.Set<java.lang.Integer> keySet)
cleanupFolder
in interface IMailIndexService
public java.util.List<MailSummary> fetchSummary(ItemValue<Mailbox> box, ItemValue<MailboxFolder> f, IDSet set)
fetchSummary
in interface IMailIndexService
public void syncFlags(ItemValue<Mailbox> box, ItemValue<MailboxFolder> folder, java.util.List<MailSummary> mails)
syncFlags
in interface IMailIndexService
public double getArchivedMailSum(java.lang.String mailboxUid)
getArchivedMailSum
in interface IMailIndexService
public void repairMailbox(java.lang.String mailboxUid, IServerTaskMonitor iServerTaskMonitor)
IMailIndexService
repairMailbox
in interface IMailIndexService
public boolean checkMailbox(java.lang.String mailboxUid)
checkMailbox
in interface IMailIndexService
public void createMailbox(java.lang.String mailboxUid)
createMailbox
in interface IMailIndexService
public void deleteMailbox(java.lang.String mailboxUid)
deleteMailbox
in interface IMailIndexService
public void moveMailbox(java.lang.String mailboxUid, java.lang.String indexName)
moveMailbox
in interface IMailIndexService
public java.util.Set<java.lang.String> getFolders(java.lang.String entityId)
getFolders
in interface IMailIndexService
public java.util.List<ShardStats> getStats()
getStats
in interface IMailIndexService
public IMailIndexService.BulkOperation startBulk()
startBulk
in interface IMailIndexService
public java.util.Map<java.lang.String,java.lang.Object> storeBody(IndexedMessageBody body)
storeBody
in interface IMailIndexService
public void storeMessage(java.lang.String mailboxUniqueId, ItemValue<MailboxRecord> mail, java.lang.String user, java.util.Optional<IMailIndexService.BulkOperation> bulk)
storeMessage
in interface IMailIndexService
public void expunge(ItemValue<Mailbox> box, ItemValue<MailboxFolder> folder, IDSet set)
expunge
in interface IMailIndexService
public void deleteBodyEntries(java.util.List<java.lang.String> deletedOrphanBodies)
deleteBodyEntries
in interface IMailIndexService
public SearchResult searchItems(java.lang.String dirEntryUid, MailboxFolderSearchQuery query)
searchItems
in interface IMailIndexService
Copyright © 2021. All Rights Reserved.