Uses of Class
edu.ucsb.nceas.metacat.admin.AdminException
Packages that use AdminException
Package
Description
-
Uses of AdminException in edu.ucsb.nceas.metacat.admin
Methods in edu.ucsb.nceas.metacat.admin that throw AdminExceptionModifier and TypeMethodDescriptionprotected voidSolrAdmin.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.voidAuthAdmin.configureAuth(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Handle configuration of the Authentication propertiesvoidBackupAdmin.configureBackup(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Handle configuration of the backup directoryvoidDBAdmin.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.voidD1Admin.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.voidEZIDAdmin.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.voidPropertiesAdmin.configureProperties(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Handle configuration of the main application propertiesvoidQuotaAdmin.configureQuota(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Handle configuration of the quota servicevoidSolrAdmin.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 voidLoginAdmin.doMetacatLogin(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Use the ORCID auth token to log the admin user inprotected static voidHashStoreConversionAdmin.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 D1AdminD1Admin.getInstance()Get the single instance of D1Admin.static DBAdminDBAdmin.getInstance()Get the single instance of DBAdmin.static EZIDAdminEZIDAdmin.getInstance()Get the single instance of EZIDAdmin.static QuotaAdminQuotaAdmin.getInstance()Get the single instance of QuotaDAdmin.static SolrAdminSolrAdmin.getInstance()Get the single instance of SolrDAdmin.static UpgradeStatusHashStoreConversionAdmin.getStatus()Get the status of conversion.protected static UpgradeStatusGet 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 voidLoginAdmin.handle(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Handle all login-related cases: 1.protected voidLoginAdmin.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 voidSolrAdmin.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 booleanHashStoreConversionAdmin.isConverted()Check if the hashstore was convertedprotected booleanPropertiesAdmin.isIndexerCodeployed()Determine if the metacat-index context exists with metacat in the same Tomcat container.protected voidLoginAdmin.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 voidSolrAdmin.processResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Process the user's choices to the solr serverprotected static voidHashStoreConversionAdmin.setStatus(String version, UpgradeStatus status) protected voidLoginAdmin.startLoginFlow(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) Begin the login flowstatic voidHashStoreConversionAdmin.updateInProgressStatus(UpgradeStatus status) To update all rows in the version_history table with storage_upgrade_status of "in prgoress" to the given statusvoidDBAdmin.upgradeDatabase()Iterates through the list of scripts that need to be run to upgrade the database and calls runSQLFile on each.voidD1Admin.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
Methods in edu.ucsb.nceas.metacat.admin.upgrade that throw AdminExceptionModifier and TypeMethodDescriptionvoidDroppedTableBackupper300.backup()This method will backup those tables: xml_replication, xml_revisions and xml_documentsvoidDroppedTableBackupper300.backupNodesTable(DroppedTableBackupper300.NodeTableName table, List<Long> rootNodeIds) Backup the records whose root node ids are in the list and in the given tablevoidPrerequisiteChecker300.check()Check if the upgrade is starting from version 2.19.*voidXMLNodesToFilesChecker.check()This method does the job - make sure all metadata object are stored in the files.booleanHashStoreUpgrader.upgrade()booleanUpdateDOI.upgrade()Update the DOI registration of all ids in this server with EML formatIdsbooleanUpgrade3_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.booleanUpgradeEmptyReplicatedDataFile.upgrade()booleanUpgradeUtilityInterface.upgrade()booleanUpdateDOI.upgradeByFormatId(List<String> formatIds) Update the registration of all DOIs in this server with the specified formatIdbooleanUpdateDOI.upgradeById(List<String> ids) Update the registration of all DOIs with the specified guids in this serverConstructors in edu.ucsb.nceas.metacat.admin.upgrade that throw AdminExceptionModifierConstructorDescriptionDroppedTableBackupper300(String backupPath) ConstructorDefault constructor -
Uses of AdminException in edu.ucsb.nceas.metacat.admin.upgrade.solr
Subclasses of AdminException in edu.ucsb.nceas.metacat.admin.upgrade.solrModifier and TypeClassDescriptionclassAn exception happens when an administrator modified a the schema.xml in the solr home.Methods in edu.ucsb.nceas.metacat.admin.upgrade.solr that throw AdminException -
Uses of AdminException in edu.ucsb.nceas.metacat.startup
Methods in edu.ucsb.nceas.metacat.startup that throw AdminExceptionModifier and TypeMethodDescriptionprotected voidMetacatInitializer.convertStorage()Start to convert the storage if the db is configured and the storage conversion status is PENDING or FAILED