public class ReviewStep extends AbstractSubmissionStep
This step is dynamic, since when using the Configurable Submission it is unknown what steps are available and in what order.
This step builds a form with which consists of a separate section for each step which implements the "addReviewSection()" method of AbstractSubmissionStep class.
| Modifier and Type | Field and Description |
|---|---|
protected static Message |
T_head
Language Strings
|
protected static Message |
T_known |
protected static Message |
T_no |
protected static Message |
T_no_metadata |
protected static Message |
T_submit_jump |
protected static Message |
T_supported |
protected static Message |
T_unknown |
protected static Message |
T_yes |
errorFields, errorFlag, handle, id, requireHandle, requireStep, requireSubmission, requireWorkflow, requireWorkspace, stepAndPage, submission, submissionInfo, T_complete, T_creative_commons, T_default_title, T_default_trail, T_describe, T_dspace_home, T_initial_questions, T_license, T_next, T_previous, T_review, T_save, T_showfull, T_showsimple, T_submission_head, T_submission_title, T_submission_trail, T_upload, T_workflow_head, T_workflow_title, T_workflow_trailcontext, contextPath, eperson, knot, objectModel, parameters, servletPath, sitemapURI, url| Constructor and Description |
|---|
ReviewStep()
Establish our required parameters, abstractStep will enforce these.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBody(Body body)
What to add at the end of the body
|
List |
addReviewSection(List reviewList)
Each submission step must define its own information to be reviewed
during the final Review/Verify Step in the submission process.
|
void |
setup(org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String src,
org.apache.avalon.framework.parameters.Parameters parameters)
Save these setup parameters, to use for loading up
the previous step's review information
|
addControlButtons, addJumpButton, addPageMeta, addSubmissionProgressList, getErrorFields, getMaxStepAndPageReached, getPage, getStep, isFirstStep, isLastStep, recycleaddOptions, addUserMeta, decodeFromURL, dispose, encodeForURL, generateURL, getComponentName, getObjectManager, handleExceptioncreateWingDocument, endDocument, endElement, endPrefixMapping, getDefaultMessageCatalogue, message, message, setupWing, startDocument, startElement, startPrefixMappingcharacters, comment, endCDATA, endDTD, endEntity, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDTD, startEntitysetConsumer, setContentHandler, setLexicalHandlerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcharacters, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntitycomment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntityprotected static final Message T_head
protected static final Message T_yes
protected static final Message T_no
protected static final Message T_submit_jump
protected static final Message T_no_metadata
protected static final Message T_unknown
protected static final Message T_known
protected static final Message T_supported
public ReviewStep()
public void setup(org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String src,
org.apache.avalon.framework.parameters.Parameters parameters)
throws org.apache.cocoon.ProcessingException,
SAXException,
IOException
setup in interface org.apache.cocoon.sitemap.SitemapModelComponentsetup in class AbstractSteporg.apache.cocoon.ProcessingExceptionSAXExceptionIOExceptionpublic void addBody(Body body) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException
AbstractDSpaceTransformeraddBody in interface DSpaceTransformeraddBody in interface WingTransformeraddBody in class AbstractDSpaceTransformerSAXExceptionWingExceptionUIExceptionSQLExceptionIOExceptionAuthorizeExceptionpublic List addReviewSection(List reviewList) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException
The information to review should be tacked onto the passed in List object.
NOTE: To remain consistent across all Steps, you should first add a sub-List object (with this step's name as the heading), by using a call to reviewList.addList(). This sublist is the list you return from this method!
addReviewSection in class AbstractSubmissionStepreviewList - The List to which all reviewable information should be addedSAXExceptionWingExceptionUIExceptionSQLExceptionIOExceptionAuthorizeExceptionCopyright © 2015 DuraSpace. All Rights Reserved.