Class SoapImpexService
java.lang.Object
com.logicaldoc.webservice.AbstractService
com.logicaldoc.impex.webservice.soap.endpoint.SoapImpexService
- All Implemented Interfaces:
- ImpexService
public class SoapImpexService
extends com.logicaldoc.webservice.AbstractService
implements ImpexService
Document Metadata Web Service Implementation
- Since:
- 6.1
- Author:
- Matteo Caruso - LogicalDOC
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddDocumentToExportArchive(String sid, long archiveId, long docId) Adds a document to an existing export archivevoidcloseExportArchive(String sid, long archiveId) Closes an export archivelongcreateExportArchive(String sid, String name, String description) Defines a new export archive.voiddeleteExportArchive(String sid, long archiveId) Deletes an export archivegetArchiveIdByName(String sid, String name) Retrieves the ID of an existing archiveMethods inherited from class com.logicaldoc.webservice.AbstractServiceconvertDateToString, convertStringToDate, getCurrentMessage, isValidateSession, setCurrentMessage, setValidateSession
- 
Constructor Details- 
SoapImpexServicepublic SoapImpexService()
 
- 
- 
Method Details- 
createExportArchivepublic long createExportArchive(String sid, String name, String description) throws com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException Description copied from interface:ImpexServiceDefines a new export archive.- Specified by:
- createExportArchivein interface- ImpexService
- Parameters:
- sid- Session identifier
- name- Name of the archive, mandatory
- description- Description of the archive, optional
- Returns:
- The id of the newly created export archive
- Throws:
- com.logicaldoc.webservice.WebserviceException- Error in the webservice
- com.logicaldoc.core.PersistenceException- Error in the data layer
 
- 
addDocumentToExportArchivepublic void addDocumentToExportArchive(String sid, long archiveId, long docId) throws com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException Description copied from interface:ImpexServiceAdds a document to an existing export archive- Specified by:
- addDocumentToExportArchivein interface- ImpexService
- Parameters:
- sid- Session identifier
- archiveId- identifier of the archive to be used
- docId- identifier of the document to be added
- Throws:
- com.logicaldoc.webservice.WebserviceException- Error in the webservice
- com.logicaldoc.core.PersistenceException- Error in the data layer
 
- 
closeExportArchivepublic void closeExportArchive(String sid, long archiveId) throws com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException Description copied from interface:ImpexServiceCloses an export archive- Specified by:
- closeExportArchivein interface- ImpexService
- Parameters:
- sid- Session identifier
- archiveId- identifier of the archive to be closed
- Throws:
- com.logicaldoc.webservice.WebserviceException- Error in the webservice
- com.logicaldoc.core.PersistenceException- Error in the data layer
 
- 
deleteExportArchivepublic void deleteExportArchive(String sid, long archiveId) throws com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException Description copied from interface:ImpexServiceDeletes an export archive- Specified by:
- deleteExportArchivein interface- ImpexService
- Parameters:
- sid- Session identifier
- archiveId- identifier of the archive to be closed
- Throws:
- com.logicaldoc.webservice.WebserviceException- Error in the webservice
- com.logicaldoc.core.PersistenceException- Error in the data layer
 
- 
getArchiveIdByNamepublic Long getArchiveIdByName(String sid, String name) throws com.logicaldoc.webservice.WebserviceException, com.logicaldoc.core.PersistenceException Description copied from interface:ImpexServiceRetrieves the ID of an existing archive- Specified by:
- getArchiveIdByNamein interface- ImpexService
- Parameters:
- sid- Session identifier
- name- Name of the archive
- Returns:
- The id of the archive
- Throws:
- com.logicaldoc.webservice.WebserviceException- Error in the webservice
- com.logicaldoc.core.PersistenceException- Error in the data layer
 
 
-