public class JSPVerifyStep extends JSPStep
This JSPStepManager class works with the SubmissionController servlet for the JSP-UI
The following methods are called in this order:
SubmissionController,
JSPStep,
VerifyStep| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VERIFY_JSP
JSP which displays initial questions *
|
| Constructor and Description |
|---|
JSPVerifyStep() |
| 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 pre-processing to determine which JSP (if any) is used to generate
the UI for this step.
|
void |
doPreProcessing(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Do any pre-processing to determine which JSP (if any) is used to generate
the UI for this step.
|
java.lang.String |
getReviewJSP(Context context,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
SubmissionInfo subInfo)
Return the URL path (e.g.
|
public static final java.lang.String VERIFY_JSP
public void doPreProcessing(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, SubmissionInfo subInfo) throws javax.servlet.ServletException, java.io.IOException, java.sql.SQLException, AuthorizeException
If this step requires user interaction, then this method must call the JSP to display, using the "showJSP()" method of the JSPStepManager class.
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.
doPreProcessing in class JSPStepcontext - current DSpace contextrequest - current servlet request objectresponse - current servlet response objectsubInfo - submission info objectjavax.servlet.ServletExceptionjava.io.IOExceptionjava.sql.SQLExceptionAuthorizeExceptionpublic 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
If this step requires user interaction, then this method must call the JSP to display, using the "showJSP()" method of the JSPStepManager class.
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 JSPStepcontext - 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)
This 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 JSPStepcontext - current DSpace contextrequest - current servlet request objectresponse - current servlet response objectsubInfo - submission info objectCopyright © 2018 DuraSpace. All Rights Reserved.