Revision 6286
Added by ben leinfelder about 13 years ago
src/edu/ucsb/nceas/metacat/dataone/CNodeService.java | ||
---|---|---|
397 | 397 |
throws InvalidToken, ServiceFailure, NotAuthorized, InvalidRequest, |
398 | 398 |
NotImplemented { |
399 | 399 |
|
400 |
throw new NotImplemented("4281", "search not implemented"); |
|
400 |
ObjectList objectList = |
|
401 |
IdentifierManager.getInstance().querySystemMetadata( |
|
402 |
null, //startTime, |
|
403 |
null, //endTime, |
|
404 |
null, //objectFormat, |
|
405 |
true, //replicaStatus, |
|
406 |
0, //start, |
|
407 |
-1 //count |
|
408 |
); |
|
409 |
|
|
410 |
if ( objectList == null ) { |
|
411 |
throw new ServiceFailure("4310", "The object list was null."); |
|
412 |
} |
|
413 |
|
|
414 |
return objectList; |
|
415 |
|
|
416 |
//throw new NotImplemented("4281", "search not implemented"); |
|
401 | 417 |
|
402 | 418 |
// the code block below is from an older implementation |
403 | 419 |
|
Also available in: Unified diff
return all public objects for the search() method [for now]