public class DocumentImplWrapper
extends java.lang.Object
Constructor and Description |
---|
DocumentImplWrapper(java.lang.String myRuleBase,
boolean validation,
boolean writeAccessRules)
Constructor of DocumentImpleWrapper
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
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) |
java.lang.String |
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 |
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.
|
public DocumentImplWrapper(java.lang.String myRuleBase, boolean validation, boolean writeAccessRules)
myRuleBase
- the xml is base on DTD or Schemavalidation
- if the xml document need to be validatedpublic java.lang.String 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) throws java.lang.Exception
java.lang.Exception
public java.lang.String 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) throws java.lang.Exception
java.lang.Exception
public java.lang.String 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) throws java.lang.Exception
conn
- xml
- pub
- dtd
- action
- accnum
- user
- groups
- homeServer
- notifyServer
- tableName
- java.lang.Exception
Copyright © 2020 Regents of the University of California. All Rights Reserved.