public class VoidMailboxesStorage extends java.lang.Object implements IMailboxesStorage
IMailboxesStorage.MailFolder| Modifier and Type | Field and Description | 
|---|---|
static IMailboxesStorage | 
INSTANCE  | 
| Constructor and Description | 
|---|
VoidMailboxesStorage()  | 
| 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 
 | 
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 
 | 
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 | 
update(BmContext context,
      java.lang.String domainUid,
      ItemValue<Mailbox> previousValue,
      ItemValue<Mailbox> value)  | 
public static final IMailboxesStorage INSTANCE
public void delete(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> value) throws ServerFault
delete in interface IMailboxesStorageServerFaultpublic void update(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> previousValue, ItemValue<Mailbox> value) throws ServerFault
update in interface IMailboxesStorageServerFaultpublic void create(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> value) throws ServerFault
create in interface IMailboxesStorageServerFaultpublic void changeFilter(BmContext context, ItemValue<Domain> domain, ItemValue<Mailbox> value, MailFilter filter) throws ServerFault
changeFilter in interface IMailboxesStorageServerFaultpublic void changeDomainFilter(BmContext context, java.lang.String domainUid, MailFilter filter) throws ServerFault
changeDomainFilter in interface IMailboxesStorageServerFaultpublic void createDomainPartition(BmContext context, ItemValue<Domain> value, ItemValue<Server> server) throws ServerFault
createDomainPartition in interface IMailboxesStorageServerFaultpublic void deleteDomainPartition(BmContext context, ItemValue<Domain> value, ItemValue<Server> server) throws ServerFault
deleteDomainPartition in interface IMailboxesStorageServerFaultpublic void initialize(BmContext context, ItemValue<Server> server) throws ServerFault
initialize in interface IMailboxesStorageServerFaultpublic java.lang.Integer getUnreadMessagesCount(java.lang.String domainUid,
                                                ItemValue<User> user)
                                         throws ServerFault
getUnreadMessagesCount in interface IMailboxesStorageServerFaultpublic boolean mailboxExist(BmContext context, java.lang.String domainUid, Mailbox mailbox) throws ServerFault
mailboxExist in interface IMailboxesStorageServerFaultpublic java.util.List<IMailboxesStorage.MailFolder> listFolders(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> mailbox) throws ServerFault
listFolders in interface IMailboxesStorageServerFaultpublic MailboxQuota getQuota(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> value) throws ServerFault
getQuota in interface IMailboxesStorageServerFaultpublic java.util.List<IMailboxesStorage.MailFolder> checkAndRepairHierarchy(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> mailbox, boolean repair) throws ServerFault
IMailboxesStoragecheckAndRepairHierarchy in interface IMailboxesStorageServerFaultpublic void checkAndRepairQuota(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> mailbox)
IMailboxesStoragecheckAndRepairQuota in interface IMailboxesStoragepublic void checkAndRepairFilesystem(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> mailbox)
IMailboxesStoragecheckAndRepairFilesystem in interface IMailboxesStoragepublic java.util.List<IMailboxesStorage.MailFolder> checkAndRepairAcl(BmContext context, java.lang.String domainUid, ItemValue<Mailbox> mailbox, java.util.List<AccessControlEntry> acls, boolean repair) throws ServerFault
IMailboxesStoragecheckAndRepairAcl in interface IMailboxesStorageServerFaultCopyright © 2021. All Rights Reserved.