Interface RequestStorage

    • Method Detail

      • getStoredRequestIds

        java.util.List<java.lang.String> getStoredRequestIds()
        Get the request IDs stored on the device.
        Returns:
        The list of request IDs stored on the device. If none are present or if storage was not initialised correctly it will return an empty list.
      • storeRequestId

        void storeRequestId(java.lang.String requestId)
        Stores a request ID on the device
        Parameters:
        requestId - The request ID to store on the device.
      • setCommentCount

        void setCommentCount(java.lang.String requestId,
                             int commentCount)
        Gets the comment count of when the request was last read
        Parameters:
        requestId - The request id
        commentCount - The comment count when the request was last read
      • getCommentCount

        java.lang.Integer getCommentCount(java.lang.String requestId)
        Stores a comment count when this request was last read
        Parameters:
        requestId - The id of the request
        Returns:
        The timestamp that the request was last read