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

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.AbstractBrowserServlet
                  extended by org.dspace.app.webui.servlet.admin.WithdrawnBrowserServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class WithdrawnBrowserServlet
extends AbstractBrowserServlet

Servlet for browsing through withdrawn items:

Version:
$Revision$
Author:
Graham Triggs
See Also:
Serialized Form

Constructor Summary
WithdrawnBrowserServlet()
           
 
Method Summary
protected  void doDSGet(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Do the usual DSpace GET method.
protected  void showError(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Display the error page
protected  void showFullPage(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Display a full item listing.
protected  void showNoResultsPage(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Display the No Results page
protected  void showSinglePage(Context context, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Display the single page.
 
Methods inherited from class org.dspace.app.webui.servlet.AbstractBrowserServlet
getBrowserScopeForRequest, processBrowse
 
Methods inherited from class org.dspace.app.webui.servlet.DSpaceServlet
doDSPost, 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
 

Constructor Detail

WithdrawnBrowserServlet

public WithdrawnBrowserServlet()
Method Detail

doDSGet

protected void doDSGet(Context context,
                       javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws javax.servlet.ServletException,
                       IOException,
                       SQLException,
                       AuthorizeException
Do the usual DSpace GET method. You will notice that browse does not currently respond to POST requests.

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

showError

protected void showError(Context context,
                         javax.servlet.http.HttpServletRequest request,
                         javax.servlet.http.HttpServletResponse response)
                  throws javax.servlet.ServletException,
                         IOException,
                         SQLException,
                         AuthorizeException
Display the error page

Specified by:
showError in class AbstractBrowserServlet
Parameters:
context -
request -
response -
Throws:
javax.servlet.ServletException
IOException
SQLException
AuthorizeException

showNoResultsPage

protected void showNoResultsPage(Context context,
                                 javax.servlet.http.HttpServletRequest request,
                                 javax.servlet.http.HttpServletResponse response)
                          throws javax.servlet.ServletException,
                                 IOException,
                                 SQLException,
                                 AuthorizeException
Display the No Results page

Specified by:
showNoResultsPage in class AbstractBrowserServlet
Parameters:
context -
request -
response -
Throws:
javax.servlet.ServletException
IOException
SQLException
AuthorizeException

showSinglePage

protected void showSinglePage(Context context,
                              javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse response)
                       throws javax.servlet.ServletException,
                              IOException,
                              SQLException,
                              AuthorizeException
Display the single page. This is the page which lists just the single values of a metadata browse, not individual items. Single values are links through to all the items that match that metadata value

Specified by:
showSinglePage in class AbstractBrowserServlet
Parameters:
context -
request -
response -
Throws:
javax.servlet.ServletException
IOException
SQLException
AuthorizeException

showFullPage

protected void showFullPage(Context context,
                            javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)
                     throws javax.servlet.ServletException,
                            IOException,
                            SQLException,
                            AuthorizeException
Display a full item listing.

Specified by:
showFullPage in class AbstractBrowserServlet
Parameters:
context -
request -
response -
Throws:
javax.servlet.ServletException
IOException
SQLException
AuthorizeException


Copyright © 2013 DuraSpace. All Rights Reserved.