public interface IMailboxesStorage
Modifier and Type | Interface and Description |
---|---|
static class |
IMailboxesStorage.CheckAndRepairStatus |
static class |
IMailboxesStorage.MailFolder |
Modifier and Type | Method and Description |
---|---|
void |
changeDomainFilter(BmContext context,
java.lang.String domainUid,
MailFilter filter) |
void |
changeFilter(BmContext context,
ItemValue<Domain> domain,
ItemValue<Mailbox> value,
MailFilter filter) |
java.util.List<IMailboxesStorage.MailFolder> |
checkAndRepairAcl(BmContext context,
java.lang.String domainUid,
ItemValue<Mailbox> mailbox,
java.util.List<AccessControlEntry> acls,
boolean repair)
Sync acl with db acl
|
DefaultFolder.Status |
checkAndRepairDefaultFolders(BmContext context,
java.lang.String domainUid,
ItemValue<Mailbox> mailbox,
boolean repair)
Fix mailbox default folders
|
void |
checkAndRepairFilesystem(BmContext context,
java.lang.String domainUid,
ItemValue<Mailbox> mailbox)
Fix mailbox filesystem
|
java.util.List<IMailboxesStorage.MailFolder> |
checkAndRepairHierarchy(BmContext context,
java.lang.String domainUid,
ItemValue<Mailbox> mailbox,
boolean repair)
Fill gaps between folders
|
void |
checkAndRepairQuota(BmContext context,
java.lang.String domainUid,
ItemValue<Mailbox> mailbox)
Fix mailbox quota
|
IMailboxesStorage.CheckAndRepairStatus |
checkAndRepairSharedSeen(BmContext context,
java.lang.String domainUid,
ItemValue<Mailbox> mailbox,
boolean repair) |
void |
create(BmContext context,
java.lang.String domainUid,
ItemValue<Mailbox> value) |
void |
createDomainPartition(BmContext context,
ItemValue<Domain> value,
ItemValue<Server> server) |
void |
delete(BmContext context,
java.lang.String domainUid,
ItemValue<Mailbox> value) |
void |
deleteDomainPartition(BmContext context,
ItemValue<Domain> value,
ItemValue<Server> server) |
MailboxQuota |
getQuota(BmContext context,
java.lang.String domainUid,
ItemValue<Mailbox> value) |
java.lang.Integer |
getUnreadMessagesCount(java.lang.String domainUid,
ItemValue<User> user) |
void |
initialize(BmContext context,
ItemValue<Server> server) |
java.util.List<IMailboxesStorage.MailFolder> |
listFolders(BmContext context,
java.lang.String domainUid,
ItemValue<Mailbox> mailbox) |
boolean |
mailboxExist(BmContext context,
java.lang.String domainUid,
Mailbox mailbox) |
void |
move(java.lang.String domainUid,
ItemValue<Mailbox> mailbox,
ItemValue<Server> sourceServer,
ItemValue<Server> dstServer) |
void |
rewriteCyrusConfiguration(java.lang.String serverUid) |
void |
update(BmContext context,
java.lang.String domainUid,
ItemValue<Mailbox> previousValue,
ItemValue<Mailbox> value) |
void delete(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> value) throws ServerFault
ServerFault
void update(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> previousValue, ItemValue<Mailbox> value) throws ServerFault
ServerFault
void create(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> value) throws ServerFault
ServerFault
MailboxQuota getQuota(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> value) throws ServerFault
ServerFault
void changeFilter(BmContext context, ItemValue<Domain> domain, ItemValue<Mailbox> value, MailFilter filter) throws ServerFault
ServerFault
void changeDomainFilter(BmContext context, java.lang.String domainUid, MailFilter filter) throws ServerFault
ServerFault
void createDomainPartition(BmContext context, ItemValue<Domain> value, ItemValue<Server> server) throws ServerFault
ServerFault
void deleteDomainPartition(BmContext context, ItemValue<Domain> value, ItemValue<Server> server) throws ServerFault
ServerFault
void initialize(BmContext context, ItemValue<Server> server) throws ServerFault
ServerFault
java.lang.Integer getUnreadMessagesCount(java.lang.String domainUid, ItemValue<User> user) throws ServerFault
ServerFault
boolean mailboxExist(BmContext context, java.lang.String domainUid, Mailbox mailbox) throws ServerFault
ServerFault
java.util.List<IMailboxesStorage.MailFolder> listFolders(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> mailbox) throws ServerFault
ServerFault
java.util.List<IMailboxesStorage.MailFolder> checkAndRepairHierarchy(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> mailbox, boolean repair) throws ServerFault
context
- domainUid
- mailbox
- repair
- ServerFault
void checkAndRepairQuota(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> mailbox)
context
- domainUid
- mailbox
- void checkAndRepairFilesystem(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> mailbox)
context
- domainUid
- mailbox
- DefaultFolder.Status checkAndRepairDefaultFolders(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> mailbox, boolean repair)
context
- domainUid
- mailbox
- repair
- ServerFault
java.util.List<IMailboxesStorage.MailFolder> checkAndRepairAcl(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> mailbox, java.util.List<AccessControlEntry> acls, boolean repair) throws ServerFault
context
- domainUid
- mailbox
- acls
- repair
- ServerFault
IMailboxesStorage.CheckAndRepairStatus checkAndRepairSharedSeen(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> mailbox, boolean repair)
context
- domainUid
- mailbox
- repair
- void move(java.lang.String domainUid, ItemValue<Mailbox> mailbox, ItemValue<Server> sourceServer, ItemValue<Server> dstServer)
void rewriteCyrusConfiguration(java.lang.String serverUid)
Copyright © 2021. All Rights Reserved.