public interface UploadableStep extends ListenerProcessingStep
| Modifier and Type | Method and Description |
|---|---|
ErrorRest |
upload(Context context,
SubmissionService submissionService,
SubmissionStepConfig stepConfig,
InProgressSubmission wsi,
org.springframework.web.multipart.MultipartFile file)
The method to implement to support upload of a file in the submission section (aka panel / step)
|
doPostProcessing, doPreProcessingErrorRest upload(Context context, SubmissionService submissionService, SubmissionStepConfig stepConfig, InProgressSubmission wsi, org.springframework.web.multipart.MultipartFile file) throws IOException
context - the dspace contextsubmissionService - the submission servicestepConfig - the configuration of the submission sectionwsi - the inprogress submissionfile - the multipart file, please note that it is a complex object containing additional information other
than just the binary such as the filename and the mimetypeIOExceptionCopyright © 2019 DuraSpace. All rights reserved.