public interface MNRead
Modifier and Type | Method and Description |
---|---|
DescribeResponse |
describe(Session session,
Identifier id) |
InputStream |
get(Session session,
Identifier id)
InputStream is the Java native version of D1's OctetStream
|
Checksum |
getChecksum(Session session,
Identifier pid,
String checksumAlgorithm) |
InputStream |
getReplica(Session session,
Identifier pid) |
SystemMetadata |
getSystemMetadata(Session session,
Identifier id) |
ObjectList |
listObjects(Session session,
Date fromDate,
Date toDate,
ObjectFormatIdentifier formatid,
Identifier identifier,
Boolean replicaStatus,
Integer start,
Integer count) |
boolean |
synchronizationFailed(Session session,
SynchronizationFailed message) |
boolean |
systemMetadataChanged(Session session,
Identifier id,
long serialVersion,
Date dateSystemMetadataLastModified) |
InputStream get(Session session, Identifier id) throws InvalidToken, NotAuthorized, NotImplemented, ServiceFailure, NotFound, InsufficientResources
InvalidToken
NotAuthorized
NotImplemented
ServiceFailure
NotFound
InsufficientResources
https://purl.dataone.org/architecturev2/apis/MN_APIs.html#MN_read.listObjects
SystemMetadata getSystemMetadata(Session session, Identifier id) throws InvalidToken, NotAuthorized, NotImplemented, ServiceFailure, NotFound
InvalidToken
NotAuthorized
NotImplemented
ServiceFailure
NotFound
https://purl.dataone.org/architecturev2/apis/MN_APIs.html#MN_read.getSystemMetadata
boolean systemMetadataChanged(Session session, Identifier id, long serialVersion, Date dateSystemMetadataLastModified) throws InvalidToken, ServiceFailure, NotAuthorized, NotFound, NotImplemented, InvalidRequest
InvalidToken
ServiceFailure
NotAuthorized
NotFound
NotImplemented
InvalidRequest
https://purl.dataone.org/architecturev2/apis/MN_APIs.html#MN_auth.systemMetadataChanged
DescribeResponse describe(Session session, Identifier id) throws InvalidToken, NotAuthorized, NotImplemented, ServiceFailure, NotFound
InvalidToken
NotAuthorized
NotImplemented
ServiceFailure
NotFound
https://purl.dataone.org/architecturev2/apis/MN_APIs.html#MN_read.describe
Checksum getChecksum(Session session, Identifier pid, String checksumAlgorithm) throws InvalidRequest, InvalidToken, NotAuthorized, NotImplemented, ServiceFailure, NotFound
InvalidRequest
InvalidToken
NotAuthorized
NotImplemented
ServiceFailure
NotFound
https://purl.dataone.org/architecturev2/apis/MN_APIs.html#MN_read.getChecksum
ObjectList listObjects(Session session, Date fromDate, Date toDate, ObjectFormatIdentifier formatid, Identifier identifier, Boolean replicaStatus, Integer start, Integer count) throws InvalidRequest, InvalidToken, NotAuthorized, NotImplemented, ServiceFailure
InvalidRequest
InvalidToken
NotAuthorized
NotImplemented
ServiceFailure
https://purl.dataone.org/architecturev2/apis/MN_APIs.html#MN_read.listObjects
boolean synchronizationFailed(Session session, SynchronizationFailed message) throws InvalidToken, NotAuthorized, NotImplemented, ServiceFailure
InvalidToken
NotAuthorized
NotImplemented
ServiceFailure
https://purl.dataone.org/architecturev2/apis/MN_APIs.html#MN_read.synchronizationFailed
InputStream getReplica(Session session, Identifier pid) throws InvalidToken, NotAuthorized, NotImplemented, ServiceFailure, NotFound, InsufficientResources
InvalidToken
NotAuthorized
NotImplemented
ServiceFailure
NotFound
InsufficientResources
https://purl.dataone.org/architecturev2/apis/MN_APIs.html#MNRead.getReplica
Copyright © 2020. All Rights Reserved.