Revision 7015
Added by ben leinfelder almost 13 years ago
src/edu/ucsb/nceas/metacat/DBUtil.java | ||
---|---|---|
435 | 435 |
} |
436 | 436 |
|
437 | 437 |
/** |
438 |
* return all docids with a given doctype |
|
438 |
* return all docids with a given doctype on all servers
|
|
439 | 439 |
*/ |
440 |
public static Vector<String> getAllDocidsByType(String doctype, boolean includeRevs) throws SQLException { |
|
441 |
return getAllDocidsByType(doctype, includeRevs, -1); |
|
442 |
} |
|
443 |
|
|
444 |
/** |
|
445 |
* return all docids with a given doctype for a given server |
|
446 |
*/ |
|
440 | 447 |
public static Vector<String> getAllDocidsByType(String doctype, boolean includeRevs, int serverLocation) throws SQLException { |
441 | 448 |
Vector<String> resultVector = new Vector<String>(); |
442 | 449 |
String sep = "."; |
Also available in: Unified diff
overload getAllDocidsByType() method for backward semtools compatibility