Interface OffersWithResponsesListView

    • Method Detail

      • showOffersList

        void showOffersList​(java.util.List<BaseData> offersWithResponses,
                            int totalEntries)
        Notifies the view to show the list of BaseData. This list contains two objects: Offer and OfferResponse. This also means that the GET offers with responses API was successful.
        Parameters:
        offersWithResponses - this list of offer and offer response
        totalEntries - the total number of offers
      • appendOffersList

        void appendOffersList​(java.util.List<BaseData> offersWithResponses,
                              int totalEntries)
        Notifies the view to show the list of BaseData. This list contains two objects: Offer and OfferResponse. This also means that the GET offers with responses API with pagination was successful.
        Parameters:
        offersWithResponses - this list of offer and offer response
        totalEntries - the total number of offers
      • updateClipState

        void updateClipState​(int id)
        Notifies the view to update the clip status of the given id
        Parameters:
        id - offer or offer response id
      • refreshItem

        void refreshItem​(java.lang.String errorMessage,
                         int id)
        Notifies the view to refresh the item. This is called when clipping/unclipping fails.
        Parameters:
        errorMessage - error message
        id - id offer or offer response id