Uses of Class
edu.ucsb.nceas.metacat.admin.AdminException

Packages that use AdminException
  • Uses of AdminException in edu.ucsb.nceas.metacat.admin

    Modifier and Type
    Method
    Description
    protected 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 properties
    void
    BackupAdmin.configureBackup(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    Handle configuration of the backup directory
    void
    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 properties
    void
    QuotaAdmin.configureQuota(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
    Handle configuration of the quota service
    void
    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 in
    protected 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 string
    static 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.
    HashStoreConversionAdmin.getStatus()
    Get the status of conversion.
    protected static UpgradeStatus
    HashStoreConversionAdmin.getStatus(String version)
    Get the upgrade status for the given version
    Finds the version of the database for a database that does not have a dbVersion table yet.
    Get the list of the Java and Solr update class files which will run in the upgrade process
    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 converted
    protected 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 server
    protected 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 flow
    void
    DBAdmin.upgradeDatabase()
    Iterates through the list of scripts that need to be run to upgrade the database and calls runSQLFile on each.
    void
    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 Type
    Method
    Description
    void
    DroppedTableBackupper300.backup()
    This method will backup those tables: xml_replication, xml_revisions and xml_documents
    void
    DroppedTableBackupper300.backupNodesTable(DroppedTableBackupper300.NodeTableName table, List<Long> rootNodeIds)
    Backup the records whose root node ids are in the list and in the given table
    void
    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 formatIds
    boolean
    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 formatId
    boolean
    UpdateDOI.upgradeById(List<String> ids)
    Update the registration of all DOIs with the specified guids in this server
    Modifier
    Constructor
    Description
     
    Constructor
     
    Default constructor
  • Uses of AdminException in edu.ucsb.nceas.metacat.admin.upgrade.solr

    Modifier and Type
    Class
    Description
    class 
    An exception happens when an administrator modified a the schema.xml in the solr home.
    Modifier and Type
    Method
    Description
    void
    SolrConfigUpgrader.upgrade()
    Upgrade the solrconfig.xml on the solr home.
    boolean
    SolrSchemaAndConfigUpgrader.upgrade()
     
    void
    SolrSchemaUpgrader.upgrade()
    Upgrade the schema in the solr home
  • Uses of AdminException in edu.ucsb.nceas.metacat.startup

    Modifier and Type
    Method
    Description
    protected void
    MetacatInitializer.convertStorage()
    Start to convert the storage if the db is configured and the storage conversion status is PENDING or FAILED