Modifier and Type | Method and Description |
---|---|
InputStream |
MultipartD1Node.get(Identifier pid)
Get the resource with the specified pid.
|
InputStream |
MultipartD1Node.get(Session session,
Identifier pid)
Get the resource with the specified pid.
|
Date |
MultipartD1Node.ping() |
Modifier and Type | Method and Description |
---|---|
Identifier |
MultipartMNode.create(Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
MultipartCNode.create(Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
MultipartMNode.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
MultipartCNode.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
InputStream |
MultipartMNode.get(Identifier pid) |
InputStream |
MultipartMNode.get(Session session,
Identifier pid) |
Log |
MultipartCNode.getLogRecords(Date fromDate,
Date toDate,
Event event,
String idFilter,
Integer start,
Integer count) |
Log |
MultipartCNode.getLogRecords(Session session,
Date fromDate,
Date toDate,
Event event,
String idFilter,
Integer start,
Integer count) |
InputStream |
MultipartMNode.getReplica(Identifier pid) |
InputStream |
MultipartMNode.getReplica(Session session,
Identifier pid) |
Date |
MultipartMNode.ping() |
boolean |
MultipartMNode.replicate(Session session,
SystemMetadata sysmeta,
NodeReference sourceNode) |
boolean |
MultipartMNode.replicate(SystemMetadata sysmeta,
NodeReference sourceNode) |
Identifier |
MultipartMNode.update(Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta) |
Identifier |
MultipartMNode.update(Session session,
Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta) |
Modifier and Type | Method and Description |
---|---|
void |
DataPackage.addAndDownloadData(Identifier id)
Puts an object with the given Identifier to the package's local, temporary
data store.
|
static Identifier |
D1Client.create(Session session,
D1Object d1object)
Attempts to create the given D1Object on the originMemberNode contained
in its SystemMetadata.
|
static DataPackage |
DataPackage.deserializePackage(String resourceMap)
Deserialize an ORE resourceMap by parsing it, extracting the associated package identifier,
and the list of metadata and data objects aggregated in the ORE Map.
|
static DataPackage |
DataPackage.download(Identifier pid)
Download the resource map
|
static D1Object |
D1Object.download(Identifier id)
Contact D1 services to download the systemMetadata and data.
|
static Identifier |
D1Client.update(Session session,
D1Object d1object)
Perform an update an object in DataONE with the given D1Object on the
originMemberNode contained in its systemMetadata.
|
Modifier and Type | Method and Description |
---|---|
Identifier |
MultipartCNode.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
MultipartMNode.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
InputStream |
MultipartCNode.echoIndexedObject(Session session,
String queryEngine,
SystemMetadata sysmeta,
InputStream object) |
InputStream |
MultipartMNode.get(Identifier pid) |
InputStream |
MultipartMNode.get(Session session,
Identifier pid) |
Log |
MultipartCNode.getLogRecords(Session session,
Date fromDate,
Date toDate,
String event,
String idFilter,
Integer start,
Integer count) |
InputStream |
MultipartMNode.getReplica(Session session,
Identifier pid) |
Date |
MultipartMNode.ping() |
boolean |
MultipartMNode.replicate(Session session,
SystemMetadata sysmeta,
NodeReference sourceNode) |
Identifier |
MultipartMNode.update(Session session,
Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta) |
Modifier and Type | Method and Description |
---|---|
void |
DataPackage.addAndDownloadData(Identifier id)
Puts an object with the given Identifier to the package's local, temporary
data store.
|
static DataPackage |
DataPackage.deserializePackage(String resourceMap)
Deserialize an ORE resourceMap by parsing it, extracting the associated package identifier,
and the list of metadata and data objects aggregated in the ORE Map.
|
static D1Object |
D1Object.download(Identifier id)
Contact D1 services to download the systemMetadata and data.
|
static DataPackage |
DataPackage.download(Identifier pid)
Download the resource map
|
Modifier and Type | Method and Description |
---|---|
Identifier |
CNCore.create(Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
CNCore.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta)
Deprecated.
|
Log |
CNCore.getLogRecords(Date fromDate,
Date toDate,
Event event,
String pidFilter,
Integer start,
Integer count) |
Log |
CNCore.getLogRecords(Session session,
Date fromDate,
Date toDate,
Event event,
String pidFilter,
Integer start,
Integer count)
Deprecated.
|
Date |
CNCore.ping() |
Modifier and Type | Method and Description |
---|---|
Identifier |
CNCore.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
InputStream |
CNDiagnostic.echoIndexedObject(Session session,
String queryEngine,
SystemMetadata sysmeta,
InputStream object) |
Log |
CNCore.getLogRecords(Session session,
Date fromDate,
Date toDate,
String event,
String pidFilter,
Integer start,
Integer count) |
Date |
CNCore.ping() |
Modifier and Type | Method and Description |
---|---|
InputStream |
MNRead.get(Identifier pid)
InputStream is the Java native version of D1's OctetStream
|
InputStream |
MNRead.get(Session session,
Identifier pid)
Deprecated.
|
InputStream |
MNRead.getReplica(Identifier pid) |
InputStream |
MNRead.getReplica(Session session,
Identifier pid)
Deprecated.
|
Date |
MNCore.ping() |
Modifier and Type | Method and Description |
---|---|
InputStream |
MNRead.get(Session session,
Identifier id)
InputStream is the Java native version of D1's OctetStream
|
InputStream |
MNRead.getReplica(Session session,
Identifier pid) |
Date |
MNCore.ping() |
Modifier and Type | Method and Description |
---|---|
Identifier |
MNStorage.create(Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
MNStorage.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta)
Deprecated.
|
Identifier |
MNStorage.update(Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta) |
Identifier |
MNStorage.update(Session session,
Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Identifier |
MNStorage.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
MNStorage.update(Session session,
Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta) |
Modifier and Type | Method and Description |
---|---|
boolean |
MNReplication.replicate(Session session,
SystemMetadata sysmeta,
NodeReference sourceNode)
Deprecated.
|
boolean |
MNReplication.replicate(SystemMetadata sysmeta,
NodeReference sourceNode) |
Modifier and Type | Method and Description |
---|---|
boolean |
MNReplication.replicate(Session session,
SystemMetadata sysmeta,
NodeReference sourceNode) |
Modifier and Type | Method and Description |
---|---|
static void |
ExceptionHandler.deserializeAndThrowException(org.apache.http.HttpResponse response) |
static void |
ExceptionHandler.deserializeAndThrowException(InputStream errorStream,
String contentType,
Integer statusCode,
String reason)
Throw the exception that is contained in an HTTP response
A response from an HTTP call may be determined to have an error.
|
static void |
ExceptionHandler.deserializeHeadersAndThrowException(int code,
org.apache.http.Header[] headers) |
static InputStream |
ExceptionHandler.filterErrors(org.apache.http.HttpResponse res) |
static InputStream |
ExceptionHandler.filterErrors(org.apache.http.HttpResponse response,
boolean allowRedirects)
This method maps an HttpResponse onto an InputStream by consuming the
response headers and throwing an exception when appropriate.
|
static InputStream |
ExceptionHandler.filterErrors(InputStream is,
boolean isException,
String contentType) |
static org.apache.http.Header[] |
ExceptionHandler.filterErrorsHeader(org.apache.http.HttpResponse response,
String httpMethod)
will filter serialized errors coming from the HEAD request
by deserializing them and putting on the exception thread(?).
|
Copyright © 2020. All Rights Reserved.