Class SoapArchiveService
- java.lang.Object
-
- com.logicaldoc.webservice.AbstractService
-
- com.logicaldoc.enterprise.webservice.soap.endpoint.SoapArchiveService
-
- All Implemented Interfaces:
ArchiveService
public class SoapArchiveService extends com.logicaldoc.webservice.AbstractService implements ArchiveService
Archive Web Service Implementation- Since:
- 7.2
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description SoapArchiveService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidarchiveDocuments(String sid, long[] docIds, String comment)Archives a set of documentslongarchiveFolder(String sid, long folderId, String comment)Archives all the documents contained in a treecom.logicaldoc.webservice.model.WSDocument[]listArchivedDocs(String sid, long folderId)Lists the archived documentsvoidunarchiveDocuments(String sid, long[] docIds)Restores a set of archived documents
-
-
-
Method Detail
-
listArchivedDocs
public com.logicaldoc.webservice.model.WSDocument[] listArchivedDocs(String sid, long folderId) throws Exception
Description copied from interface:ArchiveServiceLists the archived documents- Specified by:
listArchivedDocsin interfaceArchiveService- Parameters:
sid- Session identifierfolderId- If specified, it searches for all the archived documents inside this folder- Returns:
- The list of archived documents
- Throws:
Exception- error in the server
-
archiveFolder
public long archiveFolder(String sid, long folderId, String comment) throws Exception
Description copied from interface:ArchiveServiceArchives all the documents contained in a tree- Specified by:
archiveFolderin interfaceArchiveService- Parameters:
sid- Session identifierfolderId- All the documents stored inside this folder at whatever depth will be archivedcomment- reason of this action- Returns:
- Number of archived documents
- Throws:
Exception- error in the server
-
archiveDocuments
public void archiveDocuments(String sid, long[] docIds, String comment) throws Exception
Description copied from interface:ArchiveServiceArchives a set of documents- Specified by:
archiveDocumentsin interfaceArchiveService- Parameters:
sid- Session identifierdocIds- All the documents to be archivedcomment- reason of this action- Throws:
Exception- error in the server
-
unarchiveDocuments
public void unarchiveDocuments(String sid, long[] docIds) throws Exception
Description copied from interface:ArchiveServiceRestores a set of archived documents- Specified by:
unarchiveDocumentsin interfaceArchiveService- Parameters:
sid- Session identifierdocIds- All the documents to be restored- Throws:
Exception- error in the server
-
-