Interface IngestExternal
- All Known Implementing Classes:
IngestExternalImpl
public interface IngestExternal
IngestExtern interface
-
Method Summary
Modifier and TypeMethodDescriptionpreUploadAndResume
(InputStream input, String workflowIdentifier, GUID guid, String xAction, javax.ws.rs.container.AsyncResponse asyncResponse) upload
(PreUploadResume preUploadResume, String xAction, GUID guid, String manifestDigestValue, String manifestDigestAlgo) upload the file -- store in local, scan for viruses and then check for supported format (ZIP, TAR, ...)
-
Method Details
-
preUploadAndResume
PreUploadResume preUploadAndResume(InputStream input, String workflowIdentifier, GUID guid, String xAction, javax.ws.rs.container.AsyncResponse asyncResponse) throws IngestExternalException, VitamClientException -
upload
StatusCode upload(PreUploadResume preUploadResume, String xAction, GUID guid, String manifestDigestValue, String manifestDigestAlgo) throws IngestExternalException upload the file -- store in local, scan for viruses and then check for supported format (ZIP, TAR, ...)- Parameters:
preUploadResume
- informations returnedxAction
-guid
-manifestDigestValue
-manifestDigestAlgo
-- Returns:
- Response containing as InputStream the ArchiveTransferReply in XML format
- Throws:
IngestExternalException
- thrown if an error occurred in workflow
-