## Uses of Class
edu.ucsb.nceas.metacat.McdbDocNotFoundException

- Packages that use McdbDocNotFoundException
  Package | Description
  --- | ---
  edu.ucsb.nceas.metacat |
  edu.ucsb.nceas.metacat.dataone |
  edu.ucsb.nceas.metacat.util |

- - ### Uses of McdbDocNotFoundException in edu.ucsb.nceas.metacat

    Methods in edu.ucsb.nceas.metacat that throw McdbDocNotFoundException
    Modifier and Type | Method and Description
    --- | ---
    `static void` | DocumentImpl.`delete(java.lang.String accnum, boolean ignoreRev, java.lang.String user, java.lang.String[] groups, java.lang.String notifyServer, boolean removeAll)` Archive an object from the xml_documents table to the xml_revision table (including other changes as well).
    `static void` | DocumentImpl.`delete(java.lang.String accnum, java.lang.String user, java.lang.String[] groups, java.lang.String notifyServer, boolean removeAll)` Archive an object from the xml_documents table to the xml_revision table (including other changes as well).
    `org.dataone.service.types.v1.AccessPolicy` | IdentifierManager.`getAccessPolicy(java.lang.String guid)` Lookup access policy from Metacat
    `java.lang.String` | IdentifierManager.`getGUID(java.lang.String docid, int rev)` given a local identifer, look up the guid.
    `int` | IdentifierManager.`getLatestRevForLocalId(java.lang.String localId)` return the newest rev for a given localId
    `java.lang.String` | IdentifierManager.`getLocalId(java.lang.String guid)` Lookup a localId given the GUID.
    `org.dataone.service.types.v2.SystemMetadata` | IdentifierManager.`getSystemMetadata(java.lang.String guid)` return a hash of all of the info that is in the systemmetadata table
    `void` | IdentifierManager.`insertOrUpdateSystemMetadata(org.dataone.service.types.v2.SystemMetadata sysmeta)` creates a system metadata mapping and adds additional fields from sysmeta to the table for quick searching.
    `void` | IdentifierManager.`updateSystemMetadata(org.dataone.service.types.v2.SystemMetadata sm, DBConnection dbConn)` Insert the system metadata fields into the db

  - ### Uses of McdbDocNotFoundException in edu.ucsb.nceas.metacat.dataone

    Methods in edu.ucsb.nceas.metacat.dataone that throw McdbDocNotFoundException
    Modifier and Type | Method and Description
    --- | ---
    `static org.dataone.service.types.v2.SystemMetadata` | SystemMetadataFactory.`createSystemMetadata(boolean indexDataFile, java.lang.String localId, boolean includeORE, boolean downloadData)` Creates a system metadata object for insertion into metacat
    `static org.dataone.service.types.v2.SystemMetadata` | SystemMetadataFactory.`createSystemMetadata(java.lang.String localId, boolean includeORE, boolean downloadData)` Create a system metadata object for insertion into metacat
    `java.util.List<org.dataone.service.types.v1.Identifier>` | SyncAccessPolicy.`sync(java.util.List<java.lang.String> guidsToSync)` Convenience function that accepts a list of guids to sync
    `void` | SyncAccessPolicy.`syncAll()` For all guids for which current MN is authoritative, check that access policy is synced with CN.

  - ### Uses of McdbDocNotFoundException in edu.ucsb.nceas.metacat.util

    Methods in edu.ucsb.nceas.metacat.util that throw McdbDocNotFoundException
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | DocumentUtil.`appendRev(java.lang.String docid)` If the given docid only have one seperter, we need append rev for it.

Copyright © 2023 Regents of the University of California. All Rights Reserved.