public interface ArchiveManager extends Remote
Performs the following operations.
Modifier and Type | Method and Description |
---|---|
void |
emptyArchive(long archiveId)
Empties a given Archive.
|
Item |
restoreFromArchive(long archiveId,
long sourceId,
NamedValue[] options)
Restores a document/folder specified by sourceId into the location
specified by DESTFOLDER option from the Archive.
|
void |
setArchiveConfiguration(long archiveId,
NamedValue[] attributes)
Sets the Archive configuration.
|
void emptyArchive(long archiveId) throws FdkException
archiveId
- The Id of archive to be emptiedFdkException
- If the operation failsvoid setArchiveConfiguration(long archiveId, NamedValue[] attributes) throws FdkException
archiveId
- the Archive for which to set the configurationattributes
- the Archive configuration options to set;
must include one or more of the following Attributes:
FdkException
- if the operation fails.Item restoreFromArchive(long archiveId, long sourceId, NamedValue[] options) throws FdkException
archiveId
- The ArchivesourceId
- The document to be restoredoptions
- The attributes specified for restore,such as destination folder
FdkException
- If the operation failsCopyright © 2023. All rights reserved.