dk.netarkivet.viewerproxy.webinterface
Class QASiteSection

java.lang.Object
  extended by dk.netarkivet.common.webinterface.SiteSection
      extended by dk.netarkivet.viewerproxy.webinterface.QASiteSection

public class QASiteSection
extends SiteSection

Site section that creates the menu for QA.


Constructor Summary
QASiteSection()
          Create a QA SiteSection object.
 
Method Summary
 void close()
          No cleanup necessary in this site section.
static java.lang.String createQAReturnURL(javax.servlet.http.HttpServletRequest request)
          Create a return-url for the QA pages that takes one.
 void initialize()
          No initialisation necessary in this site section.
 
Methods inherited from class dk.netarkivet.common.webinterface.SiteSection
cleanup, generateNavigationTree, getDirname, getSections, getTitle, isDeployed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QASiteSection

public QASiteSection()
Create a QA SiteSection object. This initialises the SiteSection object with the pages that exists in QA.

Method Detail

createQAReturnURL

public static java.lang.String createQAReturnURL(javax.servlet.http.HttpServletRequest request)
Create a return-url for the QA pages that takes one. The current implementation is hokey, but trying to go through URL objects is a mess.

Parameters:
request - The request that we have been called with.
Returns:
A URL object that leads to the QA-status page on the same machine as the request came from.

initialize

public void initialize()
No initialisation necessary in this site section.

Specified by:
initialize in class SiteSection

close

public void close()
No cleanup necessary in this site section.

Specified by:
close in class SiteSection