Package org.dspace.app.util

Examples of org.dspace.app.util.DCInputsReader


        if (pluginNames == null)
        {
            try
            {
                if (dci == null)
                    dci = new DCInputsReader();
            }
            catch (DCInputsReaderException e)
            {
                log.error("Failed reading DCInputs initialization: ",e);
            }
View Full Code Here


        if (inputsReader == null)
        {
            // read configurable submissions forms data
            try
            {
                inputsReader = new DCInputsReader();
            }
            catch (DCInputsReaderException e)
            {
                throw new ServletException(e);
            }
View Full Code Here

     */
    public static DCInputsReader getInputsReader(String filename) throws ServletException
    {
        try
        {
            inputsReader = new DCInputsReader(filename);
        }
        catch (DCInputsReaderException e)
        {
            throw new ServletException(e);
        }
View Full Code Here

        Collection c = subInfo.getSubmissionItem().getCollection();

        try
        {
            // read configurable submissions forms data
            DCInputsReader inputsReader = new DCInputsReader();
            
            // load the proper submission inputs to be used by the JSP
            request.setAttribute("submission.inputs", inputsReader.getInputs(c
                    .getHandle()));
        }
        catch (DCInputsReaderException e)
        {
            throw new ServletException(e);
View Full Code Here

        if (subInfo != null)
        {
            Collection c = subInfo.getSubmissionItem().getCollection();
            try
            {
                DCInputsReader inputsReader = new DCInputsReader();
                request.setAttribute("submission.inputs", inputsReader.getInputs(c
                        .getHandle()));
            }
            catch (DCInputsReaderException e)
            {
                throw new ServletException(e);
View Full Code Here

                    if (subInfo != null)
                    {
                        try
                        {
                            Collection c = subInfo.getSubmissionItem().getCollection();
                            DCInputsReader inputsReader = new DCInputsReader();
                            request.setAttribute("submission.inputs", inputsReader
                                    .getInputs(c.getHandle()));
                        }
                        catch (DCInputsReaderException e)
                        {
                            throw new ServletException(e);
View Full Code Here

     * called multiple times with no ill-effect.
     */
    private static void initializeInputsReader() throws DCInputsReaderException
    {
        if (INPUTS_READER == null)
            INPUTS_READER = new DCInputsReader();
    }
View Full Code Here

        {
            try
            {
                if (dci == null)
                {
                    dci = new DCInputsReader();
                }
            }
            catch (DCInputsReaderException e)
            {
                log.error("Failed reading DCInputs initialization: ",e);
View Full Code Here

    public void init(Curator curator, String taskId) throws IOException
    {
        super.init(curator, taskId);
        try
        {
            reader = new DCInputsReader();
        }
        catch (DCInputsReaderException dcrE)
        {
            throw new IOException(dcrE.getMessage(), dcrE);
        }
View Full Code Here

        if (inputsReader == null)
        {
            // read configurable submissions forms data
            try
            {
                inputsReader = new DCInputsReader();
            }
            catch (DCInputsReaderException e)
            {
                throw new ServletException(e);
            }
View Full Code Here

TOP

Related Classes of org.dspace.app.util.DCInputsReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.