Interface IBroadcastProvider
- All Known Implementing Classes:
DolistProvider,MockProvider
public interface IBroadcastProvider
-
Method Summary
Modifier and TypeMethodDescriptiongetAllSubscriptionByGroup(String typeSubscription, String strAccountId) get all subscription by groupgetFeeds()get feed listgetName()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 Details
-
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
update user subscriptions to the specified subscription list- Parameters:
subscriptionsList-- Returns:
- true if success
- Throws:
Exception
-
update
update user subscription- Parameters:
subscription-strAccountId-- Returns:
- true if success
- Throws:
Exception
-
getFeeds
get feed list- Returns:
- the list
-
getAllSubscriptionByGroup
get all subscription by group- Parameters:
typeSubscription-strAccountId-- Returns:
- Throws:
Exception
-
getUserSubscriptionIds
get user subscriptions ids- Parameters:
strUserId-strAccountId-- Returns:
- list of user subscription ids
-