Package org.imixs.archive.core.cassandra
Class ArchiveRemoteService
- java.lang.Object
-
- org.imixs.archive.core.cassandra.ArchiveRemoteService
-
public class ArchiveRemoteService extends Object
The ArchiveRemoteService provides a method to load a file form a remote cassandra archive.The service is called by Imixs-Office-Workflow to load documents from the cassandra archive.
- Version:
- 1.2
- Author:
- ralph.soika@imixs.com
-
-
Constructor Summary
Constructors Constructor Description ArchiveRemoteService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
-
-
-
Method Detail
-
loadFileFromArchive
public byte[] loadFileFromArchive(org.imixs.workflow.FileData fileData) throws org.imixs.melman.RestAPIExceptionThis 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.
- Parameters:
fileData- - fileData object providing the MD5 checksum- Throws:
org.imixs.melman.RestAPIException
-
-