Package net.bluemind.mailbox.api
Interface IMailboxesAsync
public interface IMailboxesAsync
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddDomainRule(MailFilterRule rule, AsyncHandler<Long> handler) voidaddMailboxRule(String mailboxUid, MailFilterRule rule, AsyncHandler<Long> handler) voidaddMailboxRuleRelative(String mailboxUid, RuleMoveRelativePosition position, long anchorId, MailFilterRule rule, AsyncHandler<Long> handler) voidbyEmail(String email, AsyncHandler<ItemValue<Mailbox>> handler) voidbyName(String name, AsyncHandler<ItemValue<Mailbox>> handler) voidbyRouting(Mailbox.Routing email, AsyncHandler<List<String>> handler) voidbyType(Mailbox.Type email, AsyncHandler<List<String>> handler) voidcreate(String uid, Mailbox mailbox, AsyncHandler<Void> handler) voiddelete(String uid, AsyncHandler<Void> handler) voiddeleteDomainRule(long id, AsyncHandler<Void> handler) voiddeleteMailboxRule(String mailboxUid, long id, AsyncHandler<Void> handler) voidgetComplete(String uid, AsyncHandler<ItemValue<Mailbox>> handler) voidgetDomainFilter(AsyncHandler<MailFilter> handler) voidgetDomainRule(long id, AsyncHandler<MailFilterRule> handler) voidgetDomainRules(AsyncHandler<List<MailFilterRule>> handler) voidgetMailboxAccessControlList(String mailboxUid, AsyncHandler<List<AccessControlEntry>> handler) voidgetMailboxConfig(String uid, AsyncHandler<MailboxConfig> handler) voidgetMailboxDelegationRule(String mailboxUid, AsyncHandler<DelegationRule> handler) voidgetMailboxFilter(String mailboxUid, AsyncHandler<MailFilter> handler) voidgetMailboxForwarding(String mailboxUid, AsyncHandler<MailFilter.Forwarding> handler) voidgetMailboxQuota(String uid, AsyncHandler<MailboxQuota> handler) voidgetMailboxRule(String mailboxUid, long id, AsyncHandler<MailFilterRule> handler) voidgetMailboxRules(String mailboxUid, AsyncHandler<List<MailFilterRule>> handler) voidgetMailboxRulesByClient(String mailboxUid, String client, AsyncHandler<List<MailFilterRule>> handler) voidgetMailboxVacation(String mailboxUid, AsyncHandler<MailFilter.Vacation> handler) voidgetUnreadMessagesCount(AsyncHandler<Integer> handler) voidlist(AsyncHandler<List<ItemValue<Mailbox>>> handler) voidlistUids(AsyncHandler<List<String>> handler) voidmoveMailboxRule(String mailboxUid, long id, RuleMoveDirection direction, AsyncHandler<Void> handler) voidmoveMailboxRuleRelative(String mailboxUid, long id, RuleMoveRelativePosition position, long anchorId, AsyncHandler<Void> handler) voidmultipleGet(List<String> uids, AsyncHandler<List<ItemValue<Mailbox>>> handler) voidsetDomainFilter(MailFilter filter, AsyncHandler<Void> handler) voidsetMailboxAccessControlList(String mailboxUid, List<AccessControlEntry> accessControlEntries, AsyncHandler<Void> handler) voidsetMailboxDelegationRule(String mailboxUid, DelegationRule delegationRule, AsyncHandler<Void> handler) voidsetMailboxFilter(String mailboxUid, MailFilter filter, AsyncHandler<Void> handler) voidsetMailboxForwarding(String mailboxUid, MailFilter.Forwarding forwarding, AsyncHandler<Void> handler) voidsetMailboxVacation(String mailboxUid, MailFilter.Vacation vacation, AsyncHandler<Void> handler) voidupdate(String uid, Mailbox mailbox, AsyncHandler<Void> handler) voidupdateDomainRule(long id, MailFilterRule rule, AsyncHandler<Void> handler) voidupdateMailboxRule(String mailboxUid, long id, MailFilterRule rule, AsyncHandler<Void> handler)
-
Method Details
-
addDomainRule
-
addMailboxRule
-
addMailboxRuleRelative
void addMailboxRuleRelative(String mailboxUid, RuleMoveRelativePosition position, long anchorId, MailFilterRule rule, AsyncHandler<Long> handler) -
byEmail
-
byName
-
byRouting
-
byType
-
create
-
delete
-
deleteDomainRule
-
deleteMailboxRule
-
getComplete
-
getDomainFilter
-
getDomainRule
-
getDomainRules
-
getMailboxAccessControlList
-
getMailboxConfig
-
getMailboxDelegationRule
-
getMailboxFilter
-
getMailboxForwarding
-
getMailboxQuota
-
getMailboxRule
-
getMailboxRules
-
getMailboxRulesByClient
void getMailboxRulesByClient(String mailboxUid, String client, AsyncHandler<List<MailFilterRule>> handler) -
getMailboxVacation
-
getUnreadMessagesCount
-
list
-
listUids
-
moveMailboxRule
void moveMailboxRule(String mailboxUid, long id, RuleMoveDirection direction, AsyncHandler<Void> handler) -
moveMailboxRuleRelative
void moveMailboxRuleRelative(String mailboxUid, long id, RuleMoveRelativePosition position, long anchorId, AsyncHandler<Void> handler) -
multipleGet
-
setDomainFilter
-
setMailboxAccessControlList
void setMailboxAccessControlList(String mailboxUid, List<AccessControlEntry> accessControlEntries, AsyncHandler<Void> handler) -
setMailboxDelegationRule
void setMailboxDelegationRule(String mailboxUid, DelegationRule delegationRule, AsyncHandler<Void> handler) -
setMailboxFilter
-
setMailboxForwarding
void setMailboxForwarding(String mailboxUid, MailFilter.Forwarding forwarding, AsyncHandler<Void> handler) -
setMailboxVacation
void setMailboxVacation(String mailboxUid, MailFilter.Vacation vacation, AsyncHandler<Void> handler) -
update
-
updateDomainRule
-
updateMailboxRule
-