Package edu.ucsb.nceas.metacat.admin
Class EZIDAdmin
java.lang.Object
edu.ucsb.nceas.metacat.admin.MetacatAdmin
edu.ucsb.nceas.metacat.admin.EZIDAdmin
Control the display of the ezid configuration page and the processing
of the configuration values.
-
Field Summary
Fields inherited from class edu.ucsb.nceas.metacat.admin.MetacatAdmin
COMPLETE, FAILURE, IN_PROGRESS, NOT_REQUIRED, PENDING, SUCCESS, UNKNOWN
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configureEZID
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Handle configuration of the database the first time that Metacat starts or when it is explicitly called.static EZIDAdmin
Get the single instance of EZIDAdmin.validateOptions
(javax.servlet.http.HttpServletRequest request) Validate the most important configuration options submitted by the user.Methods inherited from class edu.ucsb.nceas.metacat.admin.MetacatAdmin
updateUpgradeStatus
-
Method Details
-
getInstance
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 informationresponse
- the http response to be sent back to the client- Throws:
AdminException
-
validateOptions
Validate the most important configuration options submitted by the user.- Specified by:
validateOptions
in classMetacatAdmin
- Returns:
- a vector holding error message for any fields that fail validation.
-