Class EZIDAdmin

java.lang.Object
edu.ucsb.nceas.metacat.admin.MetacatAdmin
edu.ucsb.nceas.metacat.admin.EZIDAdmin

public class EZIDAdmin extends MetacatAdmin
Control the display of the ezid configuration page and the processing of the configuration values.
  • Method Details

    • getInstance

      public static EZIDAdmin getInstance() throws AdminException
      Get the single instance of EZIDAdmin.
      Returns:
      the single instance of GeoserverAdmin
      Throws:
      AdminException
    • configureEZID

      public void configureEZID(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws AdminException
      Handle configuration of the database the first time that Metacat starts or when it is explicitly called. Collect necessary update information from the administrator.
      Parameters:
      request - the http request information
      response - the http response to be sent back to the client
      Throws:
      AdminException
    • validateOptions

      protected Vector<String> validateOptions(javax.servlet.http.HttpServletRequest request)
      Validate the most important configuration options submitted by the user.
      Specified by:
      validateOptions in class MetacatAdmin
      Returns:
      a vector holding error message for any fields that fail validation.