public class UploadStep extends AbstractSubmissionStep
The form is broken up into three sections:
Part A: Ask the user to upload a file Part B: List previously uploaded files Part C: The standard action bar
| Modifier and Type | Field and Description |
|---|---|
protected ItemService |
itemService |
protected static Message |
T_checksum |
protected static Message |
T_column0 |
protected static Message |
T_column1 |
protected static Message |
T_column2 |
protected static Message |
T_column3 |
protected static Message |
T_column4 |
protected static Message |
T_column5 |
protected static Message |
T_column6 |
protected static Message |
T_description |
protected static Message |
T_description_help |
protected static Message |
T_file |
protected static Message |
T_file_error |
protected static Message |
T_file_help |
protected static Message |
T_head
Language Strings for Uploading
|
protected static Message |
T_head2 |
protected static Message |
T_known |
protected static Message |
T_sherpa_colour |
protected static Message |
T_sherpa_consult |
protected static Message |
T_sherpa_journal |
protected static Message |
T_sherpa_more |
protected static Message |
T_sherpa_publisher |
protected static Message |
T_sherpa_title |
protected static Message |
T_submit_edit |
protected static Message |
T_submit_remove |
protected static Message |
T_submit_upload |
protected static Message |
T_supported |
protected static Message |
T_unknown_format |
protected static Message |
T_unknown_name |
protected static Message |
T_unsupported |
protected static Message |
T_upload_error |
protected static Message |
T_virus_checker_error |
protected static Message |
T_virus_error |
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 |
|---|
UploadStep()
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 |
make_sherpaRomeo_submission(Item item,
Division divIn)
Sherpa romeo submission support
|
void |
setup(org.apache.cocoon.environment.SourceResolver resolver,
Map objectModel,
String src,
org.apache.avalon.framework.parameters.Parameters parameters)
Check if user has requested to edit information about an
uploaded file
|
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_file
protected static final Message T_file_help
protected static final Message T_file_error
protected static final Message T_upload_error
protected static final Message T_virus_checker_error
protected static final Message T_virus_error
protected static final Message T_description
protected static final Message T_description_help
protected static final Message T_submit_upload
protected static final Message T_head2
protected static final Message T_column0
protected static final Message T_column1
protected static final Message T_column2
protected static final Message T_column3
protected static final Message T_column4
protected static final Message T_column5
protected static final Message T_column6
protected static final Message T_unknown_name
protected static final Message T_unknown_format
protected static final Message T_supported
protected static final Message T_known
protected static final Message T_unsupported
protected static final Message T_submit_edit
protected static final Message T_checksum
protected static final Message T_submit_remove
protected static final Message T_sherpa_consult
protected static final Message T_sherpa_title
protected static final Message T_sherpa_journal
protected static final Message T_sherpa_publisher
protected static final Message T_sherpa_colour
protected static final Message T_sherpa_more
protected ItemService itemService
public UploadStep()
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 void make_sherpaRomeo_submission(Item item, Division divIn) throws WingException
WingExceptionpublic 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 © 2016 DuraSpace. All Rights Reserved.