Interface IBroadcastProvider

    • 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
      • getFeeds

        List<Feed> getFeeds()
        get feed list
        Returns:
        the list
      • getAllSubscriptionByGroup

        String getAllSubscriptionByGroup​(String typeSubscription,
                                         String strAccountId)
        get all subscription by group
        Parameters:
        typeSubscription -
        strAccountId -
        Returns:
        Throws:
        Exception
      • getUserSubscriptionIds

        List<org.json.simple.JSONObject> getUserSubscriptionIds​(String strUserId,
                                                                String strAccountId)
        get user subscriptions ids
        Parameters:
        strUserId -
        strAccountId -
        Returns:
        list of user subscription ids