@RemoteServiceRelativePath(value="archive")
public interface ArchiveService
extends com.google.gwt.user.client.rpc.RemoteService
| Modifier and Type | Method and Description |
|---|---|
void |
addDocuments(String sid,
long archiveId,
long[] documentIds)
Adds a set of documents(their current versions) to the given archive
|
void |
addFolder(String sid,
long archiveId,
long rootId)
Adds a a folder(the current version of the contained documents at any level).
|
void |
delete(String sid,
long archiveId)
Deletes a specific archive by its ID
|
void |
deleteFolder(String sid,
String folderName)
Deletes a folder in impex/in folder.
|
void |
deleteIncremental(String sid,
long id)
Deletes a given incremental configuration
|
GUIArchive |
deleteVersions(String sid,
long archiveId,
Long[] versionIds)
Deletes a set of versions from the given archive
|
GUIArchive |
load(String sid,
long archiveId)
Loads a given archive
|
GUIIncrementalArchive |
loadIncremental(String sid,
long id)
Loads an incremental configuration
|
GUIArchive |
save(String sid,
GUIArchive archive)
Saves/Updates a given archive
|
GUIIncrementalArchive |
saveIncremental(String sid,
GUIIncrementalArchive incremental)
Saves the passed incremental configuration
|
void |
setStatus(String sid,
long archiveId,
int status)
Change the status of the given Archive
|
String |
signArchive(String sid,
long userId,
long archiveId)
Verifies the user signature file, extracts the original file contained
into the uploaded m7m file and checks if its digest and the archive's
file digest are equals, then signs and marks the archive.
|
void |
startImport(String sid,
String folderName)
Create a new import archive for the specified bundle folder
|
GUIVersion[] |
verifyArchive(String sid,
long archiveId)
Verifies the archive with the given identifier.
|
void delete(String sid, long archiveId) throws InvalidSessionException
InvalidSessionExceptionGUIArchive deleteVersions(String sid, long archiveId, Long[] versionIds) throws InvalidSessionException
InvalidSessionExceptionvoid setStatus(String sid, long archiveId, int status) throws InvalidSessionException
InvalidSessionExceptionGUIArchive save(String sid, GUIArchive archive) throws InvalidSessionException
InvalidSessionExceptionGUIArchive load(String sid, long archiveId) throws InvalidSessionException
InvalidSessionExceptionvoid addDocuments(String sid, long archiveId, long[] documentIds) throws InvalidSessionException
InvalidSessionExceptionvoid addFolder(String sid, long archiveId, long rootId) throws InvalidSessionException
InvalidSessionExceptionvoid deleteIncremental(String sid, long id) throws InvalidSessionException
InvalidSessionExceptionGUIIncrementalArchive loadIncremental(String sid, long id) throws InvalidSessionException
InvalidSessionExceptionGUIIncrementalArchive saveIncremental(String sid, GUIIncrementalArchive incremental) throws InvalidSessionException
InvalidSessionExceptionvoid deleteFolder(String sid, String folderName) throws InvalidSessionException
InvalidSessionExceptionvoid startImport(String sid, String folderName) throws InvalidSessionException
InvalidSessionExceptionString signArchive(String sid, long userId, long archiveId) throws InvalidSessionException
sid - The session identifieruserid - Identifier of the user that is performing the signaturearchiveId - Identifier of the archive to signInvalidSessionExceptionGUIVersion[] verifyArchive(String sid, long archiveId) throws InvalidSessionException
sid - The session identifierarchiveId - Identifier of the archive to verifyInvalidSessionExceptionCopyright © 2008-2014 Logical Objects. All Rights Reserved.