Interface ReadingRequestService

All Superinterfaces:
com.google.gwt.user.client.rpc.RemoteService

@RemoteServiceRelativePath("readingrequest") public interface ReadingRequestService extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the Reading Service. This service allows the reading requests / confirmations.
Since:
8.8.6
Author:
Marco Meschieri - LogicalDOC
  • Method Details

    • askReadingConfirmation

      void askReadingConfirmation(List<Long> docIds, List<Long> userIds, List<Long> groupIds, boolean alertConfirmation, String comment) throws ServerException
      Asks some users to confirm the reading of a set of documents
      Parameters:
      docIds - identifiers of the documents
      userIds - identifiers of the recipients
      groupIds - identifiers of the groups
      alertConfirmation - if the requestor must be notified on reading confirmation
      comment - an optional message to include in the notification
      Throws:
      ServerException - an error happened in the server application
    • confirmReadings

      void confirmReadings(List<Long> readingIds, String version) throws ServerException
      Confirms the read completion of a given file version
      Parameters:
      readingIds - identifiers of the readings to confirm, all must refer to the same document
      version - the version
      Throws:
      ServerException - an error happened in the server application
    • delete

      void delete(long readingId) throws ServerException
      Deletes a reading request.
      Parameters:
      readingId - identifier of the reading request to delete
      Throws:
      ServerException - an error happened in the server application
    • notityReadingRequest

      void notityReadingRequest(long readingId) throws ServerException
      Notifies again a reading request.
      Parameters:
      readingId - identifier of the reading request to notify
      Throws:
      ServerException - an error happened in the server application
    • getUnconfimedReadings

      List<GUIReadingRequest> getUnconfimedReadings() throws ServerException
      Retrieves all the unconfirmed readings by the current user
      Returns:
      those readings not already confirmed
      Throws:
      ServerException - an error happened in the server application