Package net.bluemind.mailbox.api
Interface IMailboxesAsync
public interface IMailboxesAsync
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDomainRule
(MailFilterRule rule, AsyncHandler<Long> handler) void
addMailboxRule
(String mailboxUid, MailFilterRule rule, AsyncHandler<Long> handler) void
addMailboxRuleRelative
(String mailboxUid, RuleMoveRelativePosition position, long anchorId, MailFilterRule rule, AsyncHandler<Long> handler) void
byEmail
(String email, AsyncHandler<ItemValue<Mailbox>> handler) void
byName
(String name, AsyncHandler<ItemValue<Mailbox>> handler) void
byRouting
(Mailbox.Routing email, AsyncHandler<List<String>> handler) void
byType
(Mailbox.Type email, AsyncHandler<List<String>> handler) void
create
(String uid, Mailbox mailbox, AsyncHandler<Void> handler) void
delete
(String uid, AsyncHandler<Void> handler) void
deleteDomainRule
(long id, AsyncHandler<Void> handler) void
deleteMailboxRule
(String mailboxUid, long id, AsyncHandler<Void> handler) void
getComplete
(String uid, AsyncHandler<ItemValue<Mailbox>> handler) void
getDomainFilter
(AsyncHandler<MailFilter> handler) void
getDomainRule
(long id, AsyncHandler<MailFilterRule> handler) void
getDomainRules
(AsyncHandler<List<MailFilterRule>> handler) void
getMailboxAccessControlList
(String mailboxUid, AsyncHandler<List<AccessControlEntry>> handler) void
getMailboxConfig
(String uid, AsyncHandler<MailboxConfig> handler) void
getMailboxDelegationRule
(String mailboxUid, AsyncHandler<DelegationRule> handler) void
getMailboxFilter
(String mailboxUid, AsyncHandler<MailFilter> handler) void
getMailboxForwarding
(String mailboxUid, AsyncHandler<MailFilter.Forwarding> handler) void
getMailboxQuota
(String uid, AsyncHandler<MailboxQuota> handler) void
getMailboxRule
(String mailboxUid, long id, AsyncHandler<MailFilterRule> handler) void
getMailboxRules
(String mailboxUid, AsyncHandler<List<MailFilterRule>> handler) void
getMailboxRulesByClient
(String mailboxUid, String client, AsyncHandler<List<MailFilterRule>> handler) void
getMailboxVacation
(String mailboxUid, AsyncHandler<MailFilter.Vacation> handler) void
getUnreadMessagesCount
(AsyncHandler<Integer> handler) void
list
(AsyncHandler<List<ItemValue<Mailbox>>> handler) void
listUids
(AsyncHandler<List<String>> handler) void
moveMailboxRule
(String mailboxUid, long id, RuleMoveDirection direction, AsyncHandler<Void> handler) void
moveMailboxRuleRelative
(String mailboxUid, long id, RuleMoveRelativePosition position, long anchorId, AsyncHandler<Void> handler) void
multipleGet
(List<String> uids, AsyncHandler<List<ItemValue<Mailbox>>> handler) void
setDomainFilter
(MailFilter filter, AsyncHandler<Void> handler) void
setMailboxAccessControlList
(String mailboxUid, List<AccessControlEntry> accessControlEntries, AsyncHandler<Void> handler) void
setMailboxDelegationRule
(String mailboxUid, DelegationRule delegationRule, AsyncHandler<Void> handler) void
setMailboxFilter
(String mailboxUid, MailFilter filter, AsyncHandler<Void> handler) void
setMailboxForwarding
(String mailboxUid, MailFilter.Forwarding forwarding, AsyncHandler<Void> handler) void
setMailboxVacation
(String mailboxUid, MailFilter.Vacation vacation, AsyncHandler<Void> handler) void
update
(String uid, Mailbox mailbox, AsyncHandler<Void> handler) void
updateDomainRule
(long id, MailFilterRule rule, AsyncHandler<Void> handler) void
updateMailboxRule
(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
-