Package lumis.portal.mobileapp
Class MobileAppManager
- java.lang.Object
-
- lumis.portal.mobileapp.MobileAppManager
-
- All Implemented Interfaces:
IMobileAppManagerSPI
public class MobileAppManager extends java.lang.Object implements IMobileAppManagerSPI
Mobile App manager.- Since:
- 10.0.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description MobileAppManager()
-
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.
-
-
-
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 interfaceIMobileAppManagerSPI
- 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 interfaceIMobileAppManagerSPI
- 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 interfaceIMobileAppManagerSPI
websiteId
- the website identifier.- Returns:
- the users' subscriptions in the given website.
-
-