Revision 6230
Added by Chris Jones over 13 years ago
src/edu/ucsb/nceas/metacat/dataone/MNodeService.java | ||
---|---|---|
63 | 63 |
import org.dataone.service.types.SystemMetadata; |
64 | 64 |
import org.dataone.service.types.util.ServiceTypeUtil; |
65 | 65 |
|
66 |
import edu.ucsb.nceas.metacat.IdentifierManager; |
|
67 |
|
|
66 | 68 |
/** |
67 | 69 |
* Represents Metacat's implementation of the DataONE Member Node |
68 | 70 |
* service API. Methods implement the various MN* interfaces, and methods common |
... | ... | |
393 | 395 |
throws NotAuthorized, InvalidRequest, NotImplemented, ServiceFailure, |
394 | 396 |
InvalidToken { |
395 | 397 |
|
396 |
return null; |
|
398 |
ObjectList objectList = null; |
|
399 |
|
|
400 |
objectList = IdentifierManager.getInstance().querySystemMetadata(startTime, endTime, |
|
401 |
objectFormat, replicaStatus, start, count); |
|
402 |
|
|
403 |
if ( objectList == null ) { |
|
404 |
throw new ServiceFailure("1580", "The object list was null."); |
|
405 |
} |
|
406 |
|
|
407 |
return objectList; |
|
397 | 408 |
} |
398 | 409 |
|
399 | 410 |
/** |
Also available in: Unified diff
Implement MNRead.listObjects() in MNodeService.