overload getAllDocidsByType() method for backward semtools compatibility
-generate system meta for all docids, even those not originating on the server (replicas from the past)-generate ORE docs and download remote data only for those documents that originated on this server being upgraded.http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5522
order the revision list, ascending.
look up all docids is now a static method (ORE/SystemMetadata generation)
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5527
Get the latest revision from metacat when a modify call docid does not have a revision number.
make constants final
Fix the bug of http://bugzilla.ecoinformatics.org/show_bug.cgi?id=4645. handleGetRevisionAndDocTypeAction will search both xml_documents and xml_revisions table.It also changed some constrain in AccessionNumber when user update a document, of which all previous versions are in xml_revisions table.
add method name to log statements
SMS-related addition: retrieve docids for a given doctype
Change location of PropertyService to properties directory
Move document specific utilities to DocumentUtil from MetacatUtil. This makes it easier to define a layer between the core metacat services and the rest of the code.
Create database and shared directories for database management code and shared code respectively.
Renamed MetaCatUtil to MetacatUtil
Add some generic typing
Add some generics typing
Continue to qualify property names
Append context url onto system id instead of server url.
Merge 1.9 changes into Head
added a method to query metacat to see if a particular docid is registered or not
added getalldocids function to get all docids that match a certain scope.
Removed the release ant token from all files in 'src'.
release
Patch for making getlastdocid work when the identifier is a large numbergreater than can be encompassed by an int. Now it uses a long torepresent the number, which doesn't solve the problem but probably doesmake it work for the vast majority of cases.
bugfix so that getlastdocid works for postgres
the parameter of method getRevisionTableReList is docidWithoutRev.
Removed sql syntax not acceptable by Oracle.
Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call
Change the code to make sure DocumentImpl class's constructor should have rev attached.
Add method to get revision list in xml_revisions table for a given docid.
Replaced SQL queries in getMaxDocid() which used INSTR with queries which dont use INSTR. Now the INSTR related computation is done in Java code
Removed the "getdataguide" action as it was always experimental and is no longer used in metacat or morpho.
Merge cvs branch replication to cvs head.
Merge DBConnection branch to head.
Fixed the function to return the max id for a given scope. Now the functiontakes a parameter named 'scope' and returns the largest docid that has beenused under that scope in this metacat instance (it used to return the mostrecently created docid, which is clearly different). For compatibility with...
http://bugzilla.ecoinformatics.org/show_bug.cgi?id=248Included utility function about gettig the latest docid for a user:DBUtil.getLastDocid(username).Metacat parameters:action='getlastdocid'username
implemented interface for download of DTD or Schema file from Metacat file systemthrough the params:action="getdtdschema" doctype
added precise location information (class.method) to each catch statement so that errors are more easily traced.
Added license terms to source code files, and cleaned up some javadocdocumentation in a few places.
for getDoctypes() addedWHERE entry_type='DTD' condition in the select statement
change the resultset format for DataGuide
Added "release" keyword to all metacat source files so that the releasenumber will be evident in software distributions.
doctype attr in xml_index table has been addedso changed the getDataGuide routine to select for paths by given doctype
utility class for reading various of data from db