public interface IngestExternal
Modifier and Type | Method and Description |
---|---|
PreUploadResume |
preUploadAndResume(InputStream input,
String contextId,
GUID guid,
javax.ws.rs.container.AsyncResponse asyncResponse) |
StatusCode |
upload(PreUploadResume preUploadResume,
String xAction,
GUID guid)
upload the file -- store in local, scan for viruses and then check for supported format (ZIP, TAR, ...)
|
PreUploadResume preUploadAndResume(InputStream input, String contextId, GUID guid, javax.ws.rs.container.AsyncResponse asyncResponse) throws IngestExternalException, WorkspaceClientServerException, VitamClientException
input
- contextId
- guid
- asyncResponse
- WorkspaceClientServerException
- error when workspace server is downIngestExternalException
VitamClientException
StatusCode upload(PreUploadResume preUploadResume, String xAction, GUID guid) throws IngestExternalException
preUploadResume
- informations returnedxAction
- guid
- IngestExternalException
- thrown if an error occurred in workflowCopyright © 2019 Vitam. All rights reserved.