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

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

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

    Methods in edu.ucsb.nceas.metacat that throw AccessionNumberException
    Modifier and Type | Method and Description
    --- | ---
    `static void` | DocumentImpl.`registerDocument(java.lang.String docname, java.lang.String doctype, java.lang.String accnum, java.lang.String user, java.lang.String[] groupnames)` This method will be call in handleUploadRequest in MetacatServlet class
    `static void` | DocumentImpl.`registerDocument(java.lang.String docname, java.lang.String doctype, java.lang.String accnum, java.lang.String user, java.lang.String[] groups, int serverCode)` Register a document that resides on the filesystem with the database.
    `static void` | DocumentImpl.`registerDocumentInReplication(java.lang.String docname, java.lang.String doctype, java.lang.String accnum, java.lang.String user, int serverCode, java.lang.String tableName, java.util.Date createDate, java.util.Date updateDate)` Register a document that resides on the filesystem with the database.
    `static void` | DocumentImpl.`writeDataFileInReplication(java.io.InputStream input, java.lang.String filePath, java.lang.String docname, java.lang.String doctype, java.lang.String accnum, java.lang.String user, java.lang.String docHomeServer, java.lang.String notificationServer, java.lang.String tableName, boolean timedReplication, java.util.Date createDate, java.util.Date updateDate)` This method will register a data file entry in xml_documents and save a data file input Stream into file system..

    Constructors in edu.ucsb.nceas.metacat that throw AccessionNumberException
    Constructor and Description
    `AccessionNumber(java.lang.String accnum, java.lang.String action)` NEW - WHEN CLIENT ALWAYS PROVIDE ACCESSION NUMBER INCLUDING REV IN IT Construct an AccessionNumber
    `DocumentIdentifier(java.lang.String docid)` Constructor to build a docid object and parse an incoming string.
    `RelationHandler(java.lang.String docid, java.lang.String doctype, DBConnection conn, edu.ucsb.nceas.utilities.triple.TripleCollection list)` Constructor for this class.

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

    Methods in edu.ucsb.nceas.metacat.dataone that throw AccessionNumberException
    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
    `static void` | SystemMetadataFactory.`generateSystemMetadata(java.util.List<java.lang.String> idList, boolean includeOre, boolean downloadData)` Generate SystemMetadata for any object in the object store that does not already have it.
    `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.

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