public class JSPUploadWithEmbargoStep extends JSPUploadStep
This JSPStep class works with the SubmissionController servlet for the JSP-UI
The following methods are called in this order:
SubmissionController,
JSPStep,
org.dspace.app.webui.submit.JSPUploadStep,
UploadStepUPLOAD_ERROR_JSP, VIRUS_CHECKER_ERROR_JSP, VIRUS_ERROR_JSP| Constructor and Description |
|---|
JSPUploadWithEmbargoStep() |
| Modifier and Type | Method and Description |
|---|---|
void |
doPostProcessing(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo,
int status)
Do any post-processing after the step's backend processing occurred (in
the doProcessing() method).
|
java.lang.String |
getReviewJSP(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Return the URL path (e.g.
|
doPreProcessing, showChooseFile, showFileDescription, showGetFileFormat, showUploadFileList, showUploadPagepublic void doPostProcessing(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo, int status) throws javax.servlet.ServletException, java.io.IOException, java.sql.SQLException, AuthorizeException
It is this method's job to determine whether processing completed successfully, or display another JSP informing the users of any potential problems/errors.
If this step doesn't require user interaction OR you are solely using Manakin for your user interface, then this method may be left EMPTY, since all step processing should occur in the doProcessing() method.
doPostProcessing in class JSPUploadStepcontext - current DSpace contextrequest - current servlet request objectresponse - current servlet response objectsubInfo - submission info objectstatus - any status/errors reported by doProcessing() methodjavax.servlet.ServletExceptionjava.io.IOExceptionjava.sql.SQLExceptionAuthorizeExceptionpublic java.lang.String getReviewJSP(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo)
JSPUploadStepThis Review JSP is loaded by the 'Verify' Step, in order to dynamically generate a submission verification page consisting of the information gathered in all the enabled submission steps.
getReviewJSP in class JSPUploadStepcontext - current DSpace contextrequest - current servlet request objectresponse - current servlet response objectsubInfo - submission info objectCopyright © 2018 DuraSpace. All Rights Reserved.