Interface ImportFolderService
- All Known Implementing Classes:
- SoapImportFolderClient,- SoapImportFolderService
public interface ImportFolderService
WebService administration of import folders
- Since:
- 6.1
- Author:
- Marco Meschieri - LogicalDOC
- 
Method SummaryModifier and TypeMethodDescriptionvoidDeletes an imported folder with the given identifierGets folder metadata of all imported folderslongstore(String sid, WSImportFolder folder) Create/Update an imported folder.
- 
Method Details- 
listList<WSImportFolder> list(String sid) throws FeatureNotEnabledException, com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException Gets folder metadata of all imported folders- Parameters:
- sid- Session identifier
- Returns:
- A value object containing the folders metadata
- Throws:
- FeatureNotEnabledException- Feature not enabled in the license
- com.logicaldoc.core.PersistenceException- Error in the data layer
- com.logicaldoc.webservice.WebserviceException- Error in the webservice
 
- 
storelong store(String sid, WSImportFolder folder) throws com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException, FeatureNotEnabledException Create/Update an imported folder. You can completely customize the imported folder through a value object containing the folder's metadata- Parameters:
- sid- Session identifier
- folder- Web service value object containing the folder's metadata
- Returns:
- id of the created/updated import folder
- Throws:
- FeatureNotEnabledException- Feature not enabled in the license
- com.logicaldoc.core.PersistenceException- Error in the data layer
- com.logicaldoc.webservice.WebserviceException- Error in the webservice
 
- 
deletevoid delete(String sid, long folderId) throws com.logicaldoc.core.PersistenceException, com.logicaldoc.webservice.WebserviceException Deletes an imported folder with the given identifier- 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
 
 
-