Project

General

Profile

« Previous | Next » 

Revision 6042

Added by Chris Jones over 13 years ago

Modified IdentifierManager.getDocumentInfo() to include the docid in the returned hash map, since it is useful to be able to obtain the docid and rev separately from a given fullDocidWithRev (e.g. test.1.1).

View differences:

src/edu/ucsb/nceas/metacat/IdentifierManager.java
228 228
                int rev = rs.getInt(6);
229 229
                String date_created = rs.getString(7);
230 230
                String date_updated = rs.getString(8);
231
                h.put("docid", localId);
231 232
                h.put("docname", docname);
232 233
                h.put("doctype", doctype);
233 234
                h.put("user_owner", user_owner);

Also available in: Unified diff