dk.netarkivet.harvester.webinterface
Class HarvestChannelAction
java.lang.Object
dk.netarkivet.harvester.webinterface.HarvestChannelAction
public abstract class HarvestChannelAction
- extends java.lang.Object
Abstract class representing web UI action for harvest channels.
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 |
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
HarvestChannelAction
public HarvestChannelAction()
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:
- create harvest channel
- map harvest definition to channel
- 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.