@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
InvalidSessionException
GUIArchive deleteVersions(String sid, long archiveId, Long[] versionIds) throws InvalidSessionException
InvalidSessionException
void setStatus(String sid, long archiveId, int status) throws InvalidSessionException
InvalidSessionException
GUIArchive save(String sid, GUIArchive archive) throws InvalidSessionException
InvalidSessionException
GUIArchive load(String sid, long archiveId) throws InvalidSessionException
InvalidSessionException
void addDocuments(String sid, long archiveId, long[] documentIds) throws InvalidSessionException
InvalidSessionException
void addFolder(String sid, long archiveId, long rootId) throws InvalidSessionException
InvalidSessionException
void deleteIncremental(String sid, long id) throws InvalidSessionException
InvalidSessionException
GUIIncrementalArchive loadIncremental(String sid, long id) throws InvalidSessionException
InvalidSessionException
GUIIncrementalArchive saveIncremental(String sid, GUIIncrementalArchive incremental) throws InvalidSessionException
InvalidSessionException
void deleteFolder(String sid, String folderName) throws InvalidSessionException
InvalidSessionException
void startImport(String sid, String folderName) throws InvalidSessionException
InvalidSessionException
String 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 signInvalidSessionException
GUIVersion[] verifyArchive(String sid, long archiveId) throws InvalidSessionException
sid
- The session identifierarchiveId
- Identifier of the archive to verifyInvalidSessionException
Copyright © 2008-2014 Logical Objects. All Rights Reserved.