Uses of Class
edu.ucsb.nceas.metacat.client.MetacatInaccessibleException
Package
Description
-
Uses of MetacatInaccessibleException in edu.ucsb.nceas.metacat.client
Modifier and TypeMethodDescriptionstatic Metacat
MetacatFactory.createMetacatConnection
(String metacatUrl) Create a new instance of a Metacat object of raccessing a server.Delete 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.getloggedinuserinfo()
Get the logged in user for this session.MetacatClient.getloggedinuserinfo()
Method used to log in to a metacat server.static MetacatClient
MetacatClient.getMetacatClient
(javax.servlet.http.HttpServletRequest request) JSP API: This is a convenience method to reduce the amount of code in a Metacat Client JSP.Insert an XML document into the repository, making it available for searching using the query() methods.Insert an XML document into the repository.MetacatClient.isAuthorized
(String resourceLsid, String permission, String sessionId) Method used to log in to a metacat server.Method used to log in to a metacat server.Method used to log in to a metacat server.Metacat.logout()
Method used to log out a metacat server.MetacatClient.logout()
Method used to log out a metacat server.Query the metacat document store with the given metacat-compatible query document, and return the result set as a Reader.Query the metacat document store with the given metacat-compatible query document and qformat, and return the result set as a Reader.Query the metacat document store with the given metacat-compatible query document and default qformat xml, and return the result set as a Reader.Query the metacat document store with the given metacat-compatible query document and qformat, and return the result set as a Reader.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.MetacatClient.validateSession
(String sessionId) Method used to log in to a metacat server. -
Uses of MetacatInaccessibleException in edu.ucsb.nceas.metacat.client.rest
Modifier and TypeMethodDescriptionMetacatRest.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.MetacatRest.authenticatedQuery
(Reader xmlQuery) MetacatRestClient.authenticatedQuery
(Reader xmlQuery) Query (as an authenticated user) the metacat document store with the given Ecogrid-compatible query document and return the Ecogrid result set 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.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.Method used to log in to a metacat server through REST APIMethod used to log in to a metacat server through REST API.MetacatRest.logout()
Method used to log out a metacat server.MetacatRestClient.logout()
Method used to log out a metacat server.Query the metacat document store with the given metacat-compatible query document, and return the result set as a Reader.Query the metacat document store with the given Ecogrid-compatible query document and return the Ecogrid result set as a Reader.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 MetacatInaccessibleException in edu.ucsb.nceas.metacat.clientview
ModifierConstructorDescriptionClientViewHelper
(String host, String context, ClientView bean) Creates a new instance of ClientViewHelper, using parameter values for initializing.ClientViewHelper
(javax.servlet.http.HttpServletRequest request) Creates a new instance of ClientViewHelper, using info in an HttpServletRequest for initializing.