dk.netarkivet.harvester.webinterface
Class TrapActivationAction

java.lang.Object
  extended by dk.netarkivet.harvester.webinterface.TrapAction
      extended by dk.netarkivet.harvester.webinterface.TrapActivationAction

public class TrapActivationAction
extends TrapAction

Action class for changing the activation status of a crawler trap list.


Constructor Summary
TrapActivationAction(boolean newActivationState)
          Constructor specifying whether this actions activates or deactivates a trap list.
 
Method Summary
protected  void doAction(javax.servlet.jsp.PageContext context, I18n i18n)
          Method implementing the specific action to take
 
Methods inherited from class dk.netarkivet.harvester.webinterface.TrapAction
processRequest
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrapActivationAction

public TrapActivationAction(boolean newActivationState)
Constructor specifying whether this actions activates or deactivates a trap list.

Parameters:
newActivationState - the new activation state.
Method Detail

doAction

protected void doAction(javax.servlet.jsp.PageContext context,
                        I18n i18n)
Description copied from class: TrapAction
Method implementing the specific action to take

Specified by:
doAction in class TrapAction
Parameters:
context - the context of the servlet request triggering this action.
i18n - the internationalisation to use for presenting the results.