Package | Description |
---|---|
org.dataone.client.rest | |
org.dataone.client.v1.impl | |
org.dataone.client.v1.itk | |
org.dataone.client.v1.types | |
org.dataone.client.v2.formats |
Package org.dataone.client.formats defines a set of utility classes for
accessing information about ObjectFormats that is useful in constructing
nodes and clients.
|
org.dataone.client.v2.impl | |
org.dataone.client.v2.itk | |
org.dataone.client.v2.types | |
org.dataone.service.cn.v1 | |
org.dataone.service.cn.v2 | |
org.dataone.service.mn.tier1.v1 | |
org.dataone.service.mn.tier1.v2 | |
org.dataone.service.mn.tier2.v1 | |
org.dataone.service.mn.tier2.v2 | |
org.dataone.service.mn.tier3.v1 | |
org.dataone.service.mn.tier3.v2 | |
org.dataone.service.mn.v1 | |
org.dataone.service.mn.v2 | |
org.dataone.service.types.v1 | |
org.dataone.service.types.v2 | |
org.dataone.service.types.v2.util | |
org.dataone.service.util |
Modifier and Type | Method and Description |
---|---|
Identifier |
MultipartD1Node.archive(Identifier pid) |
Identifier |
MultipartD1Node.archive(Session session,
Identifier pid)
sets the archived flag to true on an MN or CN
|
Identifier |
MultipartD1Node.delete(Identifier pid) |
Identifier |
MultipartD1Node.delete(Session session,
Identifier pid) |
DescribeResponse |
MultipartD1Node.describe(Identifier pid) |
DescribeResponse |
MultipartD1Node.describe(Session session,
Identifier pid) |
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.
|
Checksum |
MultipartD1Node.getChecksum(Identifier pid,
String checksumAlgorithm) |
Checksum |
MultipartD1Node.getChecksum(Session session,
Identifier pid,
String checksumAlgorithm)
This method can handle both the MN and CN method, although the CN overriding method
will need to recast the InvalidRequest exception and use 'null' for the checksumAlgorithm param
|
QueryEngineDescription |
MultipartD1Node.getQueryEngineDescription(Session session,
String queryEngine) |
boolean |
MultipartD1Node.isAuthorized(Identifier pid,
Permission action) |
boolean |
MultipartD1Node.isAuthorized(Session session,
Identifier pid,
Permission action) |
InputStream |
MultipartD1Node.query(Session session,
String queryEngine,
String encodedQuery)
As with the sister query() method that takes a D1Url, the contents of
encodedQuery will be joined to the url with as follows:
/{queryEngine}/{encodedQuery}
Note: Users will need to provide the '?' where appropriate to mark
the beginning of the url-query portion.
|
protected InputStream |
MultipartD1Node.view(Session session,
String theme,
Identifier id) |
Modifier and Type | Method and Description |
---|---|
Identifier |
MultipartMNode.archive(Identifier pid) |
Identifier |
MultipartMNode.archive(Session session,
Identifier pid) |
boolean |
MultipartCNode.confirmMapIdentity(Session session,
Subject subject) |
boolean |
MultipartCNode.confirmMapIdentity(Subject subject) |
Identifier |
MultipartMNode.delete(Identifier pid) |
Identifier |
MultipartMNode.delete(Session session,
Identifier pid) |
boolean |
MultipartCNode.deleteReplicationMetadata(Identifier pid,
NodeReference nodeId,
long serialVersion) |
boolean |
MultipartCNode.deleteReplicationMetadata(Session session,
Identifier pid,
NodeReference nodeId,
long serialVersion) |
boolean |
MultipartCNode.denyMapIdentity(Session session,
Subject subject) |
boolean |
MultipartCNode.denyMapIdentity(Subject subject) |
DescribeResponse |
MultipartMNode.describe(Identifier pid) |
DescribeResponse |
MultipartMNode.describe(Session session,
Identifier pid) |
InputStream |
MultipartMNode.get(Identifier pid) |
InputStream |
MultipartCNode.get(Identifier pid) |
InputStream |
MultipartMNode.get(Session session,
Identifier pid) |
InputStream |
MultipartCNode.get(Session session,
Identifier pid) |
Checksum |
MultipartCNode.getChecksum(Identifier pid) |
Checksum |
MultipartMNode.getChecksum(Identifier pid,
String checksumAlgorithm) |
Checksum |
MultipartCNode.getChecksum(Session session,
Identifier pid) |
Checksum |
MultipartMNode.getChecksum(Session session,
Identifier pid,
String checksumAlgorithm) |
ObjectFormat |
MultipartCNode.getFormat(ObjectFormatIdentifier formatid)
Return the ObjectFormat for the given ObjectFormatIdentifier, obtained
either from a client-cached ObjectFormatList from the ObjectFormatCache,
or from a call to the CN.
|
SubjectInfo |
MultipartCNode.getPendingMapIdentity(Session session,
Subject subject) |
SubjectInfo |
MultipartCNode.getPendingMapIdentity(Subject subject) |
QueryEngineDescription |
MultipartMNode.getQueryEngineDescription(String queryEngine) |
QueryEngineDescription |
MultipartCNode.getQueryEngineDescription(String queryEngine) |
InputStream |
MultipartMNode.getReplica(Identifier pid) |
InputStream |
MultipartMNode.getReplica(Session session,
Identifier pid) |
SubjectInfo |
MultipartCNode.getSubjectInfo(Session session,
Subject subject) |
SubjectInfo |
MultipartCNode.getSubjectInfo(Subject subject) |
SystemMetadata |
MultipartMNode.getSystemMetadata(Identifier pid) |
SystemMetadata |
MultipartCNode.getSystemMetadata(Identifier pid) |
SystemMetadata |
MultipartMNode.getSystemMetadata(Session session,
Identifier pid) |
SystemMetadata |
MultipartCNode.getSystemMetadata(Session session,
Identifier pid) |
protected SystemMetadata |
MultipartMNode.getSystemMetadata(Session session,
Identifier pid,
boolean useSystemMetadataCache)
Get the system metadata from a resource with the specified guid, potentially using the local
system metadata cache if specified to do so.
|
protected SystemMetadata |
MultipartCNode.getSystemMetadata(Session session,
Identifier pid,
boolean useSystemMetadataCache)
Get the system metadata from a resource with the specified guid, potentially using the local
system metadata cache if specified to do so.
|
boolean |
MultipartCNode.hasReservation(Session session,
Subject subject,
Identifier pid) |
boolean |
MultipartCNode.hasReservation(Subject subject,
Identifier pid) |
boolean |
MultipartMNode.isAuthorized(Identifier pid,
Permission action) |
boolean |
MultipartMNode.isAuthorized(Session session,
Identifier pid,
Permission action) |
boolean |
MultipartCNode.isNodeAuthorized(Session session,
Subject targetNodeSubject,
Identifier pid) |
boolean |
MultipartCNode.isNodeAuthorized(Subject targetNodeSubject,
Identifier pid) |
boolean |
MultipartCNode.mapIdentity(Session session,
Subject primarySubject,
Subject secondarySubject) |
boolean |
MultipartCNode.mapIdentity(Subject primarySubject,
Subject secondarySubject) |
InputStream |
MultipartMNode.query(String queryEngine,
String query) |
InputStream |
MultipartCNode.query(String queryEngine,
String query) |
boolean |
MultipartCNode.removeMapIdentity(Session session,
Subject subject) |
boolean |
MultipartCNode.removeMapIdentity(Subject subject) |
boolean |
MultipartCNode.requestMapIdentity(Session session,
Subject subject) |
boolean |
MultipartCNode.requestMapIdentity(Subject subject) |
ObjectLocationList |
MultipartCNode.resolve(Identifier pid) |
ObjectLocationList |
MultipartCNode.resolve(Session session,
Identifier pid) |
boolean |
MultipartCNode.setAccessPolicy(Identifier pid,
AccessPolicy accessPolicy,
long serialVersion) |
boolean |
MultipartCNode.setAccessPolicy(Session session,
Identifier pid,
AccessPolicy accessPolicy,
long serialVersion) |
boolean |
MultipartCNode.setObsoletedBy(Identifier pid,
Identifier obsoletedByPid,
long serialVersion) |
boolean |
MultipartCNode.setObsoletedBy(Session session,
Identifier pid,
Identifier obsoletedByPid,
long serialVersion) |
boolean |
MultipartCNode.setReplicationPolicy(Identifier pid,
ReplicationPolicy policy,
long serialVersion) |
boolean |
MultipartCNode.setReplicationPolicy(Session session,
Identifier pid,
ReplicationPolicy policy,
long serialVersion) |
boolean |
MultipartCNode.setReplicationStatus(Identifier pid,
NodeReference nodeRef,
ReplicationStatus status,
BaseException failure) |
boolean |
MultipartCNode.setReplicationStatus(Session session,
Identifier pid,
NodeReference nodeRef,
ReplicationStatus status,
BaseException failure) |
Identifier |
MultipartCNode.setRightsHolder(Identifier pid,
Subject userId,
long serialVersion) |
Identifier |
MultipartCNode.setRightsHolder(Session session,
Identifier pid,
Subject userId,
long serialVersion) |
Identifier |
MultipartMNode.update(Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta) |
Identifier |
MultipartMNode.update(Session session,
Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta) |
Subject |
MultipartCNode.updateAccount(Person person) |
Subject |
MultipartCNode.updateAccount(Session session,
Person person) |
boolean |
MultipartCNode.updateGroup(Group group) |
boolean |
MultipartCNode.updateGroup(Session session,
Group group) |
boolean |
MultipartCNode.updateNodeCapabilities(NodeReference nodeid,
Node node) |
boolean |
MultipartCNode.updateNodeCapabilities(Session session,
NodeReference nodeid,
Node node) |
boolean |
MultipartCNode.updateReplicationMetadata(Identifier pid,
Replica replicaMetadata,
long serialVersion) |
boolean |
MultipartCNode.updateReplicationMetadata(Session session,
Identifier pid,
Replica replicaMetadata,
long serialVersion) |
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.archive(Session session,
D1Object d1object)
Perform an archive on an object in DataONE with the given D1Object on the
authoritativeMemberNode 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 ObsoletesChain |
D1Client.listUpdateHistory(Identifier pid)
Return the full ObsoletesChain for the given Identifier.
|
void |
D1Object.setPublicAccess(Session token)
Change the object to publicly readable
|
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.
|
Constructor and Description |
---|
D1Object(Identifier id,
byte[] data,
ObjectFormatIdentifier formatId,
Subject submitter,
NodeReference nodeId)
Deprecated.
|
D1Object(Identifier id,
byte[] data,
String formatValue,
String submitterValue,
String nodeIdValue)
Deprecated.
|
D1Object(Identifier id,
DataSource data,
ObjectFormatIdentifier formatId,
Subject rightsHolder,
NodeReference nodeId)
Create an object that contains the given data bytes and with the given system metadata values.
|
Modifier and Type | Method and Description |
---|---|
static SystemMetadata |
D1TypeBuilder.buildMinimalSystemMetadata(Identifier id,
InputStream data,
ObjectFormatIdentifier formatId,
Subject rightsHolder)
Builds a minimal and 'typical' SystemMetadata object containing all of the required fields needed
for submission to DataONE at time of create.
|
Modifier and Type | Method and Description |
---|---|
ObjectFormat |
ObjectFormatCache.getFormat(ObjectFormatIdentifier formatId)
Lookup and return the format specified by the Identifier.
|
ObjectFormat |
ObjectFormatCache.getFormat(String fmtidStr)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
ObjectFormatIdentifier |
MultipartCNode.addFormat(Session session,
ObjectFormatIdentifier formatid,
ObjectFormat format) |
Identifier |
MultipartMNode.archive(Identifier pid) |
Identifier |
MultipartMNode.archive(Session session,
Identifier pid) |
boolean |
MultipartCNode.confirmMapIdentity(Session session,
Subject subject) |
Identifier |
MultipartMNode.delete(Identifier pid) |
Identifier |
MultipartMNode.delete(Session session,
Identifier pid) |
boolean |
MultipartCNode.deleteReplicationMetadata(Session session,
Identifier pid,
NodeReference nodeId,
long serialVersion) |
boolean |
MultipartCNode.denyMapIdentity(Session session,
Subject subject) |
DescribeResponse |
MultipartMNode.describe(Identifier pid) |
DescribeResponse |
MultipartMNode.describe(Session session,
Identifier pid) |
InputStream |
MultipartCNode.get(Identifier pid) |
InputStream |
MultipartMNode.get(Identifier pid) |
InputStream |
MultipartCNode.get(Session session,
Identifier pid) |
InputStream |
MultipartMNode.get(Session session,
Identifier pid) |
Checksum |
MultipartMNode.getChecksum(Identifier pid,
String checksumAlgorithm) |
Checksum |
MultipartCNode.getChecksum(Session session,
Identifier pid) |
Checksum |
MultipartMNode.getChecksum(Session session,
Identifier pid,
String checksumAlgorithm) |
ObjectFormat |
MultipartCNode.getFormat(ObjectFormatIdentifier formatid)
Return the ObjectFormat for the given ObjectFormatIdentifier, obtained
either from a client-cached ObjectFormatList from the ObjectFormatCache,
or from a call to the CN.
|
InputStream |
MultipartMNode.getPackage(Session session,
ObjectFormatIdentifier packageType,
Identifier id) |
SubjectInfo |
MultipartCNode.getPendingMapIdentity(Session session,
Subject subject) |
InputStream |
MultipartMNode.getReplica(Session session,
Identifier pid) |
SubjectInfo |
MultipartCNode.getSubjectInfo(Session session,
Subject subject) |
SystemMetadata |
MultipartCNode.getSystemMetadata(Session session,
Identifier id)
Get the system metadata from a resource with the specified guid, potentially using the local
system metadata cache if specified to do so.
|
SystemMetadata |
MultipartMNode.getSystemMetadata(Session session,
Identifier id)
Get the system metadata from a resource with the specified guid, potentially using the local
system metadata cache if specified to do so.
|
SystemMetadata |
MultipartD1Node.getSystemMetadata(Session session,
Identifier pid)
Get the system metadata from a resource with the specified guid, potentially using the local
system metadata cache if specified to do so.
|
boolean |
MultipartCNode.hasReservation(Session session,
Subject subject,
Identifier pid) |
boolean |
MultipartMNode.isAuthorized(Identifier pid,
Permission action) |
boolean |
MultipartMNode.isAuthorized(Session session,
Identifier pid,
Permission action) |
boolean |
MultipartCNode.isNodeAuthorized(Session session,
Subject targetNodeSubject,
Identifier pid) |
boolean |
MultipartCNode.mapIdentity(Session session,
Subject primarySubject,
Subject secondarySubject) |
boolean |
MultipartCNode.removeMapIdentity(Session session,
Subject subject) |
boolean |
MultipartCNode.requestMapIdentity(Session session,
Subject subject) |
ObjectLocationList |
MultipartCNode.resolve(Session session,
Identifier pid) |
boolean |
MultipartCNode.setAccessPolicy(Session session,
Identifier pid,
AccessPolicy accessPolicy,
long serialVersion) |
boolean |
MultipartCNode.setObsoletedBy(Session session,
Identifier pid,
Identifier obsoletedByPid,
long serialVersion) |
boolean |
MultipartCNode.setReplicationPolicy(Session session,
Identifier pid,
ReplicationPolicy policy,
long serialVersion) |
boolean |
MultipartCNode.setReplicationStatus(Session session,
Identifier pid,
NodeReference nodeRef,
ReplicationStatus status,
BaseException failure) |
Identifier |
MultipartCNode.setRightsHolder(Session session,
Identifier pid,
Subject userId,
long serialVersion) |
Identifier |
MultipartMNode.update(Session session,
Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta) |
Subject |
MultipartCNode.updateAccount(Session session,
Person person) |
boolean |
MultipartCNode.updateGroup(Session session,
Group group) |
boolean |
MultipartCNode.updateNodeCapabilities(Session session,
NodeReference nodeid,
Node node) |
boolean |
MultipartCNode.updateReplicationMetadata(Session session,
Identifier pid,
Replica replicaMetadata,
long serialVersion) |
InputStream |
MultipartCNode.view(Session session,
String theme,
Identifier id) |
InputStream |
MultipartMNode.view(Session session,
String theme,
Identifier id) |
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
|
void |
D1Object.setPublicAccess(Session token)
Change the object to publicly readable
|
Constructor and Description |
---|
D1Object(Identifier id,
byte[] data,
ObjectFormatIdentifier formatId,
Subject rightsHolder,
NodeReference nodeId)
Deprecated.
|
D1Object(Identifier id,
byte[] data,
String formatValue,
String rightsHolderValue,
String nodeIdValue)
Deprecated.
|
D1Object(Identifier id,
DataSource data,
ObjectFormatIdentifier formatId,
Subject submitter,
NodeReference nodeId)
Create an object that contains the given data bytes and with the given system metadata values.
|
Modifier and Type | Method and Description |
---|---|
static SystemMetadata |
D1TypeBuilder.buildMinimalSystemMetadata(Identifier id,
InputStream data,
ObjectFormatIdentifier formatId,
Subject rightsHolder)
Builds a minimal and 'typical' SystemMetadata object containing all of the required fields needed
for submission to DataONE at time of create.
|
Modifier and Type | Method and Description |
---|---|
Identifier |
CNCore.archive(Identifier pid) |
Identifier |
CNCore.archive(Session session,
Identifier pid)
Deprecated.
|
boolean |
CNIdentity.confirmMapIdentity(Session session,
Subject subject)
Deprecated.
|
boolean |
CNIdentity.confirmMapIdentity(Subject subject) |
Identifier |
CNCore.delete(Identifier pid) |
Identifier |
CNCore.delete(Session session,
Identifier pid)
Deprecated.
|
boolean |
CNReplication.deleteReplicationMetadata(Identifier pid,
NodeReference nodeId,
long serialVersion) |
boolean |
CNReplication.deleteReplicationMetadata(Session session,
Identifier pid,
NodeReference nodeId,
long serialVersion)
Deprecated.
|
boolean |
CNIdentity.denyMapIdentity(Session session,
Subject subject)
Deprecated.
|
boolean |
CNIdentity.denyMapIdentity(Subject subject) |
DescribeResponse |
CNRead.describe(Identifier pid) |
DescribeResponse |
CNRead.describe(Session session,
Identifier pid)
Deprecated.
|
InputStream |
CNRead.get(Identifier pid)
InputStream is the Java native version of D1's OctetStream
|
InputStream |
CNRead.get(Session session,
Identifier pid)
Deprecated.
|
Checksum |
CNRead.getChecksum(Identifier pid) |
Checksum |
CNRead.getChecksum(Session session,
Identifier pid)
Deprecated.
|
ObjectFormat |
CNCore.getFormat(ObjectFormatIdentifier formatid) |
SubjectInfo |
CNIdentity.getPendingMapIdentity(Session session,
Subject subject)
Deprecated.
|
SubjectInfo |
CNIdentity.getPendingMapIdentity(Subject subject) |
QueryEngineDescription |
CNRead.getQueryEngineDescription(String queryEngine) |
SubjectInfo |
CNIdentity.getSubjectInfo(Session session,
Subject subject)
Deprecated.
|
SubjectInfo |
CNIdentity.getSubjectInfo(Subject subject) |
SystemMetadata |
CNRead.getSystemMetadata(Identifier pid) |
SystemMetadata |
CNRead.getSystemMetadata(Session session,
Identifier pid)
Deprecated.
|
boolean |
CNCore.hasReservation(Session session,
Subject subject,
Identifier pid)
Deprecated.
|
boolean |
CNCore.hasReservation(Subject subject,
Identifier pid) |
boolean |
CNAuthorization.isAuthorized(Identifier pid,
Permission permission) |
boolean |
CNAuthorization.isAuthorized(Session session,
Identifier pid,
Permission permission)
Deprecated.
|
boolean |
CNReplication.isNodeAuthorized(Session originatingNodeSession,
Subject targetNodeSubject,
Identifier pid)
Deprecated.
|
boolean |
CNReplication.isNodeAuthorized(Subject targetNodeSubject,
Identifier pid) |
boolean |
CNIdentity.mapIdentity(Session session,
Subject primarySubject,
Subject secondarySubject)
Deprecated.
|
boolean |
CNIdentity.mapIdentity(Subject primarySubject,
Subject secondarySubject) |
InputStream |
CNRead.query(String queryEngine,
String query) |
boolean |
CNIdentity.removeMapIdentity(Session session,
Subject subject)
Deprecated.
|
boolean |
CNIdentity.removeMapIdentity(Subject subject) |
boolean |
CNIdentity.requestMapIdentity(Session session,
Subject subject)
Deprecated.
|
boolean |
CNIdentity.requestMapIdentity(Subject subject) |
ObjectLocationList |
CNRead.resolve(Identifier pid) |
ObjectLocationList |
CNRead.resolve(Session session,
Identifier pid)
Deprecated.
|
boolean |
CNAuthorization.setAccessPolicy(Identifier pid,
AccessPolicy policy,
long serialVersion) |
boolean |
CNAuthorization.setAccessPolicy(Session session,
Identifier pid,
AccessPolicy policy,
long serialVersion)
Deprecated.
|
boolean |
CNCore.setObsoletedBy(Identifier pid,
Identifier obsoletedByPid,
long serialVersion) |
boolean |
CNCore.setObsoletedBy(Session session,
Identifier pid,
Identifier obsoletedByPid,
long serialVersion)
Deprecated.
|
boolean |
CNReplication.setReplicationPolicy(Identifier pid,
ReplicationPolicy policy,
long serialVersion) |
boolean |
CNReplication.setReplicationPolicy(Session session,
Identifier pid,
ReplicationPolicy policy,
long serialVersion)
Deprecated.
|
boolean |
CNReplication.setReplicationStatus(Identifier pid,
NodeReference nodeRef,
ReplicationStatus status,
BaseException failure) |
boolean |
CNReplication.setReplicationStatus(Session session,
Identifier pid,
NodeReference nodeRef,
ReplicationStatus status,
BaseException failure)
Deprecated.
|
Identifier |
CNAuthorization.setRightsHolder(Identifier pid,
Subject userId,
long serialVersion) |
Identifier |
CNAuthorization.setRightsHolder(Session session,
Identifier pid,
Subject userId,
long serialVersion)
Deprecated.
|
Subject |
CNIdentity.updateAccount(Person person) |
Subject |
CNIdentity.updateAccount(Session session,
Person person)
Deprecated.
|
boolean |
CNIdentity.updateGroup(Group group) |
boolean |
CNIdentity.updateGroup(Session session,
Group group)
Deprecated.
|
boolean |
CNRegister.updateNodeCapabilities(NodeReference nodeid,
Node node) |
boolean |
CNRegister.updateNodeCapabilities(Session session,
NodeReference nodeid,
Node node)
Deprecated.
|
boolean |
CNReplication.updateReplicationMetadata(Identifier pid,
Replica replicaMetadata,
long serialVersion) |
boolean |
CNReplication.updateReplicationMetadata(Session targetNodeSession,
Identifier pid,
Replica replicaMetadata,
long serialVersion)
Deprecated.
|
boolean |
CNIdentity.verifyAccount(Session session,
Subject subject)
Deprecated.
|
boolean |
CNIdentity.verifyAccount(Subject subject) |
Modifier and Type | Method and Description |
---|---|
ObjectFormatIdentifier |
CNCore.addFormat(Session session,
ObjectFormatIdentifier formatid,
ObjectFormat format) |
Identifier |
CNCore.archive(Session session,
Identifier id)
Deprecated.
the Authoritative Member Node is responsible for archiving content using SystemMetadata modifications
|
boolean |
CNIdentity.confirmMapIdentity(Session session,
Subject subject) |
Identifier |
CNCore.delete(Session session,
Identifier id) |
boolean |
CNReplication.deleteReplicationMetadata(Session session,
Identifier pid,
NodeReference nodeId,
long serialVersion) |
boolean |
CNIdentity.denyMapIdentity(Session session,
Subject subject) |
DescribeResponse |
CNRead.describe(Session session,
Identifier id) |
InputStream |
CNRead.get(Session session,
Identifier id)
InputStream is the Java native version of D1's OctetStream
|
Checksum |
CNRead.getChecksum(Session session,
Identifier pid) |
ObjectFormat |
CNCore.getFormat(ObjectFormatIdentifier formatid) |
Node |
CNRegister.getNodeCapabilities(NodeReference nodeid) |
SubjectInfo |
CNIdentity.getPendingMapIdentity(Session session,
Subject subject) |
QueryEngineDescription |
CNRead.getQueryEngineDescription(Session session,
String queryEngine) |
SubjectInfo |
CNIdentity.getSubjectInfo(Session session,
Subject subject) |
SystemMetadata |
CNRead.getSystemMetadata(Session session,
Identifier id) |
boolean |
CNCore.hasReservation(Session session,
Subject subject,
Identifier id) |
boolean |
CNAuthorization.isAuthorized(Session session,
Identifier id,
Permission permission) |
boolean |
CNReplication.isNodeAuthorized(Session session,
Subject targetNodeSubject,
Identifier pid) |
boolean |
CNIdentity.mapIdentity(Session session,
Subject primarySubject,
Subject secondarySubject) |
InputStream |
CNRead.query(Session session,
String queryEngine,
String query) |
boolean |
CNIdentity.removeMapIdentity(Session session,
Subject subject) |
boolean |
CNIdentity.requestMapIdentity(Session session,
Subject subject) |
ObjectLocationList |
CNRead.resolve(Session session,
Identifier id) |
boolean |
CNAuthorization.setAccessPolicy(Session session,
Identifier id,
AccessPolicy policy,
long serialVersion)
Deprecated.
use CNCore.updateSystemMetadata()
|
boolean |
CNCore.setObsoletedBy(Session session,
Identifier pid,
Identifier obsoletedByPid,
long serialVersion)
Deprecated.
the Authoritative Member Node is responsible for obsoleting content using SystemMetadata modifications
|
boolean |
CNReplication.setReplicationPolicy(Session session,
Identifier pid,
ReplicationPolicy policy,
long serialVersion)
Deprecated.
use CNCore.updateSystemMetadata()
|
boolean |
CNReplication.setReplicationStatus(Session session,
Identifier pid,
NodeReference nodeRef,
ReplicationStatus status,
BaseException failure) |
Identifier |
CNAuthorization.setRightsHolder(Session session,
Identifier id,
Subject userId,
long serialVersion)
Deprecated.
use CNCore.updateSystemMetadata()
|
Subject |
CNIdentity.updateAccount(Session session,
Person person) |
boolean |
CNIdentity.updateGroup(Session session,
Group group) |
boolean |
CNRegister.updateNodeCapabilities(Session session,
NodeReference nodeid,
Node node) |
boolean |
CNReplication.updateReplicationMetadata(Session session,
Identifier pid,
Replica replicaMetadata,
long serialVersion) |
boolean |
CNIdentity.verifyAccount(Session session,
Subject subject) |
InputStream |
CNView.view(Session session,
String theme,
Identifier id) |
Modifier and Type | Method and Description |
---|---|
DescribeResponse |
MNRead.describe(Identifier pid) |
DescribeResponse |
MNRead.describe(Session session,
Identifier pid)
Deprecated.
|
InputStream |
MNRead.get(Identifier pid)
InputStream is the Java native version of D1's OctetStream
|
InputStream |
MNRead.get(Session session,
Identifier pid)
Deprecated.
|
Checksum |
MNRead.getChecksum(Identifier pid,
String checksumAlgorithm) |
Checksum |
MNRead.getChecksum(Session session,
Identifier pid,
String checksumAlgorithm)
Deprecated.
|
InputStream |
MNRead.getReplica(Identifier pid) |
InputStream |
MNRead.getReplica(Session session,
Identifier pid)
Deprecated.
|
SystemMetadata |
MNRead.getSystemMetadata(Identifier pid) |
SystemMetadata |
MNRead.getSystemMetadata(Session session,
Identifier pid)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
DescribeResponse |
MNRead.describe(Session session,
Identifier id) |
InputStream |
MNRead.get(Session session,
Identifier id)
InputStream is the Java native version of D1's OctetStream
|
Checksum |
MNRead.getChecksum(Session session,
Identifier pid,
String checksumAlgorithm) |
InputStream |
MNRead.getReplica(Session session,
Identifier pid) |
SystemMetadata |
MNRead.getSystemMetadata(Session session,
Identifier id) |
boolean |
MNRead.systemMetadataChanged(Session session,
Identifier id,
long serialVersion,
Date dateSystemMetadataLastModified) |
Modifier and Type | Method and Description |
---|---|
boolean |
MNAuthorization.isAuthorized(Identifier pid,
Permission action) |
boolean |
MNAuthorization.isAuthorized(Session session,
Identifier pid,
Permission action)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MNAuthorization.isAuthorized(Session session,
Identifier id,
Permission action) |
Modifier and Type | Method and Description |
---|---|
Identifier |
MNStorage.archive(Identifier pid) |
Identifier |
MNStorage.archive(Session session,
Identifier pid)
Deprecated.
|
Identifier |
MNStorage.delete(Identifier pid) |
Identifier |
MNStorage.delete(Session session,
Identifier pid)
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.archive(Session session,
Identifier id)
Deprecated.
use updateSystemMetadata() to mark content as archived
|
Identifier |
MNStorage.delete(Session session,
Identifier id) |
Identifier |
MNStorage.update(Session session,
Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta) |
boolean |
MNStorage.updateSystemMetadata(Session session,
Identifier pid,
SystemMetadata sysmeta) |
Modifier and Type | Method and Description |
---|---|
QueryEngineDescription |
MNQuery.getQueryEngineDescription(String queryEngine) |
InputStream |
MNQuery.query(String queryEngine,
String query) |
Modifier and Type | Method and Description |
---|---|
InputStream |
MNPackage.getPackage(Session session,
ObjectFormatIdentifier packageType,
Identifier id) |
QueryEngineDescription |
MNQuery.getQueryEngineDescription(Session session,
String queryEngine) |
InputStream |
MNQuery.query(Session session,
String queryEngine,
String query) |
InputStream |
MNView.view(Session session,
String theme,
Identifier id) |
Modifier and Type | Method and Description |
---|---|
static SystemMetadata |
TypeFactory.buildMinimalSystemMetadata(Identifier id,
InputStream data,
String checksumAlgorithm,
ObjectFormatIdentifier formatId,
Subject submitterRightsHolder)
Builds a minimal and 'typical' SystemMetadata object containing all of the required fields needed
for submission to DataONE at time of create.
|
Modifier and Type | Method and Description |
---|---|
static SystemMetadata |
TypeFactory.buildMinimalSystemMetadata(Identifier id,
InputStream data,
String checksumAlgorithm,
ObjectFormatIdentifier formatId,
Subject submitterRightsHolder)
Builds a minimal and 'typical' SystemMetadata object containing all of the required fields needed
for submission to DataONE at time of create.
|
Modifier and Type | Method and Description |
---|---|
ObjectFormat |
ObjectFormatServiceImpl.getFormat(ObjectFormatIdentifier formatId)
Get the object format based on the given identifier.
|
Modifier and Type | Method and Description |
---|---|
static void |
ExceptionHandler.deserializeAndThrowException(org.apache.http.HttpResponse response) |
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.