## Uses of Class
edu.ucsb.nceas.metacat.client.MetacatException

- Packages that use MetacatException
  Package | Description
  --- | ---
  edu.ucsb.nceas.metacat.client |
  edu.ucsb.nceas.metacat.client.rest |
  edu.ucsb.nceas.metacat.service |

- - ### Uses of MetacatException in edu.ucsb.nceas.metacat.client

    Methods in edu.ucsb.nceas.metacat.client that throw MetacatException
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | MetacatClient.`delete(java.lang.String docid)` Delete an XML document in the repository.
    `java.lang.String` | Metacat.`delete(java.lang.String docid)` Delete an XML document in the repository.
    `java.lang.String` | MetacatClient.`getAccessControl(java.lang.String docid)` get the access control info for a given document id.
    `java.lang.String` | Metacat.`getAccessControl(java.lang.String docid)`
    `java.util.Vector` | MetacatClient.`getAllDocids(java.lang.String scope)` return a list of all docids that match a given scope.
    `java.util.Vector` | Metacat.`getAllDocids(java.lang.String scope)` return a list of all docids that match a given scope.
    `java.lang.String` | MetacatClient.`getLastDocid(java.lang.String scope)` Return the highest document id for a given scope.
    `java.lang.String` | Metacat.`getLastDocid(java.lang.String scope)` Return the highest document id for a given scope.
    `int` | MetacatClient.`getNewestDocRevision(java.lang.String docId)` The method will return the latest revision in metacat server for a given document id.
    `int` | Metacat.`getNewestDocRevision(java.lang.String docId)` The method will return the latest revision in metacat server for a given document id.
    `java.lang.String` | MetacatClient.`insert(java.lang.String docid, java.io.Reader xmlDocument, java.io.Reader schema)` Insert an XML document into the repository.
    `java.lang.String` | Metacat.`insert(java.lang.String docid, java.io.Reader xmlDocument, java.io.Reader schema)` Insert an XML document into the repository, making it available for searching using the query() methods.
    `boolean` | MetacatClient.`isRegistered(java.lang.String docid)` return true of the given docid is registered, false if not
    `boolean` | Metacat.`isRegistered(java.lang.String docid)` return true of the given docid is registered, false if not
    `java.lang.String` | MetacatClient.`logout()` Method used to log out a metacat server.
    `java.lang.String` | Metacat.`logout()` Method used to log out a metacat server.
    `java.io.InputStream` | MetacatClient.`read(java.lang.String docid)` Read an XML document from the metacat server session, accessed by docid, and returned as a Reader.
    `java.io.InputStream` | Metacat.`read(java.lang.String docid)` Read an XML document from the metacat server session, accessed by docid, and returned as a Reader.
    `java.io.InputStream` | MetacatClient.`readInlineData(java.lang.String inlinedataid)` Read inline data from the metacat server session, accessed by inlinedataid and returned as a Reader.
    `java.io.InputStream` | Metacat.`readInlineData(java.lang.String inlinedataid)` Read inline data from the metacat server session, accessed by inlinedataid, and returned as a Reader.
    `java.lang.String` | MetacatClient.`setAccess(java.lang.String docid, java.lang.String accessBlock)` Set access for a given doc id.
    `java.lang.String` | Metacat.`setAccess(java.lang.String docid, java.lang.String accessBlock)`
    `java.lang.String` | MetacatClient.`setAccess(java.lang.String docid, java.lang.String principal, java.lang.String permission, java.lang.String permType, java.lang.String permOrder)` set the access on an XML document in the repository.
    `java.lang.String` | Metacat.`setAccess(java.lang.String docid, java.lang.String principal, java.lang.String permission, java.lang.String permType, java.lang.String permOrder)` set the access on an XML document in the repository.
    `java.lang.String` | MetacatClient.`update(java.lang.String docid, java.io.Reader xmlDocument, java.io.Reader schema)` Update an XML document in the repository.
    `java.lang.String` | Metacat.`update(java.lang.String docid, java.io.Reader xmlDocument, java.io.Reader schema)` Update an XML document in the repository by providing a new version of the XML document.
    `java.lang.String` | MetacatClient.`upload(java.lang.String docid, java.io.File file)` Upload a data document into the repository.
    `java.lang.String` | Metacat.`upload(java.lang.String docid, java.io.File file)` Upload a data document into the repository.
    `java.lang.String` | MetacatClient.`upload(java.lang.String docid, java.lang.String filename, java.io.InputStream fileData, int size)` Upload a data document into the repository.
    `java.lang.String` | Metacat.`upload(java.lang.String docid, java.lang.String fileName, java.io.InputStream fileData, int size)` Upload a data document into the repository.

  - ### Uses of MetacatException in edu.ucsb.nceas.metacat.client.rest

    Methods in edu.ucsb.nceas.metacat.client.rest that throw MetacatException
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | MetacatRestClient.`addLSID(java.lang.String identifierId)` Adds identifierId
    `java.lang.String` | MetacatRest.`addLSID(java.lang.String identifierId)` Adds identifierId (Metacat Server does not support it!)
    `java.io.Reader` | MetacatRestClient.`authenticatedGetObject(java.lang.String docid, java.lang.String outFile)` Read XML document from server session, accessed by docid, and returned as a Reader.
    `java.io.Reader` | MetacatRest.`authenticatedGetObject(java.lang.String docid, java.lang.String outputFile)` Read XML document from server session, accessed by docid, and returned as a Reader.
    `java.lang.String` | MetacatRestClient.`create(java.lang.String docid, java.io.Reader xmlDocument)` Create an XML document in the repository.
    `java.lang.String` | MetacatRest.`create(java.lang.String docid, java.io.Reader xmlDocument)` Create an XML document into the repository, making it available for searching using the query() methods.
    `java.lang.String` | MetacatRestClient.`deleteObject(java.lang.String docid)` Delete an XML document in the repository.
    `java.lang.String` | MetacatRest.`deleteObject(java.lang.String docid)` Delete an XML document in the repository.
    `java.util.Vector<java.lang.String>` | MetacatRestClient.`getAllDocids(java.lang.String scope)` return a list of all docids that match a given scope.
    `java.util.Vector<java.lang.String>` | MetacatRest.`getAllDocids(java.lang.String scope)` return a list of all docids that match a given scope.
    `java.lang.String` | MetacatRestClient.`getNextObject(java.lang.String scope)` Return the highest document id for a given scope.
    `java.lang.String` | MetacatRest.`getNextObject(java.lang.String scope)` Return the highest document id for a given scope.
    `int` | MetacatRestClient.`getNextRevision(java.lang.String identifierId)` The method will return the latest revision in metacat server for a given document id.
    `int` | MetacatRest.`getNextRevision(java.lang.String identifierId)` The method will return the latest revision in metacat server for a given document id.
    `java.io.Reader` | MetacatRestClient.`getObject(java.lang.String docid, java.lang.String outFile)` Read a public XML document , accessed by docid, and returned as a Reader.
    `java.io.Reader` | MetacatRest.`getObject(java.lang.String docid, java.lang.String outputFile)` Read a public XML document , accessed by docid, and returned as a Reader.
    `boolean` | MetacatRestClient.`isRegistered(java.lang.String identifierId)` return true of the given docid is registered, false if not
    `boolean` | MetacatRest.`isRegistered(java.lang.String identifierId)` return true of the given docid is registered, false if not
    `java.lang.String` | MetacatRestClient.`logout()` Method used to log out a metacat server.
    `java.lang.String` | MetacatRest.`logout()` Method used to log out a metacat server.
    `java.lang.String` | MetacatRestClient.`update(java.lang.String docid, java.io.Reader xmlDocument)` Update an XML document in the repository, replacing an existing document.
    `java.lang.String` | MetacatRest.`update(java.lang.String docid, java.io.Reader xmlDocument)` Update an XML document into the repository, making it available for searching using the query() methods.

  - ### Uses of MetacatException in edu.ucsb.nceas.metacat.service

    Methods in edu.ucsb.nceas.metacat.service that throw MetacatException
    Modifier and Type | Method and Description
    --- | ---
    `java.lang.String` | XMLSchemaService.`findNamespaceAndSchemaLocalLocation(java.lang.String formatId, java.lang.String namespace)` Get the namespace-schemaLocation pairs string based on given formatId and namespace.
    `java.lang.String` | XMLSchemaService.`findNoNamespaceSchemaLocalLocation(java.lang.String formatId, java.lang.String noNamespaceSchemaLocation)` Get the local (official) location for a no-namespace schema based on the given format id or no-name-space schema location uri.

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