Interface IngestExternal
-
- All Known Implementing Classes:
IngestExternalImpl
public interface IngestExternal
IngestExtern interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PreUploadResume
preUploadAndResume(java.io.InputStream input, java.lang.String workflowIdentifier, GUID guid, java.lang.String xAction, javax.ws.rs.container.AsyncResponse asyncResponse)
StatusCode
upload(PreUploadResume preUploadResume, java.lang.String xAction, GUID guid, java.lang.String manifestDigestValue, java.lang.String manifestDigestAlgo)
upload the file -- store in local, scan for viruses and then check for supported format (ZIP, TAR, ...)
-
-
-
Method Detail
-
preUploadAndResume
PreUploadResume preUploadAndResume(java.io.InputStream input, java.lang.String workflowIdentifier, GUID guid, java.lang.String xAction, javax.ws.rs.container.AsyncResponse asyncResponse) throws IngestExternalException, VitamClientException
-
upload
StatusCode upload(PreUploadResume preUploadResume, java.lang.String xAction, GUID guid, java.lang.String manifestDigestValue, java.lang.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
-
-