Package com.logicaldoc.webserviceclient
Class WebserviceClient
java.lang.Object
com.logicaldoc.webserviceclient.WebserviceClient
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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidcheckout(long docId) static WebserviceClientget()static WebserviceClientgetDocument(long id) getPath(long folderId) intvoidunlock(long docId) voiduploadFile(long targetDir, File file, String fileName, String language) 
- 
Constructor Details- 
WebserviceClientpublic WebserviceClient()
 
- 
- 
Method Details- 
get
- 
get
- 
getPath- Throws:
- IOException
- org.xmlpull.v1.XmlPullParserException
 
- 
uploadFilepublic void uploadFile(long targetDir, File file, String fileName, String language) throws IOException, org.xmlpull.v1.XmlPullParserException - Throws:
- IOException
- org.xmlpull.v1.XmlPullParserException
 
- 
getBaseUrl
- 
getTimeoutpublic int getTimeout()
- 
getDocument- Throws:
- IOException
- org.xmlpull.v1.XmlPullParserException
 
- 
checkinpublic void checkin(long docId, File file) throws IOException, org.xmlpull.v1.XmlPullParserException - Throws:
- IOException
- org.xmlpull.v1.XmlPullParserException
 
- 
checkout- Throws:
- IOException
- org.xmlpull.v1.XmlPullParserException
 
- 
unlock- Throws:
- IOException
- org.xmlpull.v1.XmlPullParserException
 
 
-