A B C D E F G H I L M N O P Q R S T U V W X

A

AbstractDatabase - class edu.ucsb.nceas.dbadapter.AbstractDatabase.
Java offers uniform database access through the use of JDBC.
AbstractDatabase() - Constructor for class edu.ucsb.nceas.dbadapter.AbstractDatabase
 
ACCESS - Static variable in interface edu.ucsb.nceas.metacat.AccessControlInterface
 
AccessControlForSingleFile - class edu.ucsb.nceas.metacat.AccessControlForSingleFile.
A Class that loads eml-access.xml file containing ACL for a metadata document into relational DB.
AccessControlForSingleFile(String, String, String, String, String) - Constructor for class edu.ucsb.nceas.metacat.AccessControlForSingleFile
Construct an instance of the AccessControlForSingleFile class.
AccessControlInterface - interface edu.ucsb.nceas.metacat.AccessControlInterface.
This interface will handle the access control for different documents: the package-orented, single eml2 document and other single file
AccessControlList - class edu.ucsb.nceas.metacat.AccessControlList.
A Class that loads eml-access.xml file containing ACL for a metadata document into relational DB.
AccessControlList(DBConnection) - Constructor for class edu.ucsb.nceas.metacat.AccessControlList
Construct an instance of the AccessControlList class.
AccessControlList(DBConnection, String, String, String[], int) - Constructor for class edu.ucsb.nceas.metacat.AccessControlList
Construct an instance of the AccessControlList class.
AccessionNumber - class edu.ucsb.nceas.metacat.AccessionNumber.
(on insert of XML document) Generates a unique Accession Number or if provided check it for uniqueness and register it into the db connection (on update or delete of XML document) Check for existance of provided Accession Number
AccessionNumber() - Constructor for class edu.ucsb.nceas.metacat.AccessionNumber
Construct an AccessionNumber
AccessionNumber(String, String) - Constructor for class edu.ucsb.nceas.metacat.AccessionNumber
NEW - WHEN CLIENT ALWAYS PROVIDE ACCESSION NUMBER INCLUDING REV IN IT Construct an AccessionNumber
AccessionNumberException - exception edu.ucsb.nceas.metacat.AccessionNumberException.
Exception thrown when an error occurs because an AccessionNumber was invalid or used incorrectly.
AccessionNumberException(String) - Constructor for class edu.ucsb.nceas.metacat.AccessionNumberException
Create a new AccessionNumberException.
AccessionNumberGeneratedException - exception edu.ucsb.nceas.metacat.AccessionNumberGeneratedException.
Exception thrown when a new accession number is generated either because none was provided or it was not unique.
AccessionNumberGeneratedException(String) - Constructor for class edu.ucsb.nceas.metacat.AccessionNumberGeneratedException
Create a new AccessionNumberGeneratedException.
AccessRule - class edu.ucsb.nceas.metacat.AccessRule.
A Class that represents an XML access rule.
AccessRule() - Constructor for class edu.ucsb.nceas.metacat.AccessRule
 
AccessSection - class edu.ucsb.nceas.metacat.AccessSection.
A Class that represents an XML access rule.
AccessSection() - Constructor for class edu.ucsb.nceas.metacat.AccessSection
 
accNumberUsed(String) - Method in class edu.ucsb.nceas.metacat.AccessionNumber
check for existence of Accesssion Number xml_acc_numbers table
ACLID - Static variable in interface edu.ucsb.nceas.metacat.AccessControlInterface
 
action - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
addAccessRule(AccessRule) - Method in class edu.ucsb.nceas.metacat.AccessSection
Add an access rule
addChildNode(BasicNode) - Method in class edu.ucsb.nceas.metacat.BasicNode
Add a child node to this node
AddMissedSubTreeSAXHandler - class edu.ucsb.nceas.metacat.AddMissedSubTreeSAXHandler.
A database aware Class implementing callback bethods for the SAX parser to call when processing the XML stream and generating events
AddMissedSubTreeSAXHandler(Hashtable) - Constructor for class edu.ucsb.nceas.metacat.AddMissedSubTreeSAXHandler
Construct an instance of the handler class In this constructor, user can specify the version need to upadate
addPrincipal(String) - Method in class edu.ucsb.nceas.metacat.AccessRule
Set the a principle
addToServerListIfItIsNot(String) - Method in class edu.ucsb.nceas.metacat.ReplicationServerList
To a given server name, to check if it is in the server list.
ALL - Static variable in interface edu.ucsb.nceas.metacat.AccessControlInterface
 
ALLOW - Static variable in interface edu.ucsb.nceas.metacat.AccessControlInterface
 
ALLOWFIRST - Static variable in interface edu.ucsb.nceas.metacat.AccessControlInterface
 
ALLSTRING - Static variable in interface edu.ucsb.nceas.metacat.AccessControlInterface
 
alreadyHandle - Variable in class edu.ucsb.nceas.metacat.DBValidate
 
associateAccess() - Method in class edu.ucsb.nceas.metacat.AssociateAccessPolicy
Associate the access policy of dataset to the docid which the data set id mapped
AssociateAccessPolicy - class edu.ucsb.nceas.metacat.AssociateAccessPolicy.
This class is in order to fix a problem.
AssociateAccessPolicy(DBConnection) - Constructor for class edu.ucsb.nceas.metacat.AssociateAccessPolicy
construct an instance of the DBQuery class
atFirstElement - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
attributeDecl(String, String, String, String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of attribute declarations
ATTRIBUTESYMBOL - Static variable in class edu.ucsb.nceas.metacat.QuerySpecification
 
authenticate(HttpServletRequest, String, String) - Method in class edu.ucsb.nceas.metacat.AuthSession
determine if the credentials for this session are valid by authenticating them using the authService configured for this session.
authenticate(String, String) - Method in interface edu.ucsb.nceas.metacat.AuthInterface
Determine if a user/password are valid according to the authentication service.
authenticate(String, String) - Method in class edu.ucsb.nceas.metacat.AuthLdap
Determine if a user/password are valid according to the authentication service.
AuthInterface - interface edu.ucsb.nceas.metacat.AuthInterface.
An interface representing the methods that should be implemented by an authentication service.
AuthLdap - class edu.ucsb.nceas.metacat.AuthLdap.
An implementation of the AuthInterface interface that allows Metacat to use the LDAP protocol for directory services.
AuthLdap() - Constructor for class edu.ucsb.nceas.metacat.AuthLdap
Construct an AuthLdap
AuthSession - class edu.ucsb.nceas.metacat.AuthSession.
A Class that implements session tracking for MetaCatServlet users.
AuthSession() - Constructor for class edu.ucsb.nceas.metacat.AuthSession
Construct an AuthSession

B

BasicNode - class edu.ucsb.nceas.metacat.BasicNode.
A Class that represents an XML node and its contents
BasicNode() - Constructor for class edu.ucsb.nceas.metacat.BasicNode
Construct a Basic Node
BasicNode(long, String, long, int) - Constructor for class edu.ucsb.nceas.metacat.BasicNode
Construct a Basic Node
BasicNode(String) - Constructor for class edu.ucsb.nceas.metacat.BasicNode
Construct a Basic Node
BasicNode(String, long, int) - Constructor for class edu.ucsb.nceas.metacat.BasicNode
Construct a Basic Node

C

CatalogMessageHandler - class edu.ucsb.nceas.metacat.CatalogMessageHandler.
A Class implementing callback bethods for the SAX parser to call when processing the XML messages from the replication handler
CatalogMessageHandler() - Constructor for class edu.ucsb.nceas.metacat.CatalogMessageHandler
 
characters(char[], int, int) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that is called for each XML text node
characters(char[], int, int) - Method in class edu.ucsb.nceas.metacat.ReplMessageHandler
Take the data out of the docid and date_updated fields
characters(char[], int, int) - Method in class edu.ucsb.nceas.metacat.CatalogMessageHandler
Take the data out of the docid and date_updated fields
characters(char[], int, int) - Method in class edu.ucsb.nceas.metacat.AccessControlList
Callback method used by the SAX Parser when the text sequences of an xml stream are detected.
characters(char[], int, int) - Method in class edu.ucsb.nceas.metacat.EmlSAXHandler
SAX Handler that is called for each XML text node
characters(char[], int, int) - Method in class edu.ucsb.nceas.metacat.DocInfoHandler
put the content and the name of the tag into the hashtable.
characters(char[], int, int) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
callback method used by the SAX Parser when the text sequences of an xml stream are detected.
checkURLConnection(String) - Static method in class edu.ucsb.nceas.metacat.DBEntityResolver
Check URL Connection for @systemId, and return an InputStream that can be used to read from the systemId URL.
CHMOD - Static variable in interface edu.ucsb.nceas.metacat.AccessControlInterface
 
CHMODSTRING - Static variable in interface edu.ucsb.nceas.metacat.AccessControlInterface
 
clone() - Method in class edu.ucsb.nceas.metacat.AccessRule
Copy a AccessRule to another accessrule object
clone() - Method in class edu.ucsb.nceas.metacat.AccessSection
Method to copy a accesssection object to a new one
close() - Method in class edu.ucsb.nceas.metacat.DBConnection
Close a DBConnection object
comment(char[], int, int) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of comments in the DTD
comment(char[], int, int) - Method in class edu.ucsb.nceas.metacat.EmlSAXHandler
SAX Handler that receives notification of comments in the DTD
CommentNode - class edu.ucsb.nceas.metacat.CommentNode.
A Class that represents an XML Comment node and its contents,
CommentNode(long, long, String) - Constructor for class edu.ucsb.nceas.metacat.CommentNode
Construct a new CommentNode instance
commit() - Method in class edu.ucsb.nceas.metacat.DBConnection
Method to make a commit command
compare(NodeRecord, NodeRecord) - Method in class edu.ucsb.nceas.metacat.NodeComparator
compare two NodeRecord objects to determine proper sort order.
compare(Object, Object) - Method in class edu.ucsb.nceas.metacat.SubTree
methods from Comparator interface
compare(Object, Object) - Method in class edu.ucsb.nceas.metacat.NodeComparator
compare two objects to determine proper sort order -- delegates to the compare(NodeRecord, NodeRecord) method.
compareInlineDataFiles(String, String) - Method in class edu.ucsb.nceas.metacat.EmlSAXHandler
 
connect() - Method in class edu.ucsb.nceas.protocols.metacat.MetacatURLConnection
Make a connection to the URL
connection - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
containAttributeReturnField() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
A method to get if the query has an attribute return field
containsExtendedSQL() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Returns true if the parsed query contains and extended xml query (i.e.
contentEquals(NodeRecord) - Method in class edu.ucsb.nceas.metacat.NodeRecord
Method compare two records
ContentTypeProvider - class edu.ucsb.nceas.metacat.ContentTypeProvider.
This class will figure out which content type it is for a given data file.
ContentTypeProvider(String) - Constructor for class edu.ucsb.nceas.metacat.ContentTypeProvider
Constructor of ContentTypeProvider
contype - Variable in class edu.ucsb.nceas.metacat.HttpMessage
 
createObject(String) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Instantiate a class using the name of the class at runtime
createObject(String) - Static method in class edu.ucsb.nceas.dbadapter.AbstractDatabase
Instantiate a class using the name of the class at runtime
createQuery(String) - Static method in class edu.ucsb.nceas.metacat.DBQuery
format a simple free-text value query as an XML document that conforms to the pathquery.dtd and is appropriate for submission to the DBQuery structured query engine
createQuery(String, String) - Static method in class edu.ucsb.nceas.metacat.DBQuery
format a simple free-text value query as an XML document that conforms to the pathquery.dtd and is appropriate for submission to the DBQuery structured query engine
createResultDocument(Hashtable, String) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Transforms a hashtable of documents to an xml or html result.
createSQuery(Hashtable) - Static method in class edu.ucsb.nceas.metacat.DBQuery
format a structured query as an XML document that conforms to the pathquery.dtd and is appropriate for submission to the DBQuery structured query engine
createStatement() - Method in class edu.ucsb.nceas.metacat.DBConnection
Method to create a Statement
currentDocument - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 

D

dbAdapter - Static variable in class edu.ucsb.nceas.metacat.MetaCatUtil
 
DBConnection - class edu.ucsb.nceas.metacat.DBConnection.
A class represent a connection object, it includes connection itself, index, status, age, createtime, connection time, usageCount, warning message
DBConnection() - Constructor for class edu.ucsb.nceas.metacat.DBConnection
Default constructor of the DBConnection class
DBConnectionPool - class edu.ucsb.nceas.metacat.DBConnectionPool.
A class represent a DBConnection pool.
DBDTDHandler - class edu.ucsb.nceas.metacat.DBDTDHandler.
A database aware Class implementing DTDHandler interface for the SAX parser to call when processing the XML stream and intercepting notations and unparsed entities
DBDTDHandler(DBConnection) - Constructor for class edu.ucsb.nceas.metacat.DBDTDHandler
Construct an instance of the DBDTDHandler clas
DBEntityResolver - class edu.ucsb.nceas.metacat.DBEntityResolver.
A database aware Class implementing EntityResolver interface for the SAX parser to call when processing the XML stream and intercepting any external entities (including the external DTD subset and external parameter entities, if any) before including them.
DBEntityResolver(DBConnection) - Constructor for class edu.ucsb.nceas.metacat.DBEntityResolver
Construct an instance of the DBEntityResolver class
DBEntityResolver(DBConnection, DefaultHandler, Reader) - Constructor for class edu.ucsb.nceas.metacat.DBEntityResolver
Construct an instance of the DBEntityResolver class
DBQuery - class edu.ucsb.nceas.metacat.DBQuery.
A Class that searches a relational DB for elements and attributes that have free text matches a query string, or structured query matches to a path specified node in the XML hierarchy.
DBQuery(String) - Constructor for class edu.ucsb.nceas.metacat.DBQuery
construct an instance of the DBQuery class
DBSAXHandler - class edu.ucsb.nceas.metacat.DBSAXHandler.
A database aware Class implementing callback bethods for the SAX parser to call when processing the XML stream and generating events
DBSAXHandler(DBConnection) - Constructor for class edu.ucsb.nceas.metacat.DBSAXHandler
Construct an instance of the handler class
DBSAXHandler(DBConnection, String, String, String, String[], String, int) - Constructor for class edu.ucsb.nceas.metacat.DBSAXHandler
Construct an instance of the handler class
DBSAXHandler(DBConnection, String, String, String, String, String[], String, int) - Constructor for class edu.ucsb.nceas.metacat.DBSAXHandler
Construct an instance of the handler class In this constructor, user can specify the version need to upadate
DBSAXNode - class edu.ucsb.nceas.metacat.DBSAXNode.
A Class that represents an XML node and its contents and can write its own representation to a database connection
DBSAXNode(DBConnection, String) - Constructor for class edu.ucsb.nceas.metacat.DBSAXNode
Construct a new node instance for DOCUMENT nodes
DBSAXNode(DBConnection, String, String, DBSAXNode, long, String, String) - Constructor for class edu.ucsb.nceas.metacat.DBSAXNode
Construct a new node instance for ELEMENT nodes
DBSimpleQuery - class edu.ucsb.nceas.metacat.DBSimpleQuery.
A Class that searches a relational DB for elements and attributes that have free text matches to the query string.
DBSimpleQuery() - Constructor for class edu.ucsb.nceas.metacat.DBSimpleQuery
construct an instance of the DBSimpleQuery class
DBTransform - class edu.ucsb.nceas.metacat.DBTransform.
A Class that transforms XML documents utitlizing XSL style sheets
DBTransform() - Constructor for class edu.ucsb.nceas.metacat.DBTransform
construct a DBTransform instance.
DBUtil - class edu.ucsb.nceas.metacat.DBUtil.
A suite of utility classes for quering DB
DBUtil() - Constructor for class edu.ucsb.nceas.metacat.DBUtil
Construct an instance of the utility class
DBValidate - class edu.ucsb.nceas.metacat.DBValidate.
Name: DBValidate.java Purpose: A Class that validates XML documents This class is designed to be parser independent i.e.
DBValidate(String) - Constructor for class edu.ucsb.nceas.metacat.DBValidate
Construct a new validation object
DBValidate(String, DBConnection) - Constructor for class edu.ucsb.nceas.metacat.DBValidate
Construct a new validation object using a database entity resolver
DBValidate(String, String) - Constructor for class edu.ucsb.nceas.metacat.DBValidate
Construct a new validation object using an OASIS catalog file
debugMessage(String, int) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Utility method to print debugging messages.
DECLARATIONHANDLERPROPERTY - Static variable in class edu.ucsb.nceas.metacat.DocumentImpl
 
delete(String, String, String[]) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
Delete an XML file from the database (actually, just make it a revision in the xml_revisions table)
deleteRelations(String) - Method in class edu.ucsb.nceas.metacat.RelationHandler
Deletes all of the relations with a docid of 'docid'.
DENY - Static variable in interface edu.ucsb.nceas.metacat.AccessControlInterface
 
DENYFIRST - Static variable in interface edu.ucsb.nceas.metacat.AccessControlInterface
 
destroy() - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Close all db connections from the pool
destroy() - Method in class edu.ucsb.nceas.metacat.MetacatReplication
 
docid - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
docId - Variable in class edu.ucsb.nceas.metacat.SubTree
 
DocInfoHandler - class edu.ucsb.nceas.metacat.DocInfoHandler.
A Class implementing callback bethods for the SAX parser to call when processing the XML messages from the replication handler
DocInfoHandler() - Constructor for class edu.ucsb.nceas.metacat.DocInfoHandler
 
docname - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
doctype - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
DocumentIdentifier - class edu.ucsb.nceas.metacat.DocumentIdentifier.
A class to parse document ids The docid is of the form siteCode.uniqueId.rev
DocumentIdentifier(String) - Constructor for class edu.ucsb.nceas.metacat.DocumentIdentifier
Constructor to build a docid object and parse an incoming string.
DocumentImpl - class edu.ucsb.nceas.metacat.DocumentImpl.
A class that represents an XML document.
DocumentImpl(DBConnection, long, String, String, String, String, String, String, String, String, int) - Constructor for class edu.ucsb.nceas.metacat.DocumentImpl
Construct a new document instance, writing the contents to the database.
DocumentImpl(String) - Constructor for class edu.ucsb.nceas.metacat.DocumentImpl
Constructor, creates document from database connection, used for reading the document
DocumentImpl(String, boolean) - Constructor for class edu.ucsb.nceas.metacat.DocumentImpl
Constructor used to create a document and read the document information from the database.
DocumentImplWrapper - class edu.ucsb.nceas.metacat.DocumentImplWrapper.
This class a wrapper class for documentimpl for insert or update.
DocumentImplWrapper(String, boolean) - Constructor for class edu.ucsb.nceas.metacat.DocumentImplWrapper
Constructor of DocumentImpleWrapper
doGet(HttpServletRequest, HttpServletResponse) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Handle "GET" method requests from HTTP clients
doGet(HttpServletRequest, HttpServletResponse) - Method in class edu.ucsb.nceas.metacat.MetacatReplication
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Handle "POST" method requests from HTTP clients
doPost(HttpServletRequest, HttpServletResponse) - Method in class edu.ucsb.nceas.metacat.MetacatReplication
 
DTD - Static variable in class edu.ucsb.nceas.metacat.DocumentImpl
 

E

edu.ucsb.nceas.dbadapter - package edu.ucsb.nceas.dbadapter
 
edu.ucsb.nceas.metacat - package edu.ucsb.nceas.metacat
 
edu.ucsb.nceas.protocols.metacat - package edu.ucsb.nceas.protocols.metacat
 
elementDecl(String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of element declarations
ElementNode - class edu.ucsb.nceas.metacat.ElementNode.
A Class that represents an XML element and its contents, and can build itself from a database connection
ElementNode(TreeSet, long) - Constructor for class edu.ucsb.nceas.metacat.ElementNode
Construct a new ElementNode instance, and recursively create its children
EML2 - Static variable in class edu.ucsb.nceas.metacat.DocumentImpl
 
EML2KEYWORD - Static variable in class edu.ucsb.nceas.metacat.MetaCatServlet
 
EMLNAMESPACE - Static variable in class edu.ucsb.nceas.metacat.DocumentImpl
 
EmlSAXHandler - class edu.ucsb.nceas.metacat.EmlSAXHandler.
A database aware Class implementing callback bethods for the SAX parser to call when processing the XML stream and generating events
EmlSAXHandler(DBConnection, String, String, String, String, String[], String, int) - Constructor for class edu.ucsb.nceas.metacat.EmlSAXHandler
Construct an instance of the handler class In this constructor, user can specify the version need to upadate
endCDATA() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of the end of CDATA sections
endDocument() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of end of the document
endDocument() - Method in class edu.ucsb.nceas.metacat.EmlSAXHandler
SAX Handler that receives notification of end of the document
endDTD() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of end of DTD
endElement(String, String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that is called at the end of each XML element
endElement(String, String, String) - Method in class edu.ucsb.nceas.metacat.ReplMessageHandler
This method write the indivUpdate to updates when it finds the end of
endElement(String, String, String) - Method in class edu.ucsb.nceas.metacat.CatalogMessageHandler
This method write the indivUpdate to updates when it finds the end of
endElement(String, String, String) - Method in class edu.ucsb.nceas.metacat.AddMissedSubTreeSAXHandler
SAX Handler that is called at the end of each XML element
endElement(String, String, String) - Method in class edu.ucsb.nceas.metacat.AccessControlList
Callback method used by the SAX Parser when the end tag of an element is detected.
endElement(String, String, String) - Method in class edu.ucsb.nceas.metacat.EmlSAXHandler
SAX Handler that is called at the end of each XML element
endElement(String, String, String) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
callback method used by the SAX Parser when the end tag of an element is detected.
endEntity(String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of the end of entities
endEntity(String) - Method in class edu.ucsb.nceas.metacat.AccessControlList
SAX Handler that receives notification of the end of entities.
endNodeId - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
endNodeId - Variable in class edu.ucsb.nceas.metacat.SubTree
 
equals(Object) - Method in class edu.ucsb.nceas.metacat.SubTree
method from Comparator interface
error(SAXParseException) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of recoverable parsing errors
externalEntityDecl(String, String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of external entity declarations
EXTERNALSCHEMALOCATIONPROPERTY - Static variable in class edu.ucsb.nceas.metacat.DocumentImpl
 

F

fatalError(SAXParseException) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of fatal parsing errors
fileToURL(File) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Utility method to convert a file handle into a URL
FilteredSubTree - class edu.ucsb.nceas.metacat.FilteredSubTree.
A Class that represents an Filtered XML Subtree, it means a subtree which contains another subtree has different access behavor to it.
FilteredSubTree(String, String, long, long) - Constructor for class edu.ucsb.nceas.metacat.FilteredSubTree
Constructor of filteredsubtree
findDataSetDocIdForGivenDocument(String) - Static method in class edu.ucsb.nceas.metacat.DBUtil
To a given docid, found a dataset docid which conatains the the given doicd This will be done by searching xml_relation table If couldn't find, null will be return
findDocuments(Reader, String, String[]) - Method in class edu.ucsb.nceas.metacat.DBQuery
routine to search the elements and attributes looking to match query
findDocuments(Reader, String, String[], boolean) - Method in class edu.ucsb.nceas.metacat.DBQuery
routine to search the elements and attributes looking to match query
findDocuments(String) - Method in class edu.ucsb.nceas.metacat.DBSimpleQuery
routine to search the elements and attributes looking to match query
findDocuments(String, String) - Method in class edu.ucsb.nceas.metacat.DBSimpleQuery
routine to search the elements and attributes looking to match query
ForceReplicationHandler - class edu.ucsb.nceas.metacat.ForceReplicationHandler.
A class to asyncronously force the replication of each server that has an entry in the xml_replication table.
ForceReplicationHandler(String, boolean, String) - Constructor for class edu.ucsb.nceas.metacat.ForceReplicationHandler
Use this constructor when the action is implied.
ForceReplicationHandler(String, String, boolean, String) - Constructor for class edu.ucsb.nceas.metacat.ForceReplicationHandler
Constructor of ForceReplicationHandler

G

geItsDataSetIdWithouAccessEntry() - Method in class edu.ucsb.nceas.metacat.AssociateAccessPolicy
Get the docid which it's mapped dataset doesn't has access entry
generate(String, String) - Method in class edu.ucsb.nceas.metacat.AccessionNumber
Generate an Accession Number of form .. where is always 1.
generate(String, String, String) - Method in class edu.ucsb.nceas.metacat.AccessionNumber
Generate an Accession Number of form ..
getAccessFileID(String) - Static method in class edu.ucsb.nceas.metacat.RelationHandler
Get the access file id for a package
getAccessQuery() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Method to append a access control query to SQL.
getAccessRules() - Method in class edu.ucsb.nceas.metacat.AccessSection
Get all access rule
getACL(String, String, String[]) - Method in class edu.ucsb.nceas.metacat.AccessControlList
Get Access Control List information for document from db connetion.
getAge() - Method in class edu.ucsb.nceas.metacat.DBConnection
get the db connetion age from the object
getArgString() - Method in class edu.ucsb.nceas.metacat.HttpMessage
Returns the urls argument strings
getAttribute(String) - Method in class edu.ucsb.nceas.metacat.BasicNode
Get an attribute value by name
getAttributeName(String) - Static method in class edu.ucsb.nceas.metacat.QuerySpecification
 
getAttributes() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get the attributes as a string
getAttributes(String) - Method in interface edu.ucsb.nceas.metacat.AuthInterface
Get attributes describing a user or group
getAttributes(String) - Method in class edu.ucsb.nceas.metacat.AuthLdap
Get attributes describing a user or group
getAttributes(String, String, String) - Method in interface edu.ucsb.nceas.metacat.AuthInterface
Get attributes describing a user or group
getAttributes(String, String, String) - Method in class edu.ucsb.nceas.metacat.AuthLdap
Get attributes describing a user or group
getCatalogVect() - Method in class edu.ucsb.nceas.metacat.CatalogMessageHandler
 
getCatalogXML() - Static method in class edu.ucsb.nceas.metacat.MetacatReplication
Returns the xml_catalog table encoded in xml
getCheckOutMethodName() - Method in class edu.ucsb.nceas.metacat.DBConnection
get the the name of method checked out the connection from the object
getCheckOutSerialNumber() - Method in class edu.ucsb.nceas.metacat.DBConnection
get the check out serial number
getCheckOutTime() - Method in class edu.ucsb.nceas.metacat.DBConnection
get the when a db connetion was checked out
getChildren() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get the an enumeration of the children of this node
getConnections() - Method in class edu.ucsb.nceas.metacat.DBConnection
get the connetion from the object
getConnectionTime() - Method in class edu.ucsb.nceas.metacat.DBConnection
get the how long db connetion used for the object
getContentType() - Method in class edu.ucsb.nceas.metacat.ContentTypeProvider
Method to get content type
getControlLevel() - Method in class edu.ucsb.nceas.metacat.AccessSection
Get controllevel
getCookie() - Static method in class edu.ucsb.nceas.metacat.HttpMessage
return the cookie that this message object contains
getCreateDate() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
get the creation date
getCreateTime() - Method in class edu.ucsb.nceas.metacat.DBConnection
get the db connetion created time from the object
getCurrentRevisionAndDocTypeForGivenDocument(String) - Method in class edu.ucsb.nceas.metacat.DBUtil
Method to get current revision and doctype for a given docid The output will look like "rev;doctype"
getDataFileLockGrant(String) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
 
getDataFileLockGrant(String, int) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
The method will check if metacat can get data file lock grant If server code is 1, it get.
getDataReplication() - Method in class edu.ucsb.nceas.metacat.ReplicationServer
Get datareplication xml or not option
getDataReplicationValue(String) - Method in class edu.ucsb.nceas.metacat.ReplicationServerList
To a given server name, try to get its data file replciation option If couldn't find the server in the server list, false will return
getDateTimeFunction() - Method in class edu.ucsb.nceas.dbadapter.AbstractDatabase
The function name that gets the current date and time from the database server
getDateTimeFunction() - Method in class edu.ucsb.nceas.dbadapter.OracleAdapter
The Oracle's function name that gets the current date and time from the database server: "sysdate"
getDateTimeFunction() - Method in class edu.ucsb.nceas.dbadapter.SqlserverAdapter
The SQL Server's function name that gets the current date and time from the database server: "getdate()"
getDateTimeFunction() - Method in class edu.ucsb.nceas.dbadapter.PostgresqlAdapter
The PostgreSQL function name that gets the current date and time from the database server
getDBConnection(String) - Static method in class edu.ucsb.nceas.metacat.DBConnectionPool
Method to get a DBConnection in connection pool 1) try to get a DBConnection from DBConnection pool 2) if 1) failed, then check the size of pool.
getDeletesVect() - Method in class edu.ucsb.nceas.metacat.ReplMessageHandler
 
getDocHomeServer() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
 
getDocid() - Method in class edu.ucsb.nceas.metacat.AccessionNumber
returns the docid encoded in this accession number
getDocId() - Method in class edu.ucsb.nceas.metacat.SubTree
Get the docId
getDocId() - Method in class edu.ucsb.nceas.metacat.FilteredSubTree
Get the docId
getDocID() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get the doc id of this node
getDocID() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
Get the document identifier (docid)
getDocIdFromString(String) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Utility method to get docid from a given string
getDocIdWithoutRevFromInlineDataID(String) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Method to get docidwithrev from eml2 inline data id The eml inline data id would look like eml.200.2.3
getDocIdWithoutRevsion() - Method in class edu.ucsb.nceas.metacat.RemoteDocument
Method to get docidWithout revision
getDocIdWithRevFromOnlineURL(String) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Get docid from online/url string
getDocInfo() - Method in class edu.ucsb.nceas.metacat.DocInfoHandler
 
getDocname() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
get the document name
getDocname() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
get the document name
getDocname() - Method in class edu.ucsb.nceas.metacat.AccessControlList
Get the document name.
getDoctype() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
get the document type (which is the PublicID)
getDocType() - Method in class edu.ucsb.nceas.metacat.RemoteDocument
Method to get docType
getEndNodeId() - Method in class edu.ucsb.nceas.metacat.SubTree
Get end node id
getEndNodeId() - Method in class edu.ucsb.nceas.metacat.FilteredSubTree
Get end node id
getException() - Method in class edu.ucsb.nceas.metacat.McdbException
Get the tunneled Exception
getFilterDocList() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Accessor method to return a vector of the filter doc types as defined in the <filterdoctype> tag in the pathquery dtd.
getFilteredSubTree() - Method in class edu.ucsb.nceas.metacat.FilteredSubTree
Get the filted subtree vector
getFreeDBConnectionNumber() - Static method in class edu.ucsb.nceas.metacat.DBConnectionPool
Method to get the number of free DBConnection in DBConnection pool
getGroups(String, String) - Method in interface edu.ucsb.nceas.metacat.AuthInterface
Get all groups from the authentication service
getGroups(String, String) - Method in class edu.ucsb.nceas.metacat.AuthLdap
Get all groups from the authentication service
getGroups(String, String, String) - Method in interface edu.ucsb.nceas.metacat.AuthInterface
Get the groups for a particular user from the authentication service
getGroups(String, String, String) - Method in class edu.ucsb.nceas.metacat.AuthLdap
Get the groups for a particular user from the authentication service
getHashParam(String) - Method in class edu.ucsb.nceas.metacat.MetacatURL
returns a single parameter from the hash by name
getHashParams() - Method in class edu.ucsb.nceas.metacat.MetacatURL
Returns the parameters in a hashtable.
getHomeServerCodeForDocId(String) - Static method in class edu.ucsb.nceas.metacat.MetacatReplication
Returns a home server location given a accnum
getHomeServerInfoForDocId(String) - Static method in class edu.ucsb.nceas.metacat.MetacatReplication
Method to get a host server information for given docid
getHub() - Method in class edu.ucsb.nceas.metacat.ReplicationServer
Get hub option
getHubValue(String) - Method in class edu.ucsb.nceas.metacat.ReplicationServerList
To a given server name, try to get its hub option If couldn't find the server in the server list, false will return
getIdentifier() - Method in class edu.ucsb.nceas.metacat.DocumentIdentifier
returns
getIdentifier() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Accessor method to return the identifier of this Query
getInstance() - Static method in class edu.ucsb.nceas.metacat.DBConnectionPool
Returns the single instance, creating one if it's the first time this method is called.
getIsNULLFunction() - Method in class edu.ucsb.nceas.dbadapter.AbstractDatabase
The function name that is used to return non-NULL value
getIsNULLFunction() - Method in class edu.ucsb.nceas.dbadapter.OracleAdapter
The Oracle's function name that is used to return non-NULL value
getIsNULLFunction() - Method in class edu.ucsb.nceas.dbadapter.SqlserverAdapter
The SQL Server's function name that is used to return non-NULL value
getIsNULLFunction() - Method in class edu.ucsb.nceas.dbadapter.PostgresqlAdapter
The PostgreSQL function name that is used to return non-NULL value
getLastCheckedDate() - Method in class edu.ucsb.nceas.metacat.ReplicationServer
Get last checked date
getLastCheckedDate(String) - Method in class edu.ucsb.nceas.metacat.ReplicationServerList
To a given server name, try to get its lastcheck date.
getLatestRevisionNumber(String) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
Get last revision number from database for a docid If couldn't find an entry, -1 will return The return value is integer because we want compare it to there new one
getLocalReplicationServerName() - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Method to get the name of local replication server
getMaxDocid(String) - Method in class edu.ucsb.nceas.metacat.DBUtil
get the lastest Accession Number from a particular scope
getMessage() - Method in class edu.ucsb.nceas.metacat.AuthSession
Get the message associated with authenticating this session.
getMessage() - Method in class edu.ucsb.nceas.metacat.McdbException
Get the message from this exception.
getMetaData() - Method in class edu.ucsb.nceas.metacat.DBConnection
Method to get meta data
getNamespace(String) - Method in class edu.ucsb.nceas.metacat.BasicNode
Get an uri of the namespace prefix
getNameSpaceAndLocationString() - Method in class edu.ucsb.nceas.metacat.SchemaLocationResolver
A method to get nameSpaceAndLocationString
getNodeContent(String, String) - Static method in class edu.ucsb.nceas.metacat.DBQuery
returns a string array of the contents of a particular node.
getNodeData() - Method in class edu.ucsb.nceas.metacat.CommentNode
Get the node data as a string value
getNodeData() - Method in class edu.ucsb.nceas.metacat.NodeRecord
 
getNodeData() - Method in class edu.ucsb.nceas.metacat.PINode
Get the node data as a string value
getNodeData() - Method in class edu.ucsb.nceas.metacat.TextNode
Get the node data as a string value
getNodeId() - Method in class edu.ucsb.nceas.metacat.NodeRecord
Get functions
getNodeID() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get the id of this node
getNodeIndex() - Method in class edu.ucsb.nceas.metacat.NodeRecord
 
getNodeIndex() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get nodeIndex of the node
getNodeName() - Method in class edu.ucsb.nceas.metacat.NodeRecord
 
getNodePrefix() - Method in class edu.ucsb.nceas.metacat.NodeRecord
 
getNodeType() - Method in class edu.ucsb.nceas.metacat.NodeRecord
 
getNodeType() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get the type of this node
getNotFoundDataSetId() - Method in class edu.ucsb.nceas.metacat.AssociateAccessPolicy
Get the docid which didn't found a dataset id to map it
getOption(String) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Utility method to get an option value from the properties file
getOption(String, String) - Method in class edu.ucsb.nceas.metacat.MetaCatUtil
Utility method to get an option value from a properties file
getOptionList(String) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
 
getOwnerList() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Accessor method to return a vector of the owner fields as defined in the <owner> tag in the pathquery dtd.
getParam(int) - Method in class edu.ucsb.nceas.metacat.MetacatURL
Returns a single parameter and value as a 1D string array.
getParams() - Method in class edu.ucsb.nceas.metacat.MetacatURL
Returns the parameters as a 2D string array.
getParentID() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get the parent id of this node
getParentNode() - Method in class edu.ucsb.nceas.metacat.DBSAXNode
get the parent of this node
getParentNodeId() - Method in class edu.ucsb.nceas.metacat.NodeRecord
 
getPathContent(File, String) - Static method in class edu.ucsb.nceas.metacat.DBTransform
gets the content of a tag in a given xml file with the given path
getPermission() - Method in class edu.ucsb.nceas.metacat.AccessRule
Get permission
getPermissionOrder() - Method in class edu.ucsb.nceas.metacat.AccessSection
Get permissionOrder
getPermissionType() - Method in class edu.ucsb.nceas.metacat.AccessRule
 
getPrincipal() - Method in class edu.ucsb.nceas.metacat.AccessRule
Get the principle vector
getPrincipals(String, String) - Method in interface edu.ucsb.nceas.metacat.AuthInterface
Get all groups and users from authentication service.
getPrincipals(String, String) - Method in class edu.ucsb.nceas.metacat.AuthLdap
Get all groups and users from authentication scheme.
getPrincipals(String, String) - Method in class edu.ucsb.nceas.metacat.AuthSession
Get all groups and users from authentication scheme.
getProtocol() - Method in class edu.ucsb.nceas.metacat.MetacatURL
Returns the type of the url.
getPublicaccess() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
 
getQueryGroup() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
get the QueryGroup used to express query constraints
getQueryTitle() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Accessor method to return the title of this Query
getReferences() - Method in class edu.ucsb.nceas.metacat.AccessSection
Get the references
getReplication() - Method in class edu.ucsb.nceas.metacat.ReplicationServer
Get replication xml or not option
getReplicationValue(String) - Method in class edu.ucsb.nceas.metacat.ReplicationServerList
To a given server name, try to get its xml replciation option If couldn't find the server in the server list, false will return
getReturnDocList() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Accessor method to return a vector of the return document types as defined in the <returndoctype> tag in the pathquery dtd.
getReturnFieldList() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Accessor method to return a vector of the extended return fields as defined in the <returnfield> tag in the pathquery dtd.
getRev() - Method in class edu.ucsb.nceas.metacat.DocumentIdentifier
returns the revision number encoded in this docid
getRev() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
 
getRev() - Method in class edu.ucsb.nceas.metacat.AccessionNumber
returns the revision number encoded in this accession number
getRevision() - Method in class edu.ucsb.nceas.metacat.RemoteDocument
Method to get revsion
getRevisionStringFromString(String) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Utility method to get version string from a given string
getRootNodeID() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get the root node id of this node
getRootNodeID() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
get the root node identifier
getSeparator() - Method in class edu.ucsb.nceas.metacat.DocumentIdentifier
returns the separator used in the accession number
getServerCodeForServerName(String) - Static method in class edu.ucsb.nceas.metacat.MetacatReplication
Returns a server code given a server name
getServerlocation() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
 
getServerName() - Method in class edu.ucsb.nceas.metacat.ReplicationServer
Get server name
getServerNameForServerCode(int) - Static method in class edu.ucsb.nceas.metacat.MetacatReplication
Returns the name of a server given a serverCode
getSiteCode() - Method in class edu.ucsb.nceas.metacat.DocumentIdentifier
returns the siteCode encoded in this docid
getSiteList() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Accessor method to return a vector of the site fields as defined in the <site> tag in the pathquery dtd.
getSizeOfDBConnectionPool() - Method in class edu.ucsb.nceas.metacat.DBConnectionPool
Method to get the size of DBConnectionPool
getStartElementName() - Method in class edu.ucsb.nceas.metacat.SubTree
Get startElementName
getStartElementName() - Method in class edu.ucsb.nceas.metacat.FilteredSubTree
Get startElementName
getStartNodeId() - Method in class edu.ucsb.nceas.metacat.SubTree
Get start node id
getStartNodeId() - Method in class edu.ucsb.nceas.metacat.FilteredSubTree
Get start node id
getStatus() - Method in class edu.ucsb.nceas.metacat.DBConnection
get the db connetion status from the object
getStoredTmpNodeStack() - Method in class edu.ucsb.nceas.metacat.AccessSection
Get storedTempNodeStack
getStringDelimiter() - Method in class edu.ucsb.nceas.dbadapter.AbstractDatabase
The character that the specific database implementation uses to indicate string literals in SQL.
getStringDelimiter() - Method in class edu.ucsb.nceas.dbadapter.OracleAdapter
The Oracles's string delimiter character: single quote (')
getStringDelimiter() - Method in class edu.ucsb.nceas.dbadapter.SqlserverAdapter
The SQL Server's string delimiter character: single quote (')
getStringDelimiter() - Method in class edu.ucsb.nceas.dbadapter.PostgresqlAdapter
PostgreSQL's string delimiter character: single quote (')
getStyleSystemId(String, String, String) - Method in class edu.ucsb.nceas.metacat.DBTransform
Lookup a stylesheet reference from the db catalog
getSubTreeId() - Method in class edu.ucsb.nceas.metacat.SubTree
Get the subTreeId
getSubTreeId() - Method in class edu.ucsb.nceas.metacat.FilteredSubTree
Get the subTreeId
getSubTreeNodeList() - Method in class edu.ucsb.nceas.metacat.SubTree
 
getSubTreeNodeStack() - Method in class edu.ucsb.nceas.metacat.SubTree
Get subtree node stack
getSystemID() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
get the system identifier
getSystemId(String, String, String) - Method in class edu.ucsb.nceas.metacat.DBTransform
Lookup a stylesheet reference from the db catalog
getTag() - Method in class edu.ucsb.nceas.metacat.DBConnection
get the db connetion tag from the object
getTagName() - Method in class edu.ucsb.nceas.metacat.BasicNode
Get the name of this node
getUnfilteredSubTreeNodeList() - Method in class edu.ucsb.nceas.metacat.FilteredSubTree
Get unfiltered subtree node list
getUnfoundDocId() - Method in class edu.ucsb.nceas.metacat.McdbDocNotFoundException
Method to get the docid which couldn't be found
getUnfoundRevision() - Method in class edu.ucsb.nceas.metacat.McdbDocNotFoundException
Method to get the docid's revsion which couldn't be found
getUniqueId() - Method in class edu.ucsb.nceas.metacat.DocumentIdentifier
returns the uniqueId encoded in this docid
getUniqueID(Connection, String) - Method in class edu.ucsb.nceas.dbadapter.AbstractDatabase
Unique ID generator
getUniqueID(Connection, String) - Method in class edu.ucsb.nceas.dbadapter.OracleAdapter
The Oracle unique ID generator through use of sequences The name of the sequence used to generate the unique id is made from the name of the table that uses the id by appending "_id_seq" to it.
getUniqueID(Connection, String) - Method in class edu.ucsb.nceas.dbadapter.SqlserverAdapter
The SQL Server unique ID generator through use of IDENTITY key The IDENTITY key is a column in the table.
getUniqueID(Connection, String) - Method in class edu.ucsb.nceas.dbadapter.PostgresqlAdapter
The PostgreSQL unique ID /sequence generator The name of the sequence used to generate the unique id is made from the name of the table that uses the id by appending "_id_seq" to it.
getUpdateDate() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
get the update date
getUpdatesVect() - Method in class edu.ucsb.nceas.metacat.ReplMessageHandler
 
getURLContent(URL) - Static method in class edu.ucsb.nceas.metacat.MetacatReplication
This method returns the content of a url
getUsageCount() - Method in class edu.ucsb.nceas.metacat.DBConnection
get the db connetion usage times from the object
getUserowner() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
 
getUsers(String, String) - Method in interface edu.ucsb.nceas.metacat.AuthInterface
Get all users from the authentication service
getUsers(String, String) - Method in class edu.ucsb.nceas.metacat.AuthLdap
Get all users from the authentication service
getUsers(String, String, String) - Method in interface edu.ucsb.nceas.metacat.AuthInterface
Get the users for a particular group from the authentication service
getUsers(String, String, String) - Method in class edu.ucsb.nceas.metacat.AuthLdap
Get the users for a particular group from the authentication service
getUserupdated() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
 
getValidateType() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
 
getVersionFromString(String) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Utility method to get version number from a given string
getWarningMessage() - Method in class edu.ucsb.nceas.metacat.DBConnection
get the db connetion waring message from the object
getZippedPackage(String, ServletOutputStream, String, String[], String) - Method in class edu.ucsb.nceas.metacat.DBQuery
put a data packadge into a zip output stream
groups - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 

H

handleQuery(PrintWriter, Hashtable, HttpServletResponse, String, String[], String) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Create the xml query, execute it and display the results.
Handler - class edu.ucsb.nceas.protocols.metacat.Handler.
Class handling metacat scheme URLs by delegating connection requests to the MetacatURLConnection class
Handler() - Constructor for class edu.ucsb.nceas.protocols.metacat.Handler
 
handleSQuery(PrintWriter, Hashtable, HttpServletResponse, String, String[], String) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Retreive the squery xml, execute it and display it
hasPermission(String, String[], String) - Method in class edu.ucsb.nceas.metacat.PermissionController
Check from db connection if at least one of the list of @principals
hasPermissionForSubTreeNode(String, String[], String, long) - Method in class edu.ucsb.nceas.metacat.PermissionController
The method to determine of a node can be access by a user just by subtree access control
hasReadPermission(String, String[], String) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
Check for "READ" permission base on docid, user and group
hasSubTreeAccessControl() - Method in class edu.ucsb.nceas.metacat.PermissionController
Return if a document has subtree access control
hasUnaccessableSubTree(String, String[], String) - Method in class edu.ucsb.nceas.metacat.PermissionController
This method will return a hasTable of subtree which user doesn't has the permssion to access
hitTextNode - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
HttpMessage - class edu.ucsb.nceas.metacat.HttpMessage.
Send a message to an HTTP server using either a GET or POST operation
HttpMessage(URL) - Constructor for class edu.ucsb.nceas.metacat.HttpMessage
 

I

ignorableWhitespace(char[], int, int) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that is called for each XML text node that is Ignorable white space
ignorableWhitespace(char[], int, int) - Method in class edu.ucsb.nceas.metacat.EmlSAXHandler
SAX Handler that is called for each XML text node that is Ignorable white space
incChildNum() - Method in class edu.ucsb.nceas.metacat.BasicNode
increase childNum when new child for the node is created
increaseCheckOutSerialNumber(int) - Method in class edu.ucsb.nceas.metacat.DBConnection
Increase a usage number to this object
increaseUsageCount(int) - Method in class edu.ucsb.nceas.metacat.DBConnection
Increase a usage number to this object
INDEXDELAY - Static variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
init(ServletConfig) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Initialize the servlet by creating appropriate database connections
init(ServletConfig) - Method in class edu.ucsb.nceas.metacat.MetacatReplication
Initialize the servlet by creating appropriate database connections
initParser(DefaultHandler) - Static method in class edu.ucsb.nceas.metacat.ReplicationHandler
Method to initialize the message parser
INLINE - Static variable in class edu.ucsb.nceas.metacat.AddMissedSubTreeSAXHandler
 
INLINE - Static variable in class edu.ucsb.nceas.metacat.EmlSAXHandler
 
insertPermissions() - Method in class edu.ucsb.nceas.metacat.AccessControlForSingleFile
Method to insert records into xml_access table
internalEntityDecl(String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of internal entity declarations
intValue(String) - Static method in class edu.ucsb.nceas.metacat.AccessControlList
 
isEmpty() - Method in class edu.ucsb.nceas.metacat.ReplicationServerList
Method to determine the server list is empty or not
isGivenServerInList(String) - Method in class edu.ucsb.nceas.metacat.ReplicationServerList
Method to determine if a given server in the replication server list
isPercentageSearch() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Method to indicate this query is a percentage search

L

LEXICALPROPERTY - Static variable in class edu.ucsb.nceas.metacat.DocumentImpl
 

M

main(String) - Static method in class edu.ucsb.nceas.metacat.FilteredSubTree
 
main(String[]) - Static method in class edu.ucsb.nceas.metacat.SchemaLocationResolver
 
main(String[]) - Static method in class edu.ucsb.nceas.metacat.DocumentIdentifier
Test driver.
main(String[]) - Static method in class edu.ucsb.nceas.metacat.MetacatURL
Test method for this class.
main(String[]) - Static method in class edu.ucsb.nceas.metacat.DBUtil
main routine used for testing.
main(String[]) - Static method in class edu.ucsb.nceas.metacat.DBValidate
main method for testing
main(String[]) - Static method in class edu.ucsb.nceas.metacat.ContentTypeProvider
 
main(String[]) - Static method in class edu.ucsb.nceas.metacat.DBSimpleQuery
the main routine used to test the DBSimpleQuery utility.
main(String[]) - Static method in class edu.ucsb.nceas.metacat.AuthLdap
Test method for the class
main(String[]) - Static method in class edu.ucsb.nceas.metacat.DBTransform
the main routine used to test the transform utility.
main(String[]) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
the main routine used to test the DBWriter utility.
main(String[]) - Static method in class edu.ucsb.nceas.metacat.DBQuery
the main routine used to test the DBQuery utility.
main(String[]) - Static method in class edu.ucsb.nceas.metacat.AssociateAccessPolicy
the main routine used to associate access policy
main(String[]) - Static method in class edu.ucsb.nceas.metacat.QuerySpecification
Main routine for testing
main(String[]) - Static method in class edu.ucsb.nceas.dbadapter.AbstractDatabase
the main routine used to test the dbadapter utility.
MAXDATACHARS - Static variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
McdbDocNotFoundException - exception edu.ucsb.nceas.metacat.McdbDocNotFoundException.
Exception thrown when an error occurs because a document with a given ID could not be found in the metacat database.
McdbDocNotFoundException() - Constructor for class edu.ucsb.nceas.metacat.McdbDocNotFoundException
Create a new McdbDocNotFoundException.
McdbDocNotFoundException(Exception) - Constructor for class edu.ucsb.nceas.metacat.McdbDocNotFoundException
Create a new McdbDocNotFoundException.
McdbDocNotFoundException(String, Exception) - Constructor for class edu.ucsb.nceas.metacat.McdbDocNotFoundException
Create a new McdbDocNotFoundException.
McdbDocNotFoundException(String, String, String) - Constructor for class edu.ucsb.nceas.metacat.McdbDocNotFoundException
Create a new McdbDocNotFoundException.
McdbException - exception edu.ucsb.nceas.metacat.McdbException.
Exception thrown when an error occurs because a problem occurred in the metacat database.
McdbException() - Constructor for class edu.ucsb.nceas.metacat.McdbException
Create a new McdbException.
McdbException(Exception) - Constructor for class edu.ucsb.nceas.metacat.McdbException
Create a new McdbException.
McdbException(String) - Constructor for class edu.ucsb.nceas.metacat.McdbException
Create a new McdbException.
McdbException(String, Exception) - Constructor for class edu.ucsb.nceas.metacat.McdbException
Create a new McdbException.
MetacatReplication - class edu.ucsb.nceas.metacat.MetacatReplication.
 
MetacatReplication() - Constructor for class edu.ucsb.nceas.metacat.MetacatReplication
 
MetaCatServlet - class edu.ucsb.nceas.metacat.MetaCatServlet.
A metadata catalog server implemented as a Java Servlet
MetaCatServlet() - Constructor for class edu.ucsb.nceas.metacat.MetaCatServlet
 
MetacatURL - class edu.ucsb.nceas.metacat.MetacatURL.
 
MetacatURL(String) - Constructor for class edu.ucsb.nceas.metacat.MetacatURL
This constructor takes a string url and parses it according to the following rules.
MetacatURLConnection - class edu.ucsb.nceas.protocols.metacat.MetacatURLConnection.
Handle requests for metacat scheme URLs
MetacatURLConnection(URL) - Constructor for class edu.ucsb.nceas.protocols.metacat.MetacatURLConnection
Construct a new metacat scheme URL connection
MetaCatUtil - class edu.ucsb.nceas.metacat.MetaCatUtil.
A suite of utility classes for the metadata catalog server
MetaCatUtil() - Constructor for class edu.ucsb.nceas.metacat.MetaCatUtil
 

N

NAMESPACEFEATURE - Static variable in class edu.ucsb.nceas.metacat.DocumentImpl
 
NAMESPACEPREFIXESFEATURE - Static variable in class edu.ucsb.nceas.metacat.DocumentImpl
 
namespaces - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
newPathExpressionWithOutAttribute(String) - Static method in class edu.ucsb.nceas.metacat.QuerySpecification
 
NodeComparator - class edu.ucsb.nceas.metacat.NodeComparator.
A utility class that sorts two node records.
NodeComparator() - Constructor for class edu.ucsb.nceas.metacat.NodeComparator
Constructor
nodedata - Variable in class edu.ucsb.nceas.metacat.NodeRecord
 
nodeid - Variable in class edu.ucsb.nceas.metacat.NodeRecord
 
nodeindex - Variable in class edu.ucsb.nceas.metacat.NodeRecord
 
nodeIndex - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
nodename - Variable in class edu.ucsb.nceas.metacat.NodeRecord
 
nodeprefix - Variable in class edu.ucsb.nceas.metacat.NodeRecord
 
NodeRecord - class edu.ucsb.nceas.metacat.NodeRecord.
A utility class that encapsulates a node and its data
NodeRecord(long, long, long, String, String, String, String) - Constructor for class edu.ucsb.nceas.metacat.NodeRecord
Constructor
nodeStack - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
nodetype - Variable in class edu.ucsb.nceas.metacat.NodeRecord
 
NONAMESPACELOCATION - Static variable in class edu.ucsb.nceas.metacat.MetaCatServlet
 
normalize(String) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Normalizes the given string.
notationDecl(String, String, String) - Method in class edu.ucsb.nceas.metacat.DBDTDHandler
Notation declarations are not signaled

O

openConnection() - Static method in class edu.ucsb.nceas.metacat.DBConnection
Method to establish DBConnection
openConnection(URL) - Method in class edu.ucsb.nceas.protocols.metacat.Handler
Open a new connection to the URL by delegating to the MetacatURLConnection
OracleAdapter - class edu.ucsb.nceas.dbadapter.OracleAdapter.
The Oracle db adapter implementation.
OracleAdapter() - Constructor for class edu.ucsb.nceas.dbadapter.OracleAdapter
 

P

parentnodeid - Variable in class edu.ucsb.nceas.metacat.NodeRecord
 
parseQuery(String) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Utility method to parse the query part of a URL into parameters.
PERMISSION - Static variable in interface edu.ucsb.nceas.metacat.AccessControlInterface
 
PermissionController - class edu.ucsb.nceas.metacat.PermissionController.
 
PermissionController(String) - Constructor for class edu.ucsb.nceas.metacat.PermissionController
Constructor for PermissionController
PINode - class edu.ucsb.nceas.metacat.PINode.
A Class that represents an XML PI node and its contents,
PINode(long, long, String, String) - Constructor for class edu.ucsb.nceas.metacat.PINode
Construct a new PINode instance
PostgresqlAdapter - class edu.ucsb.nceas.dbadapter.PostgresqlAdapter.
The PostgreSQL db adapter implementation.
PostgresqlAdapter() - Constructor for class edu.ucsb.nceas.dbadapter.PostgresqlAdapter
 
prepareStatement(String) - Method in class edu.ucsb.nceas.metacat.DBConnection
Method to create a PreparedStatement by sending a sql statement
PRINCIPAL - Static variable in interface edu.ucsb.nceas.metacat.AccessControlInterface
 
printAccessControlSQLForReturnField(String) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
This sql command will selecet startnodeid and endnodeid that user can NOT access
printAttributeQuery(String) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
This method prints sql based upon the returnfield tag in the pathquery document has an attribute.
printExtendedSQL(String, Hashtable) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
This method prints sql based upon the <returnfield> tag in the pathquery document.
printGetDocByDoctypeSQL(String) - Static method in class edu.ucsb.nceas.metacat.QuerySpecification
 
printHashParams() - Method in class edu.ucsb.nceas.metacat.MetacatURL
 
printMethodNameHavingBusyDBConnection() - Method in class edu.ucsb.nceas.metacat.DBConnectionPool
Method to print out the method name which have busy DBconnection
printPackageSQL() - Static method in class edu.ucsb.nceas.metacat.QuerySpecification
Prints sql that returns all relations in the database.
printPackageSQL(String) - Static method in class edu.ucsb.nceas.metacat.QuerySpecification
Prints sql that returns all relations in the database that were input under a specific docid
printPackageSQL(String, String) - Static method in class edu.ucsb.nceas.metacat.QuerySpecification
Returns all of the relations that has a certain docid in the subject or the object.
printParams() - Method in class edu.ucsb.nceas.metacat.MetacatURL
Prints the parameters neatly to system.out
printRelationSQL(String) - Static method in class edu.ucsb.nceas.metacat.QuerySpecification
 
printSQL(boolean) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
create a SQL serialization of the query that this instance represents
processingDTD - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
processingDTD() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
get the document processing state
processingDTD() - Method in class edu.ucsb.nceas.metacat.AccessControlList
Get the document processing state.
processingInstruction(String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler called once for each processing instruction found: node that PI may occur before or after the root element.
processingInstruction(String, String) - Method in class edu.ucsb.nceas.metacat.EmlSAXHandler
SAX Handler called once for each processing instruction found: node that PI may occur before or after the root element.
pub - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
PUBLIC - Static variable in interface edu.ucsb.nceas.metacat.AccessControlInterface
 

Q

QuerySpecification - class edu.ucsb.nceas.metacat.QuerySpecification.
A Class that represents a structured query, and can be constructed from an XML serialization conforming to @see pathquery.dtd.
QuerySpecification(Reader, String, String) - Constructor for class edu.ucsb.nceas.metacat.QuerySpecification
construct an instance of the QuerySpecification class
QuerySpecification(String, String, String) - Constructor for class edu.ucsb.nceas.metacat.QuerySpecification
construct an instance of the QuerySpecification class

R

READ - Static variable in interface edu.ucsb.nceas.metacat.AccessControlInterface
 
readDataGuide(String) - Method in class edu.ucsb.nceas.metacat.DBUtil
read Data Guide for a given doctype from db connection in XML format select all distinct absolute paths from xml_index table
readDoctypes() - Method in class edu.ucsb.nceas.metacat.DBUtil
read all doctypes from db connection in XML format select all Public Id from xml_catalog table
readDocumentFromRemoteServer(ServletOutputStream) - Method in class edu.ucsb.nceas.metacat.RemoteDocument
Method to read both xml and data file from remote server and put the output into the given output stream
readDocumentFromRemoteServerByZip(ZipOutputStream) - Method in class edu.ucsb.nceas.metacat.RemoteDocument
Method to read both xml and data file from remote server by zip output and put the output into the given output stream
readDTDSchema(String) - Method in class edu.ucsb.nceas.metacat.DBUtil
read DTD or Schema file from Metacat's XML catalog system
readInlineDataFromFileSystem(String) - Static method in class edu.ucsb.nceas.metacat.EmlSAXHandler
 
READSTRING - Static variable in interface edu.ucsb.nceas.metacat.AccessControlInterface
 
readUsingSlowAlgorithm() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
Get a text representation of the XML document as a string This older algorithm uses a recursive tree of Objects to represent the nodes of the tree.
registerDocument(String, String, String, String) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
This method will be call in handleUploadRequest in MetacatServlet class
registerDocument(String, String, String, String, int) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
Register a document that resides on the filesystem with the database.
registerDocumentInReplication(String, String, String, String, int) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
Register a document that resides on the filesystem with the database.
RelationHandler - class edu.ucsb.nceas.metacat.RelationHandler.
 
RelationHandler(String, String, DBConnection, TripleCollection) - Constructor for class edu.ucsb.nceas.metacat.RelationHandler
Constructor for this class.
release() - Static method in class edu.ucsb.nceas.metacat.DBConnectionPool
Method to shut down all connections
RemoteDocument - class edu.ucsb.nceas.metacat.RemoteDocument.
A class represents a document in remote metacat server.
RemoteDocument(String, String, String, String, String) - Constructor for class edu.ucsb.nceas.metacat.RemoteDocument
Constructor of RemoteDcoument
replaceWhiteSpaceForURL(String) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
A method to replace whitespace in url
replErrorLog(String) - Static method in class edu.ucsb.nceas.metacat.MetacatReplication
Method for writing replication messages to a log file specified in metacat.properties
ReplicationHandler - class edu.ucsb.nceas.metacat.ReplicationHandler.
This class handles deltaT replication checking.
ReplicationHandler(PrintWriter) - Constructor for class edu.ucsb.nceas.metacat.ReplicationHandler
 
ReplicationHandler(PrintWriter, int) - Constructor for class edu.ucsb.nceas.metacat.ReplicationHandler
 
ReplicationServer - class edu.ucsb.nceas.metacat.ReplicationServer.
A class express a entry in xml_replication.
ReplicationServer() - Constructor for class edu.ucsb.nceas.metacat.ReplicationServer
Consturctor of ReplicationServer
ReplicationServerList - class edu.ucsb.nceas.metacat.ReplicationServerList.
A class represent a replication server list in xml_replcation table
ReplicationServerList() - Constructor for class edu.ucsb.nceas.metacat.ReplicationServerList
constructor of ReplicationServerList It will build server list.
replLog(String) - Static method in class edu.ucsb.nceas.metacat.MetacatReplication
Method for writing replication messages to a log file specified in metacat.properties
ReplMessageHandler - class edu.ucsb.nceas.metacat.ReplMessageHandler.
A Class implementing callback bethods for the SAX parser to call when processing the XML messages from the replication handler
ReplMessageHandler() - Constructor for class edu.ucsb.nceas.metacat.ReplMessageHandler
 
replToServer(String) - Static method in class edu.ucsb.nceas.metacat.MetacatReplication
Returns true if the replicate field for server in xml_replication is 1.
resolveEntity(String, String) - Method in class edu.ucsb.nceas.metacat.DBEntityResolver
The Parser call this method before opening any external entity except the top-level document entity (including the external DTD subset, external entities referenced within the DTD, and external entities referenced within the document element)
resolveNameSpace() - Method in class edu.ucsb.nceas.metacat.SchemaLocationResolver
When got a name space, check if it is in the database, if it is do nothing else upload it to metacat to store it and register it in catalog table
returnDBConnection(DBConnection, int) - Static method in class edu.ucsb.nceas.metacat.DBConnectionPool
Method to return a connection to DBConnection pool.
returnErrors() - Method in class edu.ucsb.nceas.metacat.DBValidate
provide a list of errors from the validation process
reviseStack(Stack) - Static method in class edu.ucsb.nceas.metacat.MetaCatUtil
Revise stack change a stack to opposite order
revision - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
rollback() - Method in class edu.ucsb.nceas.metacat.DBConnection
Method to roll back
rootNode - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
run() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
 
run() - Method in class edu.ucsb.nceas.metacat.DBConnectionPool
periodically to recycle the connection
run() - Method in class edu.ucsb.nceas.metacat.MetacatReplication
this method handles the timeout for a file lock.
run() - Method in class edu.ucsb.nceas.metacat.AuthLdap
This method will be called by start a thread.
run() - Method in class edu.ucsb.nceas.metacat.ReplicationHandler
Method that implements TimerTask.run().
run() - Method in class edu.ucsb.nceas.metacat.ForceReplicationHandler
Method to send force replication command to other server to get a new or updated docid

S

SCHEMA - Static variable in class edu.ucsb.nceas.metacat.DocumentImpl
 
SCHEMALOCATIONKEYWORD - Static variable in class edu.ucsb.nceas.metacat.MetaCatServlet
 
SchemaLocationResolver - class edu.ucsb.nceas.metacat.SchemaLocationResolver.
A database aware Class to handle schema location.
SchemaLocationResolver() - Constructor for class edu.ucsb.nceas.metacat.SchemaLocationResolver
 
SchemaLocationResolver(String) - Constructor for class edu.ucsb.nceas.metacat.SchemaLocationResolver
Construct an instance of the SchemaLocationResolver class
SCHEMAVALIDATIONFEATURE - Static variable in class edu.ucsb.nceas.metacat.DocumentImpl
 
sendGetMessage() - Method in class edu.ucsb.nceas.metacat.HttpMessage
Performs a GET request to the previously given servlet with no query string
sendGetMessage(Properties) - Method in class edu.ucsb.nceas.metacat.HttpMessage
Performs a GET request to the previously given servlet Builds a query string from the supplied Properties list.
sendPostMessage() - Method in class edu.ucsb.nceas.metacat.HttpMessage
Performs a POST request to the previously given servlet with no query string
sendPostMessage(Properties) - Method in class edu.ucsb.nceas.metacat.HttpMessage
Builds post data from the supplied properties list
serverAt(int) - Method in class edu.ucsb.nceas.metacat.ReplicationServerList
Method to get a server object given a index number
serverCode - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
setAge(long) - Method in class edu.ucsb.nceas.metacat.DBConnection
Set a connection age to this object
setAttribute(String, String) - Method in class edu.ucsb.nceas.metacat.BasicNode
Add a new attribute to this node, or set its value
setAttribute(String, String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXNode
Add a new attribute to this node, or set its value
setAutoCommit(boolean) - Method in class edu.ucsb.nceas.metacat.DBConnection
Method to set commit mode
setCheckOutMethodName(String) - Method in class edu.ucsb.nceas.metacat.DBConnection
Set a method name to the checkOutMethodName
setCheckOutSerialNumber(int) - Method in class edu.ucsb.nceas.metacat.DBConnection
Set check out serial number to this object
setCheckOutTime(long) - Method in class edu.ucsb.nceas.metacat.DBConnection
Set check out time to this object
setConnections(Connection) - Method in class edu.ucsb.nceas.metacat.DBConnection
Set a connection to this object
setConnectionTime(long) - Method in class edu.ucsb.nceas.metacat.DBConnection
Set a connection time to this object It is accumulated
setControlLevel(String) - Method in class edu.ucsb.nceas.metacat.AccessSection
Set a controllevel
setCookie(String) - Static method in class edu.ucsb.nceas.metacat.HttpMessage
return the cookie that this message object contains
setCreateTime(long) - Method in class edu.ucsb.nceas.metacat.DBConnection
Set a usage number to this object
setDataReplication(boolean) - Method in class edu.ucsb.nceas.metacat.ReplicationServer
Set data replication option
setDocId(String) - Method in class edu.ucsb.nceas.metacat.SubTree
Set the a docId
setDocId(String) - Method in class edu.ucsb.nceas.metacat.FilteredSubTree
Set the a docId
setDocID(String) - Method in class edu.ucsb.nceas.metacat.BasicNode
Set the doc id of this node
setEndNodeId(long) - Method in class edu.ucsb.nceas.metacat.SubTree
Set a end node id
setEndNodeId(long) - Method in class edu.ucsb.nceas.metacat.FilteredSubTree
Set a end node id
setFilterDocList(Vector) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
method to set the list of filter docs of this query
setFilteredSubTree(Hashtable) - Method in class edu.ucsb.nceas.metacat.FilteredSubTree
Set a filtered subtree(subtree should be merger equivlent
setGroup(String[]) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Method to set user group
setHub(boolean) - Method in class edu.ucsb.nceas.metacat.ReplicationServer
Set hub option
setIdentifier(String) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
method to set the identifier of this query
setLastCheckedDate(String) - Method in class edu.ucsb.nceas.metacat.ReplicationServer
Set a string as last checked date
setNamespace(String, String) - Method in class edu.ucsb.nceas.metacat.BasicNode
Add a namespace to this node
setNamespace(String, String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXNode
Add a namespace to this node
setNodeData(String) - Method in class edu.ucsb.nceas.metacat.CommentNode
Set the node data to the given string
setNodeData(String) - Method in class edu.ucsb.nceas.metacat.PINode
Set the node data to the given string
setNodeData(String) - Method in class edu.ucsb.nceas.metacat.TextNode
Set the node data to the given string
setNodeID(long) - Method in class edu.ucsb.nceas.metacat.BasicNode
Set the id of this node
setNodeIndex(int) - Method in class edu.ucsb.nceas.metacat.BasicNode
Set the node index of this node
setNodeType(String) - Method in class edu.ucsb.nceas.metacat.BasicNode
Set the type of this node
setOwnerList(Vector) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
method to set the list of owners used to constrain this query
setParentID(long) - Method in class edu.ucsb.nceas.metacat.BasicNode
Set the parent id of this node
setPermission(int) - Method in class edu.ucsb.nceas.metacat.AccessRule
Set a permission.
setPermissionOrder(String) - Method in class edu.ucsb.nceas.metacat.AccessSection
Set a permissionOrder
setPermissionType(String) - Method in class edu.ucsb.nceas.metacat.AccessRule
Set the permssionType
setQueryTitle(String) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
method to set the title of this query
setReferences(String) - Method in class edu.ucsb.nceas.metacat.AccessSection
Set a references
setReplication(boolean) - Method in class edu.ucsb.nceas.metacat.ReplicationServer
Set replication option
setRequestHeader(String, String) - Method in class edu.ucsb.nceas.protocols.metacat.MetacatURLConnection
Set the request header for the URL
setReturnDocList(Vector) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
method to set the list of return docs of this query
setReturnFieldList(Vector) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
method to set the list of fields to be returned by this query
setRootNodeID(long) - Method in class edu.ucsb.nceas.metacat.BasicNode
Set the root node id of this node
setServerName(String) - Method in class edu.ucsb.nceas.metacat.ReplicationServer
Set a sting as server name
setSiteList(Vector) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
method to set the list of sites used to constrain this query
setStartElementName(String) - Method in class edu.ucsb.nceas.metacat.SubTree
Set a startElementName
setStartElementName(String) - Method in class edu.ucsb.nceas.metacat.FilteredSubTree
Set a startElementName
setStartNodeId(long) - Method in class edu.ucsb.nceas.metacat.SubTree
Set a start node id
setStartNodeId(long) - Method in class edu.ucsb.nceas.metacat.FilteredSubTree
Set a start node id
setStatus(int) - Method in class edu.ucsb.nceas.metacat.DBConnection
Set a connection status to this object
setStoredTmpNodeStack(Stack) - Method in class edu.ucsb.nceas.metacat.AccessSection
Set a storedTempNodeStack
setSubTreeId(String) - Method in class edu.ucsb.nceas.metacat.SubTree
Set the a subtreeId
setSubTreeId(String) - Method in class edu.ucsb.nceas.metacat.FilteredSubTree
Set the a subtreeId
setSubTreeNodeStack(Stack) - Method in class edu.ucsb.nceas.metacat.SubTree
Set subtree node stack
setTag(String) - Method in class edu.ucsb.nceas.metacat.DBConnection
Set a connection status to this object
setTagName(String) - Method in class edu.ucsb.nceas.metacat.BasicNode
Set the name of this node
setUsageCount(int) - Method in class edu.ucsb.nceas.metacat.DBConnection
Set a usage number to this object
setUserName(String) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
Method to set user name
setWarningMessage(SQLWarning) - Method in class edu.ucsb.nceas.metacat.DBConnection
Set a warning message to this object
shrinkConnectionPoolSize() - Static method in class edu.ucsb.nceas.metacat.DBConnectionPool
Method to decrease dbconnection pool size when all dbconnections are idle If all connections are free and connection pool size greater than initial value, shrink connection pool size to intital value
shrinkDBConnectionPoolSize() - Static method in class edu.ucsb.nceas.metacat.DBConnectionPool
Method to decrease dbconnection pool size when all dbconnections are idle If all connections are free and connection pool size greater than initial value, shrink connection pool size to intital value
size() - Method in class edu.ucsb.nceas.metacat.ReplicationServerList
Method to get the size of serverList
SqlserverAdapter - class edu.ucsb.nceas.dbadapter.SqlserverAdapter.
The MS SQL Server db adapter implementation.
SqlserverAdapter() - Constructor for class edu.ucsb.nceas.dbadapter.SqlserverAdapter
 
startCDATA() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of the start of CDATA sections
startDocument() - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of beginning of the document
startDocument() - Method in class edu.ucsb.nceas.metacat.AccessControlList
Callback method used by the SAX Parser when beginning of the document
startDTD(String, String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of DOCTYPE.
startDTD(String, String, String) - Method in class edu.ucsb.nceas.metacat.AccessControlList
SAX Handler that receives notification of DOCTYPE.
startElement(String, String, String, Attributes) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that is called at the start of each XML element
startElement(String, String, String, Attributes) - Method in class edu.ucsb.nceas.metacat.ReplMessageHandler
This method starts a new vector for each updatedDocument tag.
startElement(String, String, String, Attributes) - Method in class edu.ucsb.nceas.metacat.CatalogMessageHandler
This method starts a new vector for each updatedDocument tag.
startElement(String, String, String, Attributes) - Method in class edu.ucsb.nceas.metacat.AddMissedSubTreeSAXHandler
SAX Handler that is called at the start of each XML element
startElement(String, String, String, Attributes) - Method in class edu.ucsb.nceas.metacat.AccessControlList
Callback method used by the SAX Parser when the start tag of an element is detected.
startElement(String, String, String, Attributes) - Method in class edu.ucsb.nceas.metacat.EmlSAXHandler
SAX Handler that is called at the start of each XML element
startElement(String, String, String, Attributes) - Method in class edu.ucsb.nceas.metacat.DocInfoHandler
capture the name of the tag.
startElement(String, String, String, Attributes) - Method in class edu.ucsb.nceas.metacat.QuerySpecification
callback method used by the SAX Parser when the start tag of an element is detected.
startElementName - Variable in class edu.ucsb.nceas.metacat.SubTree
 
startEntity(String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of the start of entities
startEntity(String) - Method in class edu.ucsb.nceas.metacat.AccessControlList
SAX Handler that receives notification of the start of entities.
startNodeId - Variable in class edu.ucsb.nceas.metacat.SubTree
 
startPrefixMapping(String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that is called at the start of Namespace
startPrefixMapping(String, String) - Method in class edu.ucsb.nceas.metacat.EmlSAXHandler
SAX Handler that is called at the start of Namespace
SubTree - class edu.ucsb.nceas.metacat.SubTree.
A Class that represents an XML Subtree
SubTree() - Constructor for class edu.ucsb.nceas.metacat.SubTree
Defualt constructor
SubTree(String, String, long, long) - Constructor for class edu.ucsb.nceas.metacat.SubTree
Constructor of subtree
subTreeId - Variable in class edu.ucsb.nceas.metacat.SubTree
 
systemid - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 

T

textBuffer - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
textBufferStack - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 
TextNode - class edu.ucsb.nceas.metacat.TextNode.
A Class that represents an XML Text node and its contents,
TextNode(long, long, String) - Constructor for class edu.ucsb.nceas.metacat.TextNode
Construct a new TextNode instance
toDate(String, String) - Method in class edu.ucsb.nceas.dbadapter.AbstractDatabase
MSSQL didn't support to_date function which to transfer a text string to date type.
toDate(String, String) - Method in class edu.ucsb.nceas.dbadapter.SqlserverAdapter
MSSQL doesn't support the to_date function, so we transfer text directly.
toString() - Method in class edu.ucsb.nceas.metacat.DocumentIdentifier
returns the whole docid as a string
toString() - Method in class edu.ucsb.nceas.metacat.MetacatURL
returns a string representation of this metacatURL
toString() - Method in class edu.ucsb.nceas.metacat.CommentNode
String representation of this text node
toString() - Method in class edu.ucsb.nceas.metacat.DocumentImpl
Print a string representation of the XML document
toString() - Method in class edu.ucsb.nceas.metacat.PINode
String representation of this text node
toString() - Method in class edu.ucsb.nceas.metacat.ElementNode
String representation for display purposes (recursively descends through children to create an XML subtree)
toString() - Method in class edu.ucsb.nceas.metacat.TextNode
String representation of this text node
toString() - Method in class edu.ucsb.nceas.metacat.QuerySpecification
create a String description of the query that this instance represents.
toString(String, String[], boolean) - Method in class edu.ucsb.nceas.metacat.DocumentImpl
Print a string representation of the XML document
toXml(PrintWriter) - Method in class edu.ucsb.nceas.metacat.McdbException
Print the message from this exception in XML format.
toXml(Writer, String, String[], boolean) - Method in class edu.ucsb.nceas.metacat.DocumentImpl
Print a text representation of the XML document to a Writer
transformQuery(Hashtable) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Removes the tag from the beginning of xmlquery so it can properly be placed in the tag of the resultset.
transformQuery(String) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
removes the tag from the beginning.
transformResultset(String, HttpServletResponse, PrintWriter, String, String) - Method in class edu.ucsb.nceas.metacat.MetaCatServlet
Transorms an xml resultset document to html and sends it to the browser
transformXMLDocument(String, String, String, String, PrintWriter, Hashtable) - Method in class edu.ucsb.nceas.metacat.DBTransform
 
transformXMLDocument(String, String, String, String, PrintWriter, Hashtable, String) - Method in class edu.ucsb.nceas.metacat.DBTransform
Transform an XML document using the stylesheet reference from the db
transformXMLDocument(String, String, String, String, StringWriter) - Method in class edu.ucsb.nceas.metacat.DBTransform
 
transformXMLDocument(String, String, String, String, StringWriter, String) - Method in class edu.ucsb.nceas.metacat.DBTransform
Transform an XML document to StringWriter using the stylesheet reference from the db

U

unparsedEntityDecl(String, String, String, String) - Method in class edu.ucsb.nceas.metacat.DBDTDHandler
All are reported after startDocument and before first startElement event
updateNodeIndex(DBConnection, String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXNode
USED FROM SEPARATE THREAD RUNNED from DBSAXHandler on endDocument() Update the node index (xml_index) for this node by generating test strings that represent all of the relative and absolute paths through the XML tree from document root to this node
updateRootNodeID(long) - Method in class edu.ucsb.nceas.metacat.DBSAXNode
update rootnodeid=nodeid for 'DOCUMENT' type of nodes only
user - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 

V

validate(String) - Method in class edu.ucsb.nceas.metacat.DBValidate
validate an xml document against its DTD
validateString(String) - Method in class edu.ucsb.nceas.metacat.DBValidate
validate an xml document against its DTD
VALIDATIONFEATURE - Static variable in class edu.ucsb.nceas.metacat.DocumentImpl
 

W

warning(SAXParseException) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
SAX Handler that receives notification of warnings
WRITE - Static variable in interface edu.ucsb.nceas.metacat.AccessControlInterface
 
write(DBConnection, Reader, String, Reader, String, String, String, String[]) - Method in class edu.ucsb.nceas.metacat.DocumentImplWrapper
 
write(DBConnection, Reader, String, Reader, String, String, String, String[], int, boolean, String, boolean) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
Write an XML file to the database, given a Reader
write(DBConnection, Reader, String, Reader, String, String, String, String[], String, boolean) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
Write an XML file to the database, given a filename
writeChildNodeToDB(String, String, String, String) - Method in class edu.ucsb.nceas.metacat.DBSAXNode
creates SQL code and inserts new node into DB connection
writeDataFileInReplication(InputStream, String, String, String, String, String, String, String) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
This method will register a data file entry in xml_documents and save a data file input Stream into file system..
writeNodename(String) - Method in class edu.ucsb.nceas.metacat.DBSAXNode
creates SQL code to put nodename for the document node into DB connection
writeReplication(DBConnection, Reader, String, Reader, String, String, String, String[], String, String) - Method in class edu.ucsb.nceas.metacat.DocumentImplWrapper
 
writeReplication(DBConnection, Reader, String, Reader, String, String, String, String[], String, String, String, boolean) - Static method in class edu.ucsb.nceas.metacat.DocumentImpl
Write an XML file to the database during replication
WRITESTRING - Static variable in interface edu.ucsb.nceas.metacat.AccessControlInterface
 
writeTextForDBSAXNode(long, StringBuffer, DBSAXNode) - Method in class edu.ucsb.nceas.metacat.DBSAXHandler
 

X

xmlIndex - Variable in class edu.ucsb.nceas.metacat.DBSAXHandler
 

A B C D E F G H I L M N O P Q R S T U V W X

Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.