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 Summary
Constructors Constructor Description SoapImpexService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addDocumentToExportArchive(String sid, long archiveId, long docId)
Adds a document to an existing export archivevoid
closeExportArchive(String sid, long archiveId)
Closes an export archivelong
createExportArchive(String sid, String name, String description)
Defines a new export archive.void
deleteExportArchive(String sid, long archiveId)
Deletes an export archiveLong
getArchiveIdByName(String sid, String name)
Retrieves the ID of an existing archive
-
-
-
Method Detail
-
createExportArchive
public long createExportArchive(String sid, String name, String description) throws Exception
Description copied from interface:ImpexService
Defines a new export archive.- Specified by:
createExportArchive
in interfaceImpexService
- Parameters:
sid
- Session identifiername
- Name of the archive, mandatorydescription
- Description of the archive, optional- Returns:
- The id of the newly created export archive
- Throws:
Exception
- error in the server
-
addDocumentToExportArchive
public void addDocumentToExportArchive(String sid, long archiveId, long docId) throws Exception
Description copied from interface:ImpexService
Adds a document to an existing export archive- Specified by:
addDocumentToExportArchive
in interfaceImpexService
- Parameters:
sid
- Session identifierarchiveId
- identifier of the archive to be useddocId
- identifier of the document to be added- Throws:
Exception
- error in the server
-
closeExportArchive
public void closeExportArchive(String sid, long archiveId) throws Exception
Description copied from interface:ImpexService
Closes an export archive- Specified by:
closeExportArchive
in interfaceImpexService
- Parameters:
sid
- Session identifierarchiveId
- identifier of the archive to be closed- Throws:
Exception
- error in the server
-
deleteExportArchive
public void deleteExportArchive(String sid, long archiveId) throws Exception
Description copied from interface:ImpexService
Deletes an export archive- Specified by:
deleteExportArchive
in interfaceImpexService
- Parameters:
sid
- Session identifierarchiveId
- identifier of the archive to be closed- Throws:
Exception
- error in the server
-
getArchiveIdByName
public Long getArchiveIdByName(String sid, String name) throws Exception
Description copied from interface:ImpexService
Retrieves the ID of an existing archive- Specified by:
getArchiveIdByName
in interfaceImpexService
- Parameters:
sid
- Session identifiername
- Name of the archive- Returns:
- The id of the archive
- Throws:
Exception
- error in the server
-
-