Uses of Class
edu.ucsb.nceas.metacat.client.MetacatException
Package
Description
-
Uses of MetacatException in edu.ucsb.nceas.metacat
Modifier and TypeMethodDescriptionstatic void
DocumentImpl.registerDocument
(String docname, String doctype, DBConnection conn, String accnum, String user) Register a document that resides on the filesystem with the database. -
Uses of MetacatException in edu.ucsb.nceas.metacat.client
Modifier and TypeMethodDescriptionDelete an XML document in the repository.Delete an XML document in the repository.Metacat.getAccessControl
(String docid) MetacatClient.getAccessControl
(String docid) get the access control info for a given document id.Metacat.getAllDocids
(String scope) return a list of all docids that match a given scope.MetacatClient.getAllDocids
(String scope) return a list of all docids that match a given scope.Metacat.getLastDocid
(String scope) Return the highest document id for a given scope.MetacatClient.getLastDocid
(String scope) Return the highest document id for a given scope.int
Metacat.getNewestDocRevision
(String docId) The method will return the latest revision in metacat server for a given document id.int
MetacatClient.getNewestDocRevision
(String docId) The method will return the latest revision in metacat server for a given document id.Insert an XML document into the repository, making it available for searching using the query() methods.Insert an XML document into the repository.boolean
Metacat.isRegistered
(String docid) return true of the given docid is registered, false if notboolean
MetacatClient.isRegistered
(String docid) return true of the given docid is registered, false if notMetacat.logout()
Method used to log out a metacat server.MetacatClient.logout()
Method used to log out a metacat server.Read an XML document from the metacat server session, accessed by docid, and returned as a Reader.Read an XML document from the metacat server session, accessed by docid, and returned as a Reader.Metacat.readInlineData
(String inlinedataid) Read inline data from the metacat server session, accessed by inlinedataid, and returned as a Reader.MetacatClient.readInlineData
(String inlinedataid) Read inline data from the metacat server session, accessed by inlinedataid and returned as a Reader.Metacat.setAccess
(String docid, String principal, String permission, String permType, String permOrder) set the access on an XML document in the repository.Set access for a given doc id.MetacatClient.setAccess
(String docid, String principal, String permission, String permType, String permOrder) set the access on an XML document in the repository.Update an XML document in the repository by providing a new version of the XML document.Update an XML document in the repository.Upload a data document into the repository.Metacat.upload
(String docid, String fileName, InputStream fileData, int size) Upload a data document into the repository.Upload a data document into the repository.MetacatClient.upload
(String docid, String filename, InputStream fileData, int size) Upload a data document into the repository. -
Uses of MetacatException in edu.ucsb.nceas.metacat.client.rest
Modifier and TypeMethodDescriptionAdds identifierId (Metacat Server does not support it!)Adds identifierIdMetacatRest.authenticatedGetObject
(String docid, String outputFile) Read XML document from server session, accessed by docid, and returned as a Reader.MetacatRestClient.authenticatedGetObject
(String docid, String outFile) Read XML document from server session, accessed by docid, and returned as a Reader.Create an XML document into the repository, making it available for searching using the query() methods.Create an XML document in the repository.MetacatRest.deleteObject
(String docid) Delete an XML document in the repository.MetacatRestClient.deleteObject
(String docid) Delete an XML document in the repository.MetacatRest.getAllDocids
(String scope) return a list of all docids that match a given scope.MetacatRestClient.getAllDocids
(String scope) return a list of all docids that match a given scope.MetacatRest.getNextObject
(String scope) Return the highest document id for a given scope.MetacatRestClient.getNextObject
(String scope) Return the highest document id for a given scope.int
MetacatRest.getNextRevision
(String identifierId) The method will return the latest revision in metacat server for a given document id.int
MetacatRestClient.getNextRevision
(String identifierId) The method will return the latest revision in metacat server for a given document id.Read a public XML document , accessed by docid, and returned as a Reader.Read a public XML document , accessed by docid, and returned as a Reader.boolean
MetacatRest.isRegistered
(String identifierId) return true of the given docid is registered, false if notboolean
MetacatRestClient.isRegistered
(String identifierId) return true of the given docid is registered, false if notMetacatRest.logout()
Method used to log out a metacat server.MetacatRestClient.logout()
Method used to log out a metacat server.Update an XML document into the repository, making it available for searching using the query() methods.Update an XML document in the repository, replacing an existing document. -
Uses of MetacatException in edu.ucsb.nceas.metacat.service
Modifier and TypeMethodDescriptionXMLSchemaService.findNamespaceAndSchemaLocalLocation
(String formatId, String namespace) Get the namespace-schemaLocation pairs string based on given formatId and namespace.XMLSchemaService.findNoNamespaceSchemaLocalLocation
(String formatId, 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.