org.dspace.app.webui.servlet.admin
Class CollectionWizardServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.dspace.app.webui.servlet.DSpaceServlet
              extended by org.dspace.app.webui.servlet.admin.CollectionWizardServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class CollectionWizardServlet
extends DSpaceServlet

Collection creation wizard UI

Version:
$Revision: 5845 $
Author:
Robert Tansley
See Also:
Serialized Form

Field Summary
static int BASIC_INFO
          Basic information page
static int DEFAULT_ITEM
          Default item page
static int INITIAL_QUESTIONS
          Initial questions page
static int PERM_ADMIN
          Permissions page for collection administrators
static int PERM_READ
          Permissions page for who gets read permissions on new items
static int PERM_SUBMIT
          Permissions page for submitters
static int PERM_WF1
          Permissions page for workflow step 1
static int PERM_WF2
          Permissions page for workflow step 2
static int PERM_WF3
          Permissions page for workflow step 3
static int PERMISSIONS
          Permissions pages
static int SUMMARY
          Summary page
 
Constructor Summary
CollectionWizardServlet()
           
 
Method Summary
protected  void doDSGet(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process an incoming HTTP GET.
protected  void doDSPost(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Process an incoming HTTP POST.
 
Methods inherited from class org.dspace.app.webui.servlet.DSpaceServlet
doGet, doPost
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INITIAL_QUESTIONS

public static final int INITIAL_QUESTIONS
Initial questions page

See Also:
Constant Field Values

BASIC_INFO

public static final int BASIC_INFO
Basic information page

See Also:
Constant Field Values

PERMISSIONS

public static final int PERMISSIONS
Permissions pages

See Also:
Constant Field Values

DEFAULT_ITEM

public static final int DEFAULT_ITEM
Default item page

See Also:
Constant Field Values

SUMMARY

public static final int SUMMARY
Summary page

See Also:
Constant Field Values

PERM_READ

public static final int PERM_READ
Permissions page for who gets read permissions on new items

See Also:
Constant Field Values

PERM_SUBMIT

public static final int PERM_SUBMIT
Permissions page for submitters

See Also:
Constant Field Values

PERM_WF1

public static final int PERM_WF1
Permissions page for workflow step 1

See Also:
Constant Field Values

PERM_WF2

public static final int PERM_WF2
Permissions page for workflow step 2

See Also:
Constant Field Values

PERM_WF3

public static final int PERM_WF3
Permissions page for workflow step 3

See Also:
Constant Field Values

PERM_ADMIN

public static final int PERM_ADMIN
Permissions page for collection administrators

See Also:
Constant Field Values
Constructor Detail

CollectionWizardServlet

public CollectionWizardServlet()
Method Detail

doDSGet

protected void doDSGet(Context context,
                       javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws javax.servlet.ServletException,
                       java.io.IOException,
                       java.sql.SQLException,
                       AuthorizeException
Description copied from class: DSpaceServlet
Process an incoming HTTP GET. If an exception is thrown, or for some other reason the passed in context is not completed, it will be aborted and any changes made by this method discarded when this method returns.

Overrides:
doDSGet in class DSpaceServlet
Parameters:
context - a DSpace Context object
request - the HTTP request
response - the HTTP response
Throws:
java.sql.SQLException - if a database error occurs
AuthorizeException - if some authorization error occurs
javax.servlet.ServletException
java.io.IOException

doDSPost

protected void doDSPost(Context context,
                        javax.servlet.http.HttpServletRequest request,
                        javax.servlet.http.HttpServletResponse response)
                 throws javax.servlet.ServletException,
                        java.io.IOException,
                        java.sql.SQLException,
                        AuthorizeException
Description copied from class: DSpaceServlet
Process an incoming HTTP POST. If an exception is thrown, or for some other reason the passed in context is not completed, it will be aborted and any changes made by this method discarded when this method returns.

Overrides:
doDSPost in class DSpaceServlet
Parameters:
context - a DSpace Context object
request - the HTTP request
response - the HTTP response
Throws:
java.sql.SQLException - if a database error occurs
AuthorizeException - if some authorization error occurs
javax.servlet.ServletException
java.io.IOException


Copyright © 2010 DuraSpace. All Rights Reserved.