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
static java.lang.String createQAReturnURL(javax.servlet.http.HttpServletRequest request)
          Create a return-url for the QA pages that takes one.
 
Methods inherited from class dk.netarkivet.common.webinterface.SiteSection
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 page(!) 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.