Class SoapReadingRequestService

java.lang.Object
com.logicaldoc.webservice.AbstractService
com.logicaldoc.enterprise.webservice.soap.endpoint.SoapReadingRequestService
All Implemented Interfaces:
ReadingRequestService
Direct Known Subclasses:
RestReadingRequestService

public class SoapReadingRequestService extends com.logicaldoc.webservice.AbstractService implements ReadingRequestService
Reading Request Web Service Implementation (SOAP)
Since:
8.9.1
Author:
Marco Meschieri - LogicalDOC
  • Constructor Details

    • SoapReadingRequestService

      public SoapReadingRequestService()
  • Method Details

    • askReadingConfirmation

      public void askReadingConfirmation(String sid, Long[] docIds, Long[] userIds, Long[] groupIds, boolean alertConfirmation, String comment) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException, IOException
      Description copied from interface: ReadingRequestService
      Asks some users to confirm the reading of a set of documents
      Specified by:
      askReadingConfirmation in interface ReadingRequestService
      Parameters:
      sid - Session identifier
      docIds - identifiers of the documents
      userIds - identifiers of the recipient users
      groupIds - identifiers of the recipient groups
      alertConfirmation - if the requestor must be notified on reading confirmation
      comment - an optional message to include in the notification
      Throws:
      com.logicaldoc.core.security.authentication.AuthenticationException - The user was not authenticated
      com.logicaldoc.webservice.WebserviceException - Error in the webservice logic
      com.logicaldoc.core.PersistenceException - Error in the database layer
      IOException - I/O error
    • confirmReading

      public void confirmReading(String sid, long readingId, String version) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException, IOException
      Description copied from interface: ReadingRequestService
      Confirms a reading request
      Specified by:
      confirmReading in interface ReadingRequestService
      Parameters:
      sid - Session identifier
      readingId - identifier of the reading request
      version - exact version of the document being confirmed(can be null)
      Throws:
      com.logicaldoc.core.security.authentication.AuthenticationException - The user was not authenticated
      com.logicaldoc.webservice.WebserviceException - Error in the webservice logic
      com.logicaldoc.core.PersistenceException - Error in the database layer
      IOException - I/O error
    • getUnconfirmedReadings

      public WSReadingRequest[] getUnconfirmedReadings(String sid) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException, IOException
      Description copied from interface: ReadingRequestService
      Gets the list of all the unconfirmed readings requested to the current user
      Specified by:
      getUnconfirmedReadings in interface ReadingRequestService
      Parameters:
      sid - Session identifier
      Throws:
      com.logicaldoc.core.security.authentication.AuthenticationException - The user was not authenticated
      com.logicaldoc.webservice.WebserviceException - Error in the webservice logic
      com.logicaldoc.core.PersistenceException - Error in the database layer
      IOException - I/O error