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

- Packages that use InsufficientKarmaException
  Package | Description
  --- | ---
  edu.ucsb.nceas.metacat |
  edu.ucsb.nceas.metacat.client |
  edu.ucsb.nceas.metacat.client.rest |
  edu.ucsb.nceas.metacat.dataone |

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

    Methods in edu.ucsb.nceas.metacat that throw InsufficientKarmaException
    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).
    `void` | MetacatHandler.`readFromMetacat(java.lang.String ipAddress, java.lang.String userAgent, javax.servlet.http.HttpServletResponse response, java.io.OutputStream out, java.lang.String docid, java.lang.String qformat, java.lang.String user, java.lang.String[] groups, boolean withInlineData, java.util.Hashtable<java.lang.String,java.lang.String[]> params)` read metadata or data from Metacat

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

    Methods in edu.ucsb.nceas.metacat.client that throw InsufficientKarmaException
    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.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.
    `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 InsufficientKarmaException in edu.ucsb.nceas.metacat.client.rest

    Methods in edu.ucsb.nceas.metacat.client.rest that throw InsufficientKarmaException
    Modifier and Type | Method and Description
    --- | ---
    `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.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.
    `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 InsufficientKarmaException in edu.ucsb.nceas.metacat.dataone

    Methods in edu.ucsb.nceas.metacat.dataone that throw InsufficientKarmaException
    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.

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