Interface IBroadcastProvider
-
- All Known Implementing Classes:
DolistProvider,MockProvider
public interface IBroadcastProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetAllSubscriptionByGroup(String typeSubscription, String strAccountId)get all subscription by groupList<Feed>getFeeds()get feed listStringgetName()get provider nameList<org.json.simple.JSONObject>getUserSubscriptionIds(String strUserId, String strAccountId)get user subscriptions idsbooleanupdate(Subscription subscription, String strAccountId)update user subscriptionbooleanupdateArrondissementSubscribtions(String userId, String jsonSubscriptions, String strAccountId)update user subscriptions to the specified subscription listbooleanupdateSubscribtions(String userId, String jsonSubscriptions, String strAccountId)update user subscriptions to the specified subscription listbooleanupdateSubscribtions(String userId, List<Subscription> subscriptionsList)update user subscriptions to the specified subscription list
-
-
-
Method Detail
-
getName
String getName()
get provider name- Returns:
-
updateSubscribtions
boolean updateSubscribtions(String userId, String jsonSubscriptions, String strAccountId) throws Exception
update user subscriptions to the specified subscription list- Parameters:
subscriptionsList-strAccountId-- Returns:
- true if success
- Throws:
Exception
-
updateArrondissementSubscribtions
boolean updateArrondissementSubscribtions(String userId, String jsonSubscriptions, String strAccountId) throws Exception
update user subscriptions to the specified subscription list- Parameters:
subscriptionsList-strAccountId-- Returns:
- true if success
- Throws:
Exception
-
updateSubscribtions
boolean updateSubscribtions(String userId, List<Subscription> subscriptionsList) throws Exception
update user subscriptions to the specified subscription list- Parameters:
subscriptionsList-- Returns:
- true if success
- Throws:
Exception
-
update
boolean update(Subscription subscription, String strAccountId) throws Exception
update user subscription- Parameters:
subscription-strAccountId-- Returns:
- true if success
- Throws:
Exception
-
getAllSubscriptionByGroup
String getAllSubscriptionByGroup(String typeSubscription, String strAccountId)
get all subscription by group- Parameters:
typeSubscription-strAccountId-- Returns:
- Throws:
Exception
-
-