Uses of Class
edu.ucsb.nceas.metacat.admin.AdminException
Package
Description
-
Uses of AdminException in edu.ucsb.nceas.metacat.admin
Modifier and TypeMethodDescriptionprotected void
SolrAdmin.checkSolrStatus
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Check the current solr status - such as if the solr core/solr-home directory exists, and send back actions which user can choose based on the status.void
AuthAdmin.configureAuth
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Handle configuration of the Authentication propertiesvoid
BackupAdmin.configureBackup
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Handle configuration of the backup directoryvoid
DBAdmin.configureDatabase
(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.void
D1Admin.configureDataONE
(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.void
EZIDAdmin.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.void
PropertiesAdmin.configureProperties
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Handle configuration of the main application propertiesvoid
QuotaAdmin.configureQuota
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Handle configuration of the quota servicevoid
SolrAdmin.configureSolr
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Handle configuration of the solr the first time that Metacat starts or when it is explicitly called.protected void
LoginAdmin.doMetacatLogin
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Use the ORCID auth token to log the admin user inprotected static void
HashStoreConversionAdmin.generateFinalVersionsAndClassesMap()
Generate the final version-class ordered map which contains the versions and upgrade classes.DBAdmin.getDBVersion()
Get the version of the database as a stringstatic D1Admin
D1Admin.getInstance()
Get the single instance of D1Admin.static DBAdmin
DBAdmin.getInstance()
Get the single instance of DBAdmin.static EZIDAdmin
EZIDAdmin.getInstance()
Get the single instance of EZIDAdmin.static QuotaAdmin
QuotaAdmin.getInstance()
Get the single instance of QuotaDAdmin.static SolrAdmin
SolrAdmin.getInstance()
Get the single instance of SolrDAdmin.static UpgradeStatus
HashStoreConversionAdmin.getStatus()
Get the status of conversion.protected static UpgradeStatus
Get the upgrade status for the given versionDBAdmin.getUnRegisteredDBVersion()
Finds the version of the database for a database that does not have a dbVersion table yet.DBAdmin.getUpdateClasses()
Get the list of the Java and Solr update class files which will run in the upgrade processDBAdmin.getUpdateScripts()
Creates a list of database update script names by looking at the database version and the metacat version and then getting any script that is inbetween the two (inclusive of metacat version).protected void
LoginAdmin.handle
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Handle all login-related cases: 1.protected void
LoginAdmin.handleOrcidRedirect
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Handle the case where the User has authenticated via ORCID and the orcid site has redirected the user here.protected void
SolrAdmin.handleWarningActions
(String action, javax.servlet.http.HttpServletRequest request, Vector<String> processingErrors) Method to handle a warning message in the request, which have user's response.static boolean
HashStoreConversionAdmin.isConverted()
Check if the hashstore was convertedprotected boolean
PropertiesAdmin.isIndexerCodeployed()
Determine if the metacat-index context exists with metacat in the same Tomcat container.protected void
LoginAdmin.logOutAdminUser
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Put user in a logged-out state by removing userId from session, and invalidating session.protected void
SolrAdmin.processResponse
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Process the user's choices to the solr serverprotected static void
HashStoreConversionAdmin.setStatus
(String version, UpgradeStatus status) protected void
LoginAdmin.startLoginFlow
(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Begin the login flowvoid
DBAdmin.upgradeDatabase()
Iterates through the list of scripts that need to be run to upgrade the database and calls runSQLFile on each.void
D1Admin.upRegD1MemberNode()
upReg: Either update ("up") or register ("reg") DataONE Member Node (MN) config, depending upon whether this Metacat instance is already registered as a DataONE MN. -
Uses of AdminException in edu.ucsb.nceas.metacat.admin.upgrade
Modifier and TypeMethodDescriptionvoid
DroppedTableBackupper300.backup()
This method will backup those tables: xml_replication, xml_revisions and xml_documentsvoid
DroppedTableBackupper300.backupNodesTable
(DroppedTableBackupper300.NodeTableName table, List<Long> rootNodeIds) Backup the records whose root node ids are in the list and in the given tablevoid
PrerequisiteChecker300.check()
Check if the upgrade is starting from version 2.19.*void
XMLNodesToFilesChecker.check()
This method does the job - make sure all metadata object are stored in the files.boolean
HashStoreUpgrader.upgrade()
boolean
UpdateDOI.upgrade()
Update the DOI registration of all ids in this server with EML formatIdsboolean
Upgrade3_0_0.upgrade()
This method will run the class - XMLNodesToFilesChecker, which basically makes sure that every metadata document has been imported from xml_nodes or xml_nodes_revision tables to the file system.boolean
UpgradeEmptyReplicatedDataFile.upgrade()
boolean
UpgradeUtilityInterface.upgrade()
boolean
UpdateDOI.upgradeByFormatId
(List<String> formatIds) Update the registration of all DOIs in this server with the specified formatIdboolean
UpdateDOI.upgradeById
(List<String> ids) Update the registration of all DOIs with the specified guids in this serverModifierConstructorDescriptionDroppedTableBackupper300
(String backupPath) ConstructorDefault constructor -
Uses of AdminException in edu.ucsb.nceas.metacat.admin.upgrade.solr
Modifier and TypeClassDescriptionclass
An exception happens when an administrator modified a the schema.xml in the solr home. -
Uses of AdminException in edu.ucsb.nceas.metacat.startup
Modifier and TypeMethodDescriptionprotected void
MetacatInitializer.convertStorage()
Start to convert the storage if the db is configured and the storage conversion status is PENDING or FAILED