Class SoapImportFolderService
- java.lang.Object
-
- com.logicaldoc.webservice.AbstractService
-
- com.logicaldoc.importfolder.webservice.soap.endpoint.SoapImportFolderService
-
- All Implemented Interfaces:
ImportFolderService
public class SoapImportFolderService extends com.logicaldoc.webservice.AbstractService implements ImportFolderService
ImportFolder Web Service Implementation- Since:
- 6.1
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description SoapImportFolderService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
delete(String sid, long folderId)
Deletes an imported folder with the given identifierWSImportFolder[]
list(String sid)
Gets folder metadata of all imported folderslong
store(String sid, WSImportFolder folder)
Create/Update an imported folder.
-
-
-
Method Detail
-
list
public WSImportFolder[] list(String sid) throws Exception
Description copied from interface:ImportFolderService
Gets folder metadata of all imported folders- Specified by:
list
in 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 folder) throws Exception
Description copied from interface:ImportFolderService
Create/Update an imported folder. You can completely customize the imported folder through a value object containing the folder's metadata- Specified by:
store
in interfaceImportFolderService
- Parameters:
sid
- Session identifierfolder
- 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 folderId) throws Exception
Description copied from interface:ImportFolderService
Deletes an imported folder with the given identifier- Specified by:
delete
in interfaceImportFolderService
- Parameters:
sid
- Session identifierfolderId
- The folder id- Throws:
Exception
- error in the server
-
-