Class RestReadingRequestClient

java.lang.Object
com.logicaldoc.webservice.rest.client.AbstractRestClient
com.logicaldoc.enterprise.webservice.rest.client.RestReadingRequestClient

public class RestReadingRequestClient extends com.logicaldoc.webservice.rest.client.AbstractRestClient
  • Constructor Details

    • RestReadingRequestClient

      public RestReadingRequestClient(String endpoint, String username, String password)
    • RestReadingRequestClient

      public RestReadingRequestClient(String endpoint, String username, String password, int timeout)
      Constructor
      Parameters:
      endpoint - Connection URL
      username - the username
      password - the password
      timeout - Timeout for the RESTful requests
  • Method Details

    • askReadingConfirmation

      public void askReadingConfirmation(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
      Throws:
      com.logicaldoc.core.security.authentication.AuthenticationException
      com.logicaldoc.webservice.WebserviceException
      com.logicaldoc.core.PersistenceException
      IOException
    • confirmReading

      public void confirmReading(long readingId, String version) throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException, IOException
      Throws:
      com.logicaldoc.core.security.authentication.AuthenticationException
      com.logicaldoc.webservice.WebserviceException
      com.logicaldoc.core.PersistenceException
      IOException
    • getUnconfirmedReadings

      public WSReadingRequest[] getUnconfirmedReadings() throws com.logicaldoc.core.security.authentication.AuthenticationException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException, IOException
      Throws:
      com.logicaldoc.core.security.authentication.AuthenticationException
      com.logicaldoc.webservice.WebserviceException
      com.logicaldoc.core.PersistenceException
      IOException