Interface IMobileAppManagerSPI

  • All Known Implementing Classes:
    MobileAppManager

    public interface IMobileAppManagerSPI
    Mobile APP manager SPI.
    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 Abstract 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.
    • Method Detail

      • getOrCreateSubscriptionId

        java.lang.String getOrCreateSubscriptionId​(IWebsite website)
        Returns the subscription identifier (null if there isn't one) of the current user in the given website.
        Parameters:
        website - the website.
        Returns:
        the subscription identifier (null if there isn't one) of the current user in the given website.
        Since:
        10.0.0
      • getOrCreateSubscriptionId

        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.
        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.
        Since:
        10.0.0
      • getSubscriptionsIds

        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.
        Parameters:
        userId - the user identifiers.
        websiteId - the website identifier.
        Returns:
        the users' subscriptions in the given website.
        Since:
        10.0.0