public class ArchiveRemoteService extends Object
The service is called by Imixs-Office-Workflow to load documents from the cassandra archive.
| Constructor and Description |
|---|
ArchiveRemoteService() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
loadFileFromArchive(org.imixs.workflow.FileData fileData)
This method loads the file content for a given md5 checksum directly from the
cassandra archive using the resource
/archive/md5/{md5}
To activate this mechansim the environment variable ARCHIVE_SERVICE_ENDPOINT
must be set to a valid endpoint. |
public byte[] loadFileFromArchive(org.imixs.workflow.FileData fileData)
throws org.imixs.melman.RestAPIException
/archive/md5/{md5}
To activate this mechansim the environment variable ARCHIVE_SERVICE_ENDPOINT must be set to a valid endpoint.
fileData - - fileData object providing the MD5 checksumorg.imixs.melman.RestAPIExceptionCopyright © 2006–2023 Imixs Software Solutions GmbH. All rights reserved.