Package lumis.portal.mobileapp
Class MobileAppManager
- java.lang.Object
-
- lumis.portal.mobileapp.MobileAppManager
-
- All Implemented Interfaces:
IMobileAppManagerSPI
public class MobileAppManager extends 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) $
-
-
Constructor Summary
Constructors Constructor Description MobileAppManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getOrCreateSubscriptionId(String userId, String websiteId)
Returns the subscription identifier (null
if there isn't one) of the given user user in the given website.String
getOrCreateSubscriptionId(IWebsite website)
Returns the subscription identifier (null
if there isn't one) of the current user in the given website.Set<String>
getSubscriptionsIds(Collection<String> userIds, String websiteId)
Returns the users' subscriptions in the given website.
-
-
-
Method Detail
-
getOrCreateSubscriptionId
public 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 String getOrCreateSubscriptionId(String userId, 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 Set<String> getSubscriptionsIds(Collection<String> userIds, 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.
-
-