public interface IngestInternalClient extends OperationManagementClient
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
downloadObjectAsync(String objectId,
IngestCollection type)
Download object stored by ingest operation
|
void |
storeATR(GUID guid,
InputStream input)
Store ATR in storage
|
void |
upload(InputStream inputStream,
javax.ws.rs.core.MediaType archiveType,
String contextId)
Upload compressed SIP as stream
|
void |
uploadFinalLogbook(Iterable<LogbookOperationParameters> logbookParametersList)
Finalize the ingest operation by sending back the final Logbook Operation entries from Ingest external
|
javax.ws.rs.core.Response |
uploadInitialLogbook(Iterable<LogbookOperationParameters> logbookParametersList)
Create only Logbook
|
cancelOperationProcessExecution, executeOperationProcess, getOperationProcessExecutionDetails, getOperationProcessStatus, getWorkflowDefinitions, initVitamProcess, initWorkFlow, listOperationsDetails, updateOperationActionProcess
checkStatus, checkStatus, close, consumeAnyEntityAndClose, getResourcePath, getServiceUrl
void upload(InputStream inputStream, javax.ws.rs.core.MediaType archiveType, String contextId) throws VitamException
archiveType
- is a format (mime type) of SIP (should be zip ,tar, tar.gz or tar.bz2)inputStream
- SIPcontextId
- context IdentifierVitamException
- if stream is nulljavax.ws.rs.core.Response uploadInitialLogbook(Iterable<LogbookOperationParameters> logbookParametersList) throws VitamException
logbookParametersList
- VitamException
void uploadFinalLogbook(Iterable<LogbookOperationParameters> logbookParametersList) throws VitamClientException
logbookParametersList
- VitamClientException
javax.ws.rs.core.Response downloadObjectAsync(String objectId, IngestCollection type) throws InvalidParseOperationException, IngestInternalClientServerException, IngestInternalClientNotFoundException
objectId
- type
- InvalidParseOperationException
IngestInternalClientServerException
IngestInternalClientNotFoundException
void storeATR(GUID guid, InputStream input) throws VitamClientException
guid
- input
- VitamClientException
Copyright © 2018 Vitam. All rights reserved.