Class HarvestChannelAction
- java.lang.Object
-
- dk.netarkivet.harvester.webinterface.HarvestChannelAction
-
public abstract class HarvestChannelAction extends 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 String
ACTION
static String
CHANNEL_ID
static String
CHANNEL_NAME
static String
COMMENTS
static String
HARVEST_ID
protected static org.slf4j.Logger
log
static 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 String ACTION
- See Also:
- Constant Field Values
-
CHANNEL_NAME
public static final String CHANNEL_NAME
- See Also:
- Constant Field Values
-
HARVEST_ID
public static final String HARVEST_ID
- See Also:
- Constant Field Values
-
CHANNEL_ID
public static final String CHANNEL_ID
- See Also:
- Constant Field Values
-
SNAPSHOT
public static final String SNAPSHOT
- See Also:
- Constant Field Values
-
COMMENTS
public static final String COMMENTS
- See Also:
- Constant Field Values
-
log
protected static final org.slf4j.Logger log
-
-
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.
-
-