Package | Description |
---|---|
edu.ucsb.nceas.metacat.client | |
edu.ucsb.nceas.metacat.client.rest | |
edu.ucsb.nceas.metacat.clientview |
Modifier and Type | Method and Description |
---|---|
static Metacat |
MetacatFactory.createMetacatConnection(java.lang.String metacatUrl)
Create a new instance of a Metacat object of raccessing a server.
|
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.getloggedinuserinfo()
Method used to log in to a metacat server.
|
java.lang.String |
Metacat.getloggedinuserinfo()
Get the logged in user for this session.
|
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.
|
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.lang.String |
MetacatClient.isAuthorized(java.lang.String resourceLsid,
java.lang.String permission,
java.lang.String sessionId)
Method used to log in to a metacat server.
|
java.lang.String |
MetacatClient.login(java.lang.String username,
java.lang.String password)
Method used to log in to a metacat server.
|
java.lang.String |
Metacat.login(java.lang.String username,
java.lang.String password)
Method used to log in to a metacat server.
|
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.Reader |
MetacatClient.query(java.io.Reader xmlQuery)
Query the metacat document store with the given metacat-compatible
query document and default qformat xml, and return the result set as a Reader.
|
java.io.Reader |
Metacat.query(java.io.Reader xmlQuery)
Query the metacat document store with the given metacat-compatible
query document, and return the result set as a Reader.
|
java.io.Reader |
MetacatClient.query(java.io.Reader xmlQuery,
java.lang.String qformat)
Query the metacat document store with the given metacat-compatible
query document and qformat, and return the result set as a Reader.
|
java.io.Reader |
Metacat.query(java.io.Reader xmlQuery,
java.lang.String qformat)
Query the metacat document store with the given metacat-compatible
query document and qformat, and return the result set as a Reader.
|
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.
|
java.lang.String |
MetacatClient.validateSession(java.lang.String sessionId)
Method used to log in to a metacat server.
|
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.io.Reader |
MetacatRestClient.authenticatedQuery(java.io.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.
|
java.io.Reader |
MetacatRest.authenticatedQuery(java.io.Reader xmlQuery) |
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.login(java.lang.String username,
java.lang.String password)
Method used to log in to a metacat server through REST API.
|
java.lang.String |
MetacatRest.login(java.lang.String username,
java.lang.String password)
Method used to log in to a metacat server through REST API
|
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.io.Reader |
MetacatRestClient.query(java.io.Reader xmlQuery)
Query the metacat document store with the given Ecogrid-compatible
query document and return the Ecogrid result set as a Reader.
|
java.io.Reader |
MetacatRest.query(java.io.Reader xmlQuery)
Query the metacat document store with the given metacat-compatible
query document, and return the result set 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.
|
Constructor and Description |
---|
ClientViewHelper(javax.servlet.http.HttpServletRequest request)
Creates a new instance of ClientViewHelper, using info in an HttpServletRequest
for initializing.
|
ClientViewHelper(java.lang.String host,
java.lang.String context,
ClientView bean)
Creates a new instance of ClientViewHelper, using parameter values
for initializing.
|
Copyright © 2020 Regents of the University of California. All Rights Reserved.