Revision 8948
Added by Jing Tao over 9 years ago
DocumentImplWrapper.java | ||
---|---|---|
59 | 59 |
}//Constructor |
60 | 60 |
|
61 | 61 |
public String write(DBConnection conn, String xml, String pub, Reader dtd, |
62 |
String action, String docid, String user, String[] groups) throws Exception { |
|
62 |
String action, String docid, String user, String[] groups, byte[]xmlBytes) throws Exception {
|
|
63 | 63 |
return DocumentImpl.write(conn, xml, pub, dtd, action, docid, user, groups, |
64 |
ruleBase, needValidation, writeAccessRules); |
|
64 |
ruleBase, needValidation, writeAccessRules, xmlBytes);
|
|
65 | 65 |
} |
66 | 66 |
|
67 | 67 |
public String writeReplication(DBConnection conn, String xml, String pub, Reader dtd, |
Also available in: Unified diff
Write the input stream into the file system without alteration in dataone create and update methods.