Class DomainConfigurationDefinition
- java.lang.Object
-
- dk.netarkivet.harvester.webinterface.DomainConfigurationDefinition
-
public class DomainConfigurationDefinition extends Object
Utility class containing methods for processing a GUI-request to update the details of a domain-configuration.
-
-
Constructor Summary
Constructors Constructor Description DomainConfigurationDefinition()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
processRequest(javax.servlet.jsp.PageContext context, I18n i18n)
Extracts all required parameters from the request, checks for any inconsistencies, and passes the requisite data to the updateDomain method for processing.
-
-
-
Method Detail
-
processRequest
public static void processRequest(javax.servlet.jsp.PageContext context, I18n i18n)
Extracts all required parameters from the request, checks for any inconsistencies, and passes the requisite data to the updateDomain method for processing. The specified domain configuration is then updated and the result stored in the database.update: This method does nothing if update is not set
name: must be the name of a known domain
default: the defaultconfig is set to this value. Must be non-null and a known configuration of this domain.
edition: The edition number the config was originally read as, if any.
(configName, order_xml, maxRate, maxObjects, maxBytes, urlListList[], passwordList): group specifying a configuration to update or add. If configName is non null then order_xml must be a known order-xml and urlListList must contain only known seedlists, (and at least one such). load, maxObjects, maxBytes, edition must be parsable as integers if present. passwordList is currently ignored.
- Parameters:
context
- The context of this requesti18n
- I18n information- Throws:
ForwardedToErrorPage
- if a user error has caused forwarding to the error page, in which case processing should abort.
-
-