Class SoapImportFolderClient
- java.lang.Object
-
- com.logicaldoc.webservice.soap.client.SoapClient<ImportFolderService>
-
- com.logicaldoc.importfolder.webservice.soap.client.SoapImportFolderClient
-
- All Implemented Interfaces:
ImportFolderService
public class SoapImportFolderClient extends com.logicaldoc.webservice.soap.client.SoapClient<ImportFolderService> implements ImportFolderService
-
-
Constructor Summary
Constructors Constructor Description SoapImportFolderClient(String endpoint)SoapImportFolderClient(String endpoint, int gzipThreshold, boolean log, int timeout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(String sid, long id)Deletes an imported folder with the given identifierWSImportFolder[]list(String sid)Gets folder metadata of all imported folderslongstore(String sid, WSImportFolder importFolder)Create/Update an imported folder.
-
-
-
Constructor Detail
-
SoapImportFolderClient
public SoapImportFolderClient(String endpoint, int gzipThreshold, boolean log, int timeout) throws IOException
- Throws:
IOException
-
SoapImportFolderClient
public SoapImportFolderClient(String endpoint) throws IOException
- Throws:
IOException
-
-
Method Detail
-
list
public WSImportFolder[] list(String sid) throws Exception
Description copied from interface:ImportFolderServiceGets folder metadata of all imported folders- Specified by:
listin interfaceImportFolderService- Parameters:
sid- Session identifier- Returns:
- A value object containing the folders metadata
- Throws:
Exception- error in the server
-
store
public long store(String sid, WSImportFolder importFolder) throws Exception
Description copied from interface:ImportFolderServiceCreate/Update an imported folder. You can completely customize the imported folder through a value object containing the folder's metadata- Specified by:
storein interfaceImportFolderService- Parameters:
sid- Session identifierimportFolder- Web service value object containing the folder's metadata- Returns:
- id of the created/updated import folder
- Throws:
Exception- error in the server
-
delete
public void delete(String sid, long id) throws Exception
Description copied from interface:ImportFolderServiceDeletes an imported folder with the given identifier- Specified by:
deletein interfaceImportFolderService- Parameters:
sid- Session identifierid- The folder id- Throws:
Exception- error in the server
-
-