public interface IMailIndexService
Modifier and Type | Interface and Description |
---|---|
static interface |
IMailIndexService.BulkOperation |
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> bodyIds) |
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) |
default void |
storeMessage(java.lang.String mailboxUniqueId,
ItemValue<MailboxRecord> mail,
java.lang.String user) |
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) |
void cleanupFolder(ItemValue<Mailbox> box, ItemValue<MailboxFolder> folder, java.util.Set<java.lang.Integer> keySet)
java.util.List<MailSummary> fetchSummary(ItemValue<Mailbox> box, ItemValue<MailboxFolder> f, IDSet set)
void syncFlags(ItemValue<Mailbox> box, ItemValue<MailboxFolder> folder, java.util.List<MailSummary> mails)
double getArchivedMailSum(java.lang.String mailboxUid)
void repairMailbox(java.lang.String mailboxUid, IServerTaskMonitor iServerTaskMonitor)
iServerTaskMonitor
- entityId
- boolean checkMailbox(java.lang.String mailboxUid)
void createMailbox(java.lang.String mailboxUid)
void deleteMailbox(java.lang.String mailboxUid)
void moveMailbox(java.lang.String mailboxUid, java.lang.String indexName)
java.util.Set<java.lang.String> getFolders(java.lang.String entityId)
java.util.List<ShardStats> getStats()
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)
default void storeMessage(java.lang.String mailboxUniqueId, ItemValue<MailboxRecord> mail, java.lang.String user)
void expunge(ItemValue<Mailbox> box, ItemValue<MailboxFolder> folder, IDSet set)
void deleteBodyEntries(java.util.List<java.lang.String> bodyIds)
SearchResult searchItems(java.lang.String dirEntryUid, MailboxFolderSearchQuery query)
Copyright © 2021. All Rights Reserved.