public class HubScoreAPI extends Object
| Constructor and Description |
|---|
HubScoreAPI() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlertToken(boolean forceRefresh)
get alert token
|
String |
getHubScoreUserId(String userName,
String typeSubscription)
get UserID
|
String |
getNewsletterToken(boolean forceRefresh)
get newsletter token
|
String |
getUserSubscriptions(String userId,
String typeSubscription)
get user subscriptions
|
void |
manageUser(String eMail,
String typeSubscription,
String action)
Hubscore user record api
|
String |
updateSubscribtions(String userName,
Map<String,String> mapSubscriptions,
String typeSubscription)
update subscriptions
|
public String getHubScoreUserId(String userName, String typeSubscription)
userName - typeSubscription - public void manageUser(String eMail, String typeSubscription, String action) throws IOException
eMail - typeSubscription - action - IOExceptionpublic String getUserSubscriptions(String userId, String typeSubscription)
userId - typeSubscription - public String updateSubscribtions(String userName, Map<String,String> mapSubscriptions, String typeSubscription) throws Exception
userName - mapSubscriptions - typeSubscription - Exceptionpublic String getNewsletterToken(boolean forceRefresh) throws IOException
forceRefresh - IOExceptionpublic String getAlertToken(boolean forceRefresh) throws IOException
forceRefresh - IOExceptionCopyright © 2020 City of Paris. All rights reserved.