Revision 3034
Added by perry over 17 years ago
DocumentImplWrapper.java | ||
---|---|---|
39 | 39 |
import org.xml.sax.SAXParseException; |
40 | 40 |
import org.xml.sax.helpers.XMLReaderFactory; |
41 | 41 |
|
42 |
import edu.ucsb.nceas.metacat.spatial.MetacatSpatialDocument; |
|
42 |
//import edu.ucsb.nceas.metacat.spatial.MetacatSpatialDocument;
|
|
43 | 43 |
|
44 | 44 |
/** |
45 | 45 |
* This class a wrapper class for documentimpl for insert or update. It will |
... | ... | |
70 | 70 |
String action, String docid, String user, String[] groups) |
71 | 71 |
throws Exception |
72 | 72 |
{ |
73 |
|
|
74 |
//jhh register this transaction with the Metacat Spatial Option |
|
75 |
MetacatSpatialDocument msdoc = new MetacatSpatialDocument(docid); |
|
76 |
|
|
77 | 73 |
return DocumentImpl.write(conn, xml, pub, dtd, action, docid, user, |
78 | 74 |
groups, ruleBase, needValidation); |
79 | 75 |
} |
Also available in: Unified diff
initial import of changes to metacat source and config files to support spatial option