public class CCLicenseStep extends AbstractSubmissionStep
This class is called by org.dspace.app.xmlui.submission.step.LicenseStep when the Creative Commons license is enabled
The form is divided into three major divisions: 1) A global div surrounds the whole page, 2) a specific interactive div displays the button that goes off to the creative commons website to select a license, and 3) a local division that displays the selected license and standard action bar.
| Modifier and Type | Field and Description |
|---|---|
protected CreativeCommonsService |
creativeCommonsService |
protected static Message |
T_ccws_error |
protected static Message |
T_head
Language Strings
|
protected static Message |
T_info1 |
protected static Message |
T_license |
protected static Message |
T_no_license |
protected static Message |
T_save_changes |
protected static Message |
T_select |
protected static Message |
T_select_change |
protected static Message |
T_submit_issue_creative_commons |
protected static Message |
T_submit_remove |
protected static Message |
T_submit_to_creative_commons |
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_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 |
|---|
CCLicenseStep()
Establish our required parameters, abstractStep will enforce these.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addBody(Body body)
Abstract implementations of WingTransformer.
|
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
|
addControlButtons, addJumpButton, addPageMeta, addSubmissionProgressList, getErrorFields, getMaxStepAndPageReached, getPage, getStep, isFirstStep, isLastStep, setupaddOptions, 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_select
protected static final Message T_info1
protected static final Message T_submit_to_creative_commons
protected static final Message T_submit_issue_creative_commons
protected static final Message T_license
protected static final Message T_submit_remove
protected static final Message T_no_license
protected static final Message T_select_change
protected static final Message T_save_changes
protected static final Message T_ccws_error
protected CreativeCommonsService creativeCommonsService
public CCLicenseStep()
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 - whenever.WingException - whenever.UIException - whenever.SQLException - whenever.IOException - whenever.AuthorizeException - whenever.public void recycle()
recycle in interface org.apache.avalon.excalibur.pool.Recyclablerecycle in class AbstractStepCopyright © 2016 DuraSpace. All rights reserved.