Class MobileAppManager

  • All Implemented Interfaces:
    IMobileAppManagerSPI

    public class MobileAppManager
    extends java.lang.Object
    implements IMobileAppManagerSPI
    Mobile App manager.
    Since:
    10.0.0
    Version:
    $Revision: 19766 $ $Date: 2017-01-05 18:35:09 -0200 (Thu, 05 Jan 2017) $
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getOrCreateSubscriptionId​(java.lang.String userId, java.lang.String websiteId)
      Returns the subscription identifier (null if there isn't one) of the given user user in the given website.
      java.lang.String getOrCreateSubscriptionId​(IWebsite website)
      Returns the subscription identifier (null if there isn't one) of the current user in the given website.
      java.util.Set<java.lang.String> getSubscriptionsIds​(java.util.Collection<java.lang.String> userIds, java.lang.String websiteId)
      Returns the users' subscriptions in the given website.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MobileAppManager

        public MobileAppManager()
    • Method Detail

      • getOrCreateSubscriptionId

        public java.lang.String getOrCreateSubscriptionId​(IWebsite website)
        Description copied from interface: IMobileAppManagerSPI
        Returns the subscription identifier (null if there isn't one) of the current user in the given website.
        Specified by:
        getOrCreateSubscriptionId in interface IMobileAppManagerSPI
        Parameters:
        website - the website.
        Returns:
        the subscription identifier (null if there isn't one) of the current user in the given website.
      • getOrCreateSubscriptionId

        public java.lang.String getOrCreateSubscriptionId​(java.lang.String userId,
                                                          java.lang.String websiteId)
        Description copied from interface: IMobileAppManagerSPI
        Returns the subscription identifier (null if there isn't one) of the given user user in the given website.
        Specified by:
        getOrCreateSubscriptionId in interface IMobileAppManagerSPI
        Parameters:
        userId - the user identifier.
        websiteId - the website identifier.
        Returns:
        the subscription identifier (null if there isn't one) of the given user user in the given website.
      • getSubscriptionsIds

        public java.util.Set<java.lang.String> getSubscriptionsIds​(java.util.Collection<java.lang.String> userIds,
                                                                   java.lang.String websiteId)
        Description copied from interface: IMobileAppManagerSPI
        Returns the users' subscriptions in the given website.
        Specified by:
        getSubscriptionsIds in interface IMobileAppManagerSPI
        websiteId - the website identifier.
        Returns:
        the users' subscriptions in the given website.