Package edu.ucsb.nceas.metacat.admin
Class QuotaAdmin
java.lang.Object
edu.ucsb.nceas.metacat.admin.MetacatAdmin
edu.ucsb.nceas.metacat.admin.QuotaAdmin
Control the display of the quota -service 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 TypeMethodDescriptionvoidconfigureQuota(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Handle configuration of the quota servicestatic QuotaAdminGet the single instance of QuotaDAdmin.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 QuotaDAdmin.- Returns:
- the single instance of quotaAdmin
- Throws:
AdminException
-
configureQuota
public void configureQuota(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws AdminException Handle configuration of the quota service- 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:
validateOptionsin classMetacatAdmin- Returns:
- a vector holding error message for any fields that fail validation.
-