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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HarvestChannelAction.ActionType
-
Field Summary
Fields Modifier and Type Field Description 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
protected static org.slf4j.Logger
log
static java.lang.String
SNAPSHOT
-
Constructor Summary
Constructors Constructor Description HarvestChannelAction()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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
-
log
protected static final org.slf4j.Logger log
-
-
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:- 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.
-
-