Modifier and Type | Field and Description |
---|---|
protected DBConnection |
DocumentImpl.connection |
protected DBConnection |
DBSAXHandler.connection |
Modifier and Type | Method and Description |
---|---|
void |
DBSAXNode.updateNodeIndex(DBConnection conn,
java.lang.String docid,
java.lang.String doctype)
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
|
void |
IdentifierManager.updateSystemMetadata(org.dataone.service.types.v2.SystemMetadata sm,
DBConnection dbConn)
Insert the system metadata fields into the db
|
java.lang.String |
DocumentImplWrapper.write(DBConnection conn,
java.lang.String xml,
java.lang.String pub,
java.io.Reader dtd,
java.lang.String action,
java.lang.String docid,
java.lang.String user,
java.lang.String[] groups,
byte[] xmlBytes,
java.lang.String schemaLocalLocation,
org.dataone.service.types.v1.Checksum checksum) |
static java.lang.String |
DocumentImpl.write(DBConnection conn,
java.lang.String xmlString,
java.lang.String pub,
java.io.Reader dtd,
java.lang.String action,
java.lang.String accnum,
java.lang.String user,
java.lang.String[] groups,
int serverCode,
boolean override,
java.lang.String ruleBase,
boolean needValidation,
boolean writeAccessRules,
byte[] xmlBytes,
java.lang.String schemaLocation,
org.dataone.service.types.v1.Checksum checksum)
Write an XML file to the database, given a Reader
|
static java.lang.String |
DocumentImpl.write(DBConnection conn,
java.lang.String xmlString,
java.lang.String pub,
java.io.Reader dtd,
java.lang.String action,
java.lang.String docid,
java.lang.String user,
java.lang.String[] groups,
java.lang.String ruleBase,
boolean needValidation,
boolean writeAccessRules,
byte[] xmlBytes,
java.lang.String schemaLocation,
org.dataone.service.types.v1.Checksum checksum)
Write an XML file to the database, given a filename
|
java.lang.String |
DocumentImplWrapper.writeReplication(DBConnection conn,
java.lang.String xml,
byte[] xmlBytes,
java.lang.String pub,
java.io.Reader dtd,
java.lang.String action,
java.lang.String accnum,
java.lang.String user,
java.lang.String[] groups,
java.lang.String homeServer,
java.lang.String notifyServer,
java.util.Date createDate,
java.util.Date updateDate) |
java.lang.String |
DocumentImplWrapper.writeReplication(DBConnection conn,
java.lang.String xml,
byte[] xmlBytes,
java.lang.String pub,
java.io.Reader dtd,
java.lang.String action,
java.lang.String accnum,
java.lang.String user,
java.lang.String[] groups,
java.lang.String homeServer,
java.lang.String notifyServer,
java.lang.String tableName,
boolean timedReplication,
java.util.Date createDate,
java.util.Date updateDate)
Constructor with tableName - this doc is in xml_documents or xml_revsions
If in xml_revisions, it need a special handler.
|
static java.lang.String |
DocumentImpl.writeReplication(DBConnection conn,
java.lang.String xmlString,
byte[] xmlBytes,
java.lang.String pub,
java.io.Reader dtd,
java.lang.String action,
java.lang.String accnum,
java.lang.String user,
java.lang.String[] groups,
java.lang.String homeServer,
java.lang.String notifyServer,
java.lang.String ruleBase,
boolean needValidation,
java.lang.String tableName,
boolean timedReplication,
java.util.Date createDate,
java.util.Date updateDate,
java.lang.String schemaLocation)
Write an XML file to the database during replication
|
Constructor and Description |
---|
AssociateAccessPolicy(DBConnection conn)
construct an instance of the DBQuery class
|
DBDTDHandler(DBConnection conn)
Construct an instance of the DBDTDHandler clas
|
DBEntityResolver(DBConnection conn)
Construct an instance of the DBEntityResolver class
|
DBEntityResolver(DBConnection conn,
org.xml.sax.helpers.DefaultHandler handler,
java.io.Reader dtd)
Construct an instance of the DBEntityResolver class
|
DBSAXHandler(DBConnection conn,
java.lang.String action,
java.lang.String docid,
java.lang.String revision,
java.lang.String user,
java.lang.String[] groups,
java.lang.String pub,
int serverCode,
java.util.Date createDate,
java.util.Date updateDate,
boolean writeAccessRules)
Construct an instance of the handler class In this constructor, user can
specify the version need to upadate
|
DBSAXNode(DBConnection conn,
java.lang.String docid)
Construct a new node instance for DOCUMENT nodes
|
DBSAXNode(DBConnection conn,
java.lang.String qName,
java.lang.String lName,
DBSAXNode parentNode,
long rootnodeid,
java.lang.String docid,
java.lang.String doctype)
Construct a new node instance for ELEMENT nodes
|
DBSAXNode(DBConnection conn,
java.lang.String docName,
java.lang.String publicId,
java.lang.String systemId,
DBSAXNode parentNode,
long rootnodeid,
java.lang.String docid)
Construct a new node instance for DTD nodes
This Node will write docname, publicId and systemId into db.
|
DBValidate(DBConnection conn)
Construct a new validation object using a database entity resolver
|
DocumentImpl(DBConnection conn,
long rootNodeId,
java.lang.String docName,
java.lang.String docType,
java.lang.String docId,
java.lang.String newRevision,
java.lang.String action,
java.lang.String user,
java.lang.String pub,
java.lang.String catalogId,
int serverCode,
java.util.Date createDate,
java.util.Date updateDate)
Construct a new document instance, writing the contents to the database.
|
Eml200SAXHandler(DBConnection conn,
java.lang.String action,
java.lang.String docid,
java.lang.String revision,
java.lang.String user,
java.lang.String[] groups,
java.lang.String pub,
int serverCode,
java.util.Date createDate,
java.util.Date updateDate,
boolean writeAccessRules,
java.util.Vector<java.lang.String> guidsToSync)
Construct an instance of the handler class In this constructor, user can
specify the version need to upadate
|
Eml210SAXHandler(DBConnection conn,
java.lang.String action,
java.lang.String docid,
java.lang.String revision,
java.lang.String user,
java.lang.String[] groups,
java.lang.String pub,
int serverCode,
java.util.Date createDate,
java.util.Date updateDate,
boolean writeAccessRules,
java.util.Vector<java.lang.String> guidsToSync)
Construct an instance of the handler class In this constructor, user can
specify the version need to update
|
RelationHandler(java.lang.String docid,
java.lang.String doctype,
DBConnection conn,
edu.ucsb.nceas.utilities.triple.TripleCollection list)
Constructor for this class.
|
Constructor and Description |
---|
AccessControlList(DBConnection conn)
Construct an instance of the AccessControlList class.
|
AccessControlList(DBConnection conn,
java.lang.String aclid,
int rev,
java.lang.String user,
java.lang.String[] groups,
int serverCode)
Construct an instance of the AccessControlList class.
|
Modifier and Type | Method and Description |
---|---|
static DBConnection |
DBConnectionPool.getDBConnection(java.lang.String methodName)
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.
|
Modifier and Type | Method and Description |
---|---|
static void |
DBConnectionPool.returnDBConnection(DBConnection conn,
int serialNumber)
Method to return a connection to DBConnection pool.
|
Modifier and Type | Method and Description |
---|---|
static void |
ReplicationService.updateUserOwner(DBConnection dbConn,
java.lang.String docid,
java.lang.String owner,
java.lang.String updater) |
Modifier and Type | Method and Description |
---|---|
protected void |
BaseAccess.closeDBObjects(java.sql.PreparedStatement pstmt,
DBConnection conn,
int serialNumber,
org.apache.log4j.Logger logMetacat) |
Constructor and Description |
---|
SpatialDocument(java.lang.String docid,
DBConnection dbconn)
Constructor that queries the db
|
Copyright © 2020 Regents of the University of California. All Rights Reserved.