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 Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidaddDocuments(long archiveId, 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, 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
-
delete
Deletes a specific archive by its identifier- Parameters:
archiveId- identifier of the archive- Throws:
ServerException- an error happened in the server application
-
deleteVersions
Deletes a set of versions from the given archive- Parameters:
archiveId- identifier of the archiveversionIds- identifiers od the versions- Returns:
- the archive
- Throws:
ServerException- an error happened in the server application
-
setStatus
Change the status of the given Archive- Parameters:
archiveId- identifier of the archivestatus- the status of the archive- Throws:
ServerException- an error happened in the server application
-
save
Saves/Updates a given archive- Parameters:
archive- the archive to save- Returns:
- the saved archive
- Throws:
ServerException- an error happened in the server application
-
load
Loads 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
-
addDocuments
Adds a set of documents(their current versions) to the given archive- Parameters:
archiveId- identifier of the archivedocumentIds- identifiers of the documents- Throws:
ServerException- an error happened in the server application
-
addFolder
Adds a a folder(the current version of the contained documents at any level)- Parameters:
archiveId- identifier of the archivefolderId- identifier od the folder to add- Throws:
ServerException- an error happened in the server application
-
deleteIncremental
Deletes a given incremental configuration- Parameters:
id- identifier of the incremental configuration- Throws:
ServerException- an error happened in the server application
-
loadIncremental
Loads 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
-
saveIncremental
Saves the passed incremental configuration- Parameters:
incremental- the configuration to save- Returns:
- the saved configuration
- Throws:
ServerException- an error happened in the server application
-
deleteFolder
Deletes a folder in impex/in folder- Parameters:
folderName- name of the sub-folder- Throws:
ServerException- an error happened in the server application
-
startImport
Create 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
-