Class MailEventAddresses
java.lang.Object
net.bluemind.backend.mail.api.events.MailEventAddresses
Helper for knowing important event bus addresses
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionmailboxContentChanged(String mailboxUniqueId) static StringsharedMailboxHierarchyChanged(String domainUid, String entryUid) The received messages on the vertx eventbus address returned by this method will look like the following:static StringuserMailboxHierarchyChanged(String domainUid, String entryUid) The received messages on the vertx eventbus address returned by this method will look like the following:
-
Constructor Details
-
MailEventAddresses
public MailEventAddresses()
-
-
Method Details
-
mailboxContentChanged
- Parameters:
mailboxUniqueId- uid of the item returned byIMailboxFolders- Returns:
- the event bus address to subscribe
-
userMailboxHierarchyChanged
The received messages on the vertx eventbus address returned by this method will look like the following:
Minor changes mean that only the content / annotations of a folder has changed. Non-minor (aka major) changes represent CRUD actions in the hierarchy of a mailbox: folder rename, create, update.{ "uid" : "subtree_test1500363938962_lab!user.login^of^user", "version" : 5, "minor" : false }- Parameters:
domainUid- uid of the user's domainuserLogin- localpart of the user login- Returns:
- the event bus address to subscribe
-