Class RestEnterpriseSearchClient

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

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

    • RestEnterpriseSearchClient

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

      public RestEnterpriseSearchClient(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

    • findByParameters

      public List<com.logicaldoc.webservice.model.WSDocument> findByParameters(Long templateId, List<WSCriterion> criteria, String order, Integer maxResults) throws com.logicaldoc.core.security.authentication.AuthenticationException, FeatureNotEnabledException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException
      Throws:
      com.logicaldoc.core.security.authentication.AuthenticationException
      FeatureNotEnabledException
      com.logicaldoc.webservice.WebserviceException
      com.logicaldoc.core.PersistenceException
    • findDocumentsByParameters

      public List<com.logicaldoc.webservice.model.WSDocument> findDocumentsByParameters(Long templateId, List<WSCriterion> criteria, String order, Integer maxResults) throws com.logicaldoc.core.security.authentication.AuthenticationException, FeatureNotEnabledException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException
      Throws:
      com.logicaldoc.core.security.authentication.AuthenticationException
      FeatureNotEnabledException
      com.logicaldoc.webservice.WebserviceException
      com.logicaldoc.core.PersistenceException
    • queryDocuments

      public String[][] queryDocuments(String select, String tables, String where, String order, Integer maxResults) throws com.logicaldoc.core.security.authorization.PermissionException, com.logicaldoc.core.security.authentication.AuthenticationException, FeatureNotEnabledException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException
      Throws:
      com.logicaldoc.core.security.authorization.PermissionException
      com.logicaldoc.core.security.authentication.AuthenticationException
      FeatureNotEnabledException
      com.logicaldoc.webservice.WebserviceException
      com.logicaldoc.core.PersistenceException