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 SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidDeletes an imported folder with the given identifierGets folder metadata of all imported folderslongstore(String sid, WSImportFolder wsImportFolder) Create/Update an imported folder.Methods inherited from class com.logicaldoc.webservice.AbstractServiceconvertDateToString, convertStringToDate, getCurrentMessage, isValidateSession, setCurrentMessage, setValidateSession
- 
Constructor Details- 
SoapImportFolderServicepublic SoapImportFolderService()
 
- 
- 
Method Details- 
listpublic List<WSImportFolder> list(String sid) throws FeatureNotEnabledException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException Description copied from interface:ImportFolderServiceGets folder metadata of all imported folders- Specified by:
- listin interface- ImportFolderService
- Parameters:
- sid- Session identifier
- Returns:
- A value object containing the folders metadata
- Throws:
- FeatureNotEnabledException- Feature not enabled in the license
- com.logicaldoc.webservice.WebserviceException- Error in the webservice
- com.logicaldoc.core.PersistenceException- Error in the data layer
 
- 
storepublic long store(String sid, WSImportFolder wsImportFolder) throws com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException, FeatureNotEnabledException 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 interface- ImportFolderService
- Parameters:
- sid- Session identifier
- wsImportFolder- Web service value object containing the folder's metadata
- Returns:
- id of the created/updated import folder
- Throws:
- com.logicaldoc.webservice.WebserviceException- Error in the webservice
- com.logicaldoc.core.PersistenceException- Error in the data layer
- FeatureNotEnabledException- Feature not enabled in the license
 
- 
deletepublic void delete(String sid, long folderId) throws com.logicaldoc.core.PersistenceException, com.logicaldoc.webservice.WebserviceException Description copied from interface:ImportFolderServiceDeletes an imported folder with the given identifier- Specified by:
- deletein interface- ImportFolderService
- Parameters:
- sid- Session identifier
- folderId- The folder id
- Throws:
- com.logicaldoc.core.PersistenceException- Error in the data layer
- com.logicaldoc.webservice.WebserviceException- Error in the webservice
 
 
-