public interface IMailIndexService
Modifier and Type | Interface and Description |
---|---|
static interface |
IMailIndexService.AppendPimper |
static interface |
IMailIndexService.DeletePimper |
static class |
IMailIndexService.MailDoc |
Modifier and Type | Method and Description |
---|---|
void |
append(Folder destination,
int id,
org.apache.james.mime4j.dom.Message m,
java.util.Date deliveryDate,
int messageSize,
java.util.Set<java.lang.String> flags) |
void |
append(java.util.List<IMailIndexService.MailDoc> mails,
boolean refresh) |
IMailIndexService.MailDoc |
asMailDoc(Folder destination,
int uid,
Doc doc,
java.util.Date date,
int size,
java.util.Set<java.lang.String> flags) |
IMailIndexService.MailDoc |
asMailDoc(Folder destination,
int uid,
org.apache.james.mime4j.dom.Message m,
java.util.Date date,
int size,
java.util.Set<java.lang.String> asTags) |
void |
changeFlags(java.lang.String latd,
Folder flagged,
IDSet set,
FlagUpdateMode mode,
java.util.Set<java.lang.String> addedFlags,
java.util.Set<java.lang.String> removedFlags) |
boolean |
checkMailbox(java.lang.String mailboxUid) |
void |
cleanupFolder(Folder expunge) |
void |
cleanupFolder(Folder expunge,
IDSet set) |
void |
cleanupFolder(Folder expunge,
java.util.Set<java.lang.Integer> set) |
void |
cleanupParents() |
void |
copy(java.lang.String latd,
Folder from,
IDSet source,
Folder to,
IDSet dest) |
void |
createMailbox(java.lang.String mailboxUid) |
void |
deleteBox(java.lang.String latd,
Folder deleted) |
void |
deleteMailbox(java.lang.String mailboxUid) |
void |
expunge(java.lang.String latd,
Folder expunged) |
void |
expunge(java.lang.String latd,
Folder expunged,
IDSet set) |
java.util.List<MailSummary> |
fetchSummary(Folder source) |
java.util.List<MailSummary> |
fetchSummary(Folder source,
IDSet set) |
double |
getArchivedMailSum(java.lang.String mailboxUid) |
java.util.Set<java.lang.Long> |
getFolders(java.lang.String entityId) |
java.util.List<ShardStats> |
getStats() |
void |
moveMailbox(java.lang.String mailboxUid,
java.lang.String indexName) |
void |
purgeIndexAlias(java.lang.String entityId) |
void |
repairMailbox(java.lang.String mailboxUid,
IServerTaskMonitor iServerTaskMonitor)
check if alias exists, if not create it.
|
void |
syncFlags(Folder destination,
java.util.List<MailSummary> mails) |
void append(java.util.List<IMailIndexService.MailDoc> mails, boolean refresh)
void append(Folder destination, int id, org.apache.james.mime4j.dom.Message m, java.util.Date deliveryDate, int messageSize, java.util.Set<java.lang.String> flags)
void deleteBox(java.lang.String latd, Folder deleted)
void expunge(java.lang.String latd, Folder expunged)
void cleanupFolder(Folder expunge)
void cleanupFolder(Folder expunge, java.util.Set<java.lang.Integer> set)
void changeFlags(java.lang.String latd, Folder flagged, IDSet set, FlagUpdateMode mode, java.util.Set<java.lang.String> addedFlags, java.util.Set<java.lang.String> removedFlags)
java.util.List<MailSummary> fetchSummary(Folder source)
java.util.List<MailSummary> fetchSummary(Folder source, IDSet set)
void syncFlags(Folder destination, java.util.List<MailSummary> mails)
void cleanupParents()
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.Long> getFolders(java.lang.String entityId)
IMailIndexService.MailDoc asMailDoc(Folder destination, int uid, org.apache.james.mime4j.dom.Message m, java.util.Date date, int size, java.util.Set<java.lang.String> asTags)
IMailIndexService.MailDoc asMailDoc(Folder destination, int uid, Doc doc, java.util.Date date, int size, java.util.Set<java.lang.String> flags)
java.util.List<ShardStats> getStats()
void purgeIndexAlias(java.lang.String entityId)
Copyright © 2021. All Rights Reserved.