Interface ImpexService
- All Superinterfaces:
- com.google.gwt.user.client.rpc.RemoteService
@RemoteServiceRelativePath("impex")
public interface ImpexService
extends com.google.gwt.user.client.rpc.RemoteService
The client side stub for the Impex Service. This service allows r/w
 operations on export archives.
- Since:
- 6.0
- Author:
- Marco Meschieri - LogicalDOC
- 
Nested Class SummaryNested Classes
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddDocuments(long archiveId, List<Long> documentIds) Adds a set of documents(their current versions) to the given archivevoidaddFolder(long archiveId, long folderId) Adds a a folder(the current version of the contained documents at any level)voiddelete(long archiveId) Deletes a specific archive by its identifiervoiddeleteFolder(String folderName) Deletes a folder in impex/in foldervoiddeleteIncremental(long id) Deletes a given incremental configurationdeleteVersions(long archiveId, List<Long> versionIds) Deletes a set of versions from the given archiveload(long archiveId) Loads a given archiveloadIncremental(long id) Loads an incremental configurationsave(GUIArchive archive) Saves/Updates a given archivesaveIncremental(GUIIncrementalArchive incremental) Saves the passed incremental configurationvoidsetStatus(long archiveId, int status) Change the status of the given ArchivevoidstartImport(String folderName) Create a new import archive for the specified bundle folder
- 
Method Details- 
deleteDeletes a specific archive by its identifier- Parameters:
- archiveId- identifier of the archive
- Throws:
- ServerException- an error happened in the server application
 
- 
deleteVersionsDeletes a set of versions from the given archive- Parameters:
- archiveId- identifier of the archive
- versionIds- identifiers od the versions
- Returns:
- the archive
- Throws:
- ServerException- an error happened in the server application
 
- 
setStatusChange the status of the given Archive- Parameters:
- archiveId- identifier of the archive
- status- the status of the archive
- Throws:
- ServerException- an error happened in the server application
 
- 
saveSaves/Updates a given archive- Parameters:
- archive- the archive to save
- Returns:
- the saved archive
- Throws:
- ServerException- an error happened in the server application
 
- 
loadLoads a given archive- Parameters:
- archiveId- identifier of the archive
- Returns:
- the archive retrieved by the server application
- Throws:
- ServerException- an error happened in the server application
 
- 
addDocumentsAdds a set of documents(their current versions) to the given archive- Parameters:
- archiveId- identifier of the archive
- documentIds- identifiers of the documents
- Throws:
- ServerException- an error happened in the server application
 
- 
addFolderAdds a a folder(the current version of the contained documents at any level)- Parameters:
- archiveId- identifier of the archive
- folderId- identifier od the folder to add
- Throws:
- ServerException- an error happened in the server application
 
- 
deleteIncrementalDeletes a given incremental configuration- Parameters:
- id- identifier of the incremental configuration
- Throws:
- ServerException- an error happened in the server application
 
- 
loadIncrementalLoads an incremental configuration- Parameters:
- id- identifier of the incremental configuration
- Returns:
- the configuration retrieved by the server application
- Throws:
- ServerException- an error happened in the server application
 
- 
saveIncrementalSaves the passed incremental configuration- Parameters:
- incremental- the configuration to save
- Returns:
- the saved configuration
- Throws:
- ServerException- an error happened in the server application
 
- 
deleteFolderDeletes a folder in impex/in folder- Parameters:
- folderName- name of the sub-folder
- Throws:
- ServerException- an error happened in the server application
 
- 
startImportCreate a new import archive for the specified bundle folder- Parameters:
- folderName- name of the sub-folder
- Throws:
- ServerException- an error happened in the server application
 
 
-