Class DomainConfigurationDefinition


  • public class DomainConfigurationDefinition
    extends Object
    Utility class containing methods for processing a GUI-request to update the details of a domain-configuration.
    • Constructor Detail

      • DomainConfigurationDefinition

        public DomainConfigurationDefinition()
    • 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 request
        i18n - I18n information
        Throws:
        ForwardedToErrorPage - if a user error has caused forwarding to the error page, in which case processing should abort.