Class WebserviceClient

java.lang.Object
com.logicaldoc.webserviceclient.WebserviceClient

public class WebserviceClient extends Object
Facade for the connection with the remote LogicalDOC server. It uses basic SOAP calls using KSoap
Since:
8.8.3
Author:
Marco Meschieri - LogicalDOC
  • Constructor Details

    • WebserviceClient

      public WebserviceClient()
  • Method Details

    • get

      public static WebserviceClient get(String sid, String baseUrl)
    • get

      public static WebserviceClient get()
    • getPath

      public String getPath(long folderId) throws IOException, org.xmlpull.v1.XmlPullParserException
      Throws:
      IOException
      org.xmlpull.v1.XmlPullParserException
    • uploadFile

      public void uploadFile(long targetDir, File file, String fileName, String language) throws IOException, org.xmlpull.v1.XmlPullParserException
      Throws:
      IOException
      org.xmlpull.v1.XmlPullParserException
    • getBaseUrl

      public String getBaseUrl()
    • getTimeout

      public int getTimeout()
    • getDocument

      public Entry getDocument(long id) throws IOException, org.xmlpull.v1.XmlPullParserException
      Throws:
      IOException
      org.xmlpull.v1.XmlPullParserException
    • checkin

      public void checkin(long docId, File file) throws IOException, org.xmlpull.v1.XmlPullParserException
      Throws:
      IOException
      org.xmlpull.v1.XmlPullParserException
    • checkout

      public void checkout(long docId) throws IOException, org.xmlpull.v1.XmlPullParserException
      Throws:
      IOException
      org.xmlpull.v1.XmlPullParserException
    • unlock

      public void unlock(long docId) throws IOException, org.xmlpull.v1.XmlPullParserException
      Throws:
      IOException
      org.xmlpull.v1.XmlPullParserException