dk.netarkivet.harvester.webinterface
Class HarvestChannelAction

java.lang.Object
  extended by dk.netarkivet.harvester.webinterface.HarvestChannelAction

public abstract class HarvestChannelAction
extends java.lang.Object

Abstract class representing web UI action for harvest channels.


Nested Class Summary
static class HarvestChannelAction.ActionType
           
 
Field Summary
static java.lang.String ACTION
           
static java.lang.String CHANNEL_ID
           
static java.lang.String CHANNEL_NAME
           
static java.lang.String COMMENTS
           
static java.lang.String HARVEST_ID
           
static java.lang.String SNAPSHOT
           
 
Constructor Summary
HarvestChannelAction()
           
 
Method Summary
static void processRequest(javax.servlet.jsp.PageContext context, I18n i18n)
          This method processes the request to determine which action it corresponds to and passes the request along accordingly.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION

public static final java.lang.String ACTION
See Also:
Constant Field Values

CHANNEL_NAME

public static final java.lang.String CHANNEL_NAME
See Also:
Constant Field Values

HARVEST_ID

public static final java.lang.String HARVEST_ID
See Also:
Constant Field Values

CHANNEL_ID

public static final java.lang.String CHANNEL_ID
See Also:
Constant Field Values

SNAPSHOT

public static final java.lang.String SNAPSHOT
See Also:
Constant Field Values

COMMENTS

public static final java.lang.String COMMENTS
See Also:
Constant Field Values
Constructor Detail

HarvestChannelAction

public HarvestChannelAction()
Method Detail

processRequest

public static void processRequest(javax.servlet.jsp.PageContext context,
                                  I18n i18n)
                           throws ForwardedToErrorPage
This method processes the request to determine which action it corresponds to and passes the request along accordingly. Available actions are:

Parameters:
context - the original servlet context of the request.
i18n - the internationalisation to be used.
Throws:
ForwardedToErrorPage - if an exception is thrown while carrying out the action.