public class DescribeStep extends AbstractSubmissionStep
| Modifier and Type | Field and Description |
|---|---|
protected ChoiceAuthorityService |
choiceAuthorityService |
protected DCInputsReader |
inputsReader |
protected ItemService |
itemService |
protected MetadataAuthorityService |
metadataAuthorityService |
protected static Message |
T_day |
protected static Message |
T_first_name_help |
protected static Message |
T_head
Language Strings
|
protected static Message |
T_last_name_help |
protected static Message |
T_month |
protected static Message |
T_report_no |
protected static Message |
T_required_field |
protected static Message |
T_series_name |
protected static Message |
T_unknown_field |
protected static Message |
T_year |
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 |
|---|
DescribeStep()
Establish our required parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBody(Body body)
Abstract implementations of WingTransformer.
|
void |
addPageMeta(PageMeta pageMeta)
Base pageMeta that is added to ALL submission stages
|
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 |
recycle()
Recycle.
|
void |
setup(org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String src,
org.apache.avalon.framework.parameters.Parameters parameters)
Grab all the page's parameters from the sitemap.
|
addControlButtons, addJumpButton, addSubmissionProgressList, getErrorFields, getMaxStepAndPageReached, getPage, getStep, isFirstStep, isLastStepaddOptions, 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_unknown_field
protected static final Message T_required_field
protected static final Message T_last_name_help
protected static final Message T_first_name_help
protected static final Message T_year
protected static final Message T_month
protected static final Message T_day
protected static final Message T_series_name
protected static final Message T_report_no
protected ItemService itemService
protected ChoiceAuthorityService choiceAuthorityService
protected MetadataAuthorityService metadataAuthorityService
protected DCInputsReader inputsReader
public DescribeStep()
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
AbstractStepsetup in interface org.apache.cocoon.sitemap.SitemapModelComponentsetup in class AbstractStepresolver - source resolver.objectModel - TBDsrc - TBDparameters - sitemap parameters.org.apache.cocoon.ProcessingException - passed through.SAXException - passed through.IOException - passed through.public void addPageMeta(PageMeta pageMeta) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException
AbstractStepaddPageMeta in interface DSpaceTransformeraddPageMeta in interface WingTransformeraddPageMeta in class AbstractSteppageMeta - to be added.SAXException - passed through.WingException - passed through.UIException - passed through.SQLException - passed through.IOException - passed through.AuthorizeException - passed through.public void addBody(Body body) throws SAXException, WingException, UIException, SQLException, IOException, AuthorizeException
AbstractWingTransformeraddBody in interface DSpaceTransformeraddBody in interface WingTransformeraddBody in class AbstractDSpaceTransformerbody - to be added.SAXException - whenever.WingException - whenever.UIException - whenever.SQLException - whenever.IOException - whenever.AuthorizeException - whenever.public 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 addedSAXException - passed through.WingException - passed through.UIException - on reader error.SQLException - passed through.IOException - passed through.AuthorizeException - passed through.public void recycle()
AbstractWingTransformerrecycle in interface org.apache.avalon.excalibur.pool.Recyclablerecycle in class AbstractStepCopyright © 2017 DuraSpace. All rights reserved.