org.dspace.app.xmlui.aspect.submission.submit
Class AccessStepUtil

java.lang.Object
  extended by org.apache.cocoon.util.AbstractLogEnabled
      extended by org.apache.cocoon.xml.AbstractXMLProducer
          extended by org.apache.cocoon.xml.AbstractXMLPipe
              extended by org.apache.cocoon.transformation.AbstractTransformer
                  extended by org.dspace.app.xmlui.wing.AbstractWingTransformer
                      extended by org.dspace.app.xmlui.cocoon.AbstractDSpaceTransformer
                          extended by org.dspace.app.xmlui.aspect.submission.submit.AccessStepUtil
All Implemented Interfaces:
org.apache.avalon.excalibur.pool.Poolable, org.apache.avalon.excalibur.pool.Recyclable, org.apache.cocoon.sitemap.SitemapModelComponent, org.apache.cocoon.transformation.Transformer, org.apache.cocoon.xml.XMLPipe, org.apache.cocoon.xml.XMLProducer, org.apache.excalibur.xml.sax.XMLConsumer, DSpaceTransformer, WingTransformer, ContentHandler, LexicalHandler

public class AccessStepUtil
extends AbstractDSpaceTransformer

This class represents a query which the discovery backend can use

Author:
Fabio Bolognesi (fabio at atmire dot com), Mark Diggory (markd at atmire dot com), Ben Bosman (ben at atmire dot com)

Field Summary
static int RADIO_OPEN_ACCESS_ITEM_EMBARGOED
           
static int RADIO_OPEN_ACCESS_ITEM_VISIBLE
           
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_error_date_format
           
protected static Message T_error_duplicated_policy
           
protected static Message T_error_missing_date
           
protected static Message T_groups
           
protected static Message T_head_policies_table
           
protected static Message T_item_embargoed
           
protected static Message T_item_will_be_visible
           
protected static Message T_name
           
protected static Message T_radios_embargo
           
protected static Message T_reason
           
protected static Message T_table_submit_delete
           
protected static Message T_table_submit_edit
           
 
Fields inherited from class org.dspace.app.xmlui.cocoon.AbstractDSpaceTransformer
contextPath, eperson, knot, objectModel, parameters, servletPath, sitemapURI, url
 
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
 
Fields inherited from interface org.apache.cocoon.transformation.Transformer
ROLE
 
Constructor Summary
AccessStepUtil(Context c)
           
 
Method Summary
 void addAccessRadios(String selectedRadio, String date, List form, int errorFlag, DSpaceObject dso)
           
 void addEmbargoDateSimpleForm(DSpaceObject dso, List form, int errorFlag)
           
 void addListGroups(String groupID, List form, int errorFlag, Collection owningCollection)
           
 void addName(String name_, List form, int errorFlag)
           
 void addReason(String reason_, List form, int errorFlag)
           
 void addTablePolicies(Division div, DSpaceObject dso)
           
 
Methods inherited from class org.dspace.app.xmlui.cocoon.AbstractDSpaceTransformer
addBody, addOptions, addPageMeta, addUserMeta, decodeFromURL, dispose, encodeForURL, generateURL, getComponentName, getObjectManager, handleException, recycle, setup
 
Methods inherited from class org.dspace.app.xmlui.wing.AbstractWingTransformer
createWingDocument, endDocument, endElement, endPrefixMapping, getDefaultMessageCatalogue, message, message, setupWing, startDocument, startElement, startPrefixMapping
 
Methods inherited from class org.apache.cocoon.xml.AbstractXMLPipe
characters, comment, endCDATA, endDTD, endEntity, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startCDATA, startDTD, startEntity
 
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandler
 
Methods inherited from class org.apache.cocoon.util.AbstractLogEnabled
getLogger, setLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity
 
Methods inherited from interface org.xml.sax.ext.LexicalHandler
comment, endCDATA, endDTD, endEntity, startCDATA, startDTD, startEntity
 
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer
 

Field Detail

T_name

protected static final Message T_name

T_reason

protected static final Message T_reason

T_radios_embargo

protected static final Message T_radios_embargo

T_groups

protected static final Message T_groups

T_item_will_be_visible

protected static final Message T_item_will_be_visible

T_item_embargoed

protected static final Message T_item_embargoed

T_error_date_format

protected static final Message T_error_date_format

T_error_missing_date

protected static final Message T_error_missing_date

T_error_duplicated_policy

protected static final Message T_error_duplicated_policy

T_head_policies_table

protected static final Message T_head_policies_table

T_column0

protected static final Message T_column0

T_column1

protected static final Message T_column1

T_column2

protected static final Message T_column2

T_column3

protected static final Message T_column3

T_column4

protected static final Message T_column4

T_table_submit_edit

protected static final Message T_table_submit_edit

T_table_submit_delete

protected static final Message T_table_submit_delete

RADIO_OPEN_ACCESS_ITEM_VISIBLE

public static final int RADIO_OPEN_ACCESS_ITEM_VISIBLE
See Also:
Constant Field Values

RADIO_OPEN_ACCESS_ITEM_EMBARGOED

public static final int RADIO_OPEN_ACCESS_ITEM_EMBARGOED
See Also:
Constant Field Values
Constructor Detail

AccessStepUtil

public AccessStepUtil(Context c)
Method Detail

addName

public void addName(String name_,
                    List form,
                    int errorFlag)
             throws WingException
Throws:
WingException

addReason

public void addReason(String reason_,
                      List form,
                      int errorFlag)
               throws WingException
Throws:
WingException

addListGroups

public void addListGroups(String groupID,
                          List form,
                          int errorFlag,
                          Collection owningCollection)
                   throws WingException,
                          SQLException
Throws:
WingException
SQLException

addAccessRadios

public void addAccessRadios(String selectedRadio,
                            String date,
                            List form,
                            int errorFlag,
                            DSpaceObject dso)
                     throws WingException,
                            SQLException
Throws:
WingException
SQLException

addEmbargoDateSimpleForm

public void addEmbargoDateSimpleForm(DSpaceObject dso,
                                     List form,
                                     int errorFlag)
                              throws SQLException,
                                     WingException
Throws:
SQLException
WingException

addTablePolicies

public void addTablePolicies(Division div,
                             DSpaceObject dso)
                      throws WingException,
                             SQLException
Throws:
WingException
SQLException


Copyright © 2012 DuraSpace. All Rights Reserved.