Class MailEventAddresses

java.lang.Object
net.bluemind.backend.mail.api.events.MailEventAddresses

public class MailEventAddresses extends Object
Helper for knowing important event bus addresses
  • Constructor Details

    • MailEventAddresses

      public MailEventAddresses()
  • Method Details

    • mailboxContentChanged

      public String mailboxContentChanged(String mailboxUniqueId)
      Parameters:
      mailboxUniqueId - uid of the item returned by IMailboxFolders
      Returns:
      the event bus address to subscribe
    • userMailboxHierarchyChanged

      public static String userMailboxHierarchyChanged(String domainUid, String entryUid)
      The received messages on the vertx eventbus address returned by this method will look like the following:
       
       {
         "uid" : "subtree_test1500363938962_lab!user.login^of^user",
         "version" : 5,
         "minor" : false
       }
       
       
      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.
      Parameters:
      domainUid - uid of the user's domain
      userLogin - localpart of the user login
      Returns:
      the event bus address to subscribe
    • sharedMailboxHierarchyChanged

      public static String sharedMailboxHierarchyChanged(String domainUid, String entryUid)
      The received messages on the vertx eventbus address returned by this method will look like the following:
       
       {
         "uid" : "subtree_test1500363938962_lab!shared^box",
         "version" : 5,
         "minor" : false
       }
       
       
      Parameters:
      domainUid -
      entryUid -
      Returns:
      the event bus address to subscribe