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) |
Identifier |
MultipartD1Node.generateIdentifier(Session session,
String scheme,
String fragment) |
Identifier |
MultipartD1Node.generateIdentifier(String scheme,
String fragment) |
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) |
QueryEngineList |
MultipartD1Node.listQueryEngines(Session session) |
protected OptionList |
MultipartD1Node.listViews(Session session) |
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.
|
boolean |
MultipartD1Node.systemMetadataChanged(Session session,
Identifier pid,
long serialVersion,
Date dateSystemMetadataLastModified) |
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.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) |
Subject |
MultipartCNode.createGroup(Group group) |
Subject |
MultipartCNode.createGroup(Session session,
Group group) |
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) |
Identifier |
MultipartMNode.generateIdentifier(Session session,
String scheme,
String fragment) |
Identifier |
MultipartMNode.generateIdentifier(String scheme,
String fragment) |
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) |
Log |
MultipartMNode.getLogRecords(Date fromDate,
Date toDate,
Event event,
String idFilter,
Integer start,
Integer count) |
Log |
MultipartCNode.getLogRecords(Date fromDate,
Date toDate,
Event event,
String idFilter,
Integer start,
Integer count) |
Log |
MultipartMNode.getLogRecords(Session session,
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) |
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) |
ObjectList |
MultipartMNode.listObjects(Date fromDate,
Date toDate,
ObjectFormatIdentifier formatid,
Boolean replicaStatus,
Integer start,
Integer count) |
ObjectList |
MultipartCNode.listObjects(Date fromDate,
Date toDate,
ObjectFormatIdentifier formatid,
Boolean replicaStatus,
Integer start,
Integer count) |
ObjectList |
MultipartMNode.listObjects(Session session,
Date fromDate,
Date toDate,
ObjectFormatIdentifier formatid,
Boolean replicaStatus,
Integer start,
Integer count) |
ObjectList |
MultipartCNode.listObjects(Session session,
Date fromDate,
Date toDate,
ObjectFormatIdentifier formatid,
Boolean replicaStatus,
Integer start,
Integer count) |
QueryEngineList |
MultipartMNode.listQueryEngines() |
QueryEngineList |
MultipartCNode.listQueryEngines() |
SubjectInfo |
MultipartCNode.listSubjects(Session session,
String query,
String status,
Integer start,
Integer count) |
SubjectInfo |
MultipartCNode.listSubjects(String query,
String status,
Integer start,
Integer count) |
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) |
NodeReference |
MultipartCNode.register(Node node) |
NodeReference |
MultipartCNode.register(Session session,
Node node) |
Subject |
MultipartCNode.registerAccount(Person person) |
Subject |
MultipartCNode.registerAccount(Session session,
Person person) |
Identifier |
MultipartCNode.registerSystemMetadata(Identifier pid,
SystemMetadata sysmeta) |
Identifier |
MultipartCNode.registerSystemMetadata(Session session,
Identifier pid,
SystemMetadata sysmeta) |
boolean |
MultipartCNode.removeMapIdentity(Session session,
Subject subject) |
boolean |
MultipartCNode.removeMapIdentity(Subject subject) |
boolean |
MultipartMNode.replicate(Session session,
SystemMetadata sysmeta,
NodeReference sourceNode) |
boolean |
MultipartMNode.replicate(SystemMetadata sysmeta,
NodeReference sourceNode) |
boolean |
MultipartCNode.requestMapIdentity(Session session,
Subject subject) |
boolean |
MultipartCNode.requestMapIdentity(Subject subject) |
Identifier |
MultipartCNode.reserveIdentifier(Identifier pid) |
Identifier |
MultipartCNode.reserveIdentifier(Session session,
Identifier pid) |
ObjectLocationList |
MultipartCNode.resolve(Identifier pid) |
ObjectLocationList |
MultipartCNode.resolve(Session session,
Identifier pid) |
ObjectList |
MultipartCNode.search(Session session,
String queryType,
D1Url queryD1url)
A convenience method for creating a search command utilizing the D1Url
class for building the value for the query parameter.
|
ObjectList |
MultipartCNode.search(Session session,
String queryType,
String query)
see DataONE API Reference
This implementation handles URL-escaping for only the "queryType" parameter,
and always places a slash ('/') character after it.
|
ObjectList |
MultipartCNode.search(String queryType,
D1Url queryD1url)
A convenience method for creating a search command utilizing the D1Url
class for building the value for the query parameter.
|
ObjectList |
MultipartCNode.search(String queryType,
String query)
see DataONE API Reference
This implementation handles URL-escaping for only the "queryType" parameter,
and always places a slash ('/') character after it.
|
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) |
boolean |
MultipartMNode.synchronizationFailed(Session session,
SynchronizationFailed message) |
boolean |
MultipartMNode.synchronizationFailed(SynchronizationFailed message) |
boolean |
MultipartMNode.systemMetadataChanged(Identifier pid,
long serialVersion,
Date dateSystemMetadataLastModified) |
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) |
boolean |
MultipartCNode.verifyAccount(Session session,
Subject subject) |
boolean |
MultipartCNode.verifyAccount(Subject subject) |
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 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 ObsoletesChain |
D1Client.listUpdateHistory(Identifier pid)
Return the full ObsoletesChain for the given Identifier.
|
boolean |
D1Object.refreshSystemMetadata(Integer retryTimeoutMS)
refresh the SystemMetadata of this object, first trying the CN, then the
authoritative MN.
|
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.
|
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 |
MultipartCNode.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
MultipartMNode.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Subject |
MultipartCNode.createGroup(Session session,
Group group) |
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.echoIndexedObject(Session session,
String queryEngine,
SystemMetadata sysmeta,
InputStream object) |
SystemMetadata |
MultipartCNode.echoSystemMetadata(Session session,
SystemMetadata sysmeta) |
Identifier |
MultipartMNode.generateIdentifier(Session session,
String scheme,
String fragment) |
Identifier |
MultipartMNode.generateIdentifier(String scheme,
String fragment) |
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) |
Log |
MultipartCNode.getLogRecords(Session session,
Date fromDate,
Date toDate,
String event,
String idFilter,
Integer start,
Integer count) |
Log |
MultipartMNode.getLogRecords(Session session,
Date fromDate,
Date toDate,
String event,
String idFilter,
Integer start,
Integer count) |
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) |
ObjectList |
MultipartMNode.listObjects(Session session,
Date fromDate,
Date toDate,
ObjectFormatIdentifier formatid,
Identifier identifier,
Boolean replicaStatus,
Integer start,
Integer count) |
ObjectList |
MultipartCNode.listObjects(Session session,
Date fromDate,
Date toDate,
ObjectFormatIdentifier formatid,
NodeReference nodeId,
Identifier identifier,
Integer start,
Integer count) |
SubjectInfo |
MultipartCNode.listSubjects(Session session,
String query,
String status,
Integer start,
Integer count) |
OptionList |
MultipartCNode.listViews() |
OptionList |
MultipartMNode.listViews(Session session) |
boolean |
MultipartCNode.mapIdentity(Session session,
Subject primarySubject,
Subject secondarySubject) |
NodeReference |
MultipartCNode.register(Session session,
Node node) |
Subject |
MultipartCNode.registerAccount(Session session,
Person person) |
Identifier |
MultipartCNode.registerSystemMetadata(Session session,
Identifier pid,
SystemMetadata sysmeta) |
boolean |
MultipartCNode.removeMapIdentity(Session session,
Subject subject) |
boolean |
MultipartMNode.replicate(Session session,
SystemMetadata sysmeta,
NodeReference sourceNode) |
boolean |
MultipartCNode.requestMapIdentity(Session session,
Subject subject) |
Identifier |
MultipartCNode.reserveIdentifier(Session session,
Identifier pid) |
ObjectLocationList |
MultipartCNode.resolve(Session session,
Identifier pid) |
ObjectList |
MultipartCNode.search(Session session,
String queryType,
D1Url queryD1url)
A convenience method for creating a search command utilizing the D1Url
class for building the value for the query parameter.
|
ObjectList |
MultipartCNode.search(Session session,
String queryType,
String query)
see DataONE API Reference
This implementation handles URL-escaping for only the "queryType" parameter,
and always places a slash ('/') character after it.
|
ObjectList |
MultipartCNode.search(String queryType,
D1Url queryD1url)
A convenience method for creating a search command utilizing the D1Url
class for building the value for the query parameter.
|
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) |
boolean |
MultipartMNode.synchronizationFailed(Session session,
SynchronizationFailed message) |
boolean |
MultipartCNode.synchronize(Session session,
Identifier pid) |
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) |
boolean |
MultipartCNode.updateSystemMetadata(Session session,
Identifier pid,
SystemMetadata sysmeta) |
boolean |
MultipartMNode.updateSystemMetadata(Session session,
Identifier pid,
SystemMetadata sysmeta) |
boolean |
MultipartD1Node.updateSystemMetadata(Session session,
Identifier pid,
SystemMetadata sysmeta) |
boolean |
MultipartCNode.verifyAccount(Session session,
Subject subject) |
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
|
boolean |
D1Object.refreshSystemMetadata(Integer retryTimeoutMS)
refresh the SystemMetadata of this object, first trying the CN, then the
authoritative MN.
|
void |
D1Object.setPublicAccess(Session token)
Change the object to publicly readable
|
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.create(Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
CNCore.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta)
Deprecated.
|
Subject |
CNIdentity.createGroup(Group group) |
Subject |
CNIdentity.createGroup(Session session,
Group group)
Deprecated.
|
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.
|
Identifier |
CNCore.generateIdentifier(Session session,
String scheme,
String fragment)
Deprecated.
|
Identifier |
CNCore.generateIdentifier(String scheme,
String fragment) |
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.
|
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.
|
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) |
ObjectList |
CNRead.listObjects(Date fromDate,
Date toDate,
ObjectFormatIdentifier formatId,
Boolean replicaStatus,
Integer start,
Integer count) |
ObjectList |
CNRead.listObjects(Session session,
Date fromDate,
Date toDate,
ObjectFormatIdentifier formatId,
Boolean replicaStatus,
Integer start,
Integer count)
Deprecated.
|
QueryEngineList |
CNRead.listQueryEngines() |
SubjectInfo |
CNIdentity.listSubjects(Session session,
String query,
String status,
Integer start,
Integer count)
Deprecated.
|
SubjectInfo |
CNIdentity.listSubjects(String query,
String status,
Integer start,
Integer count) |
boolean |
CNIdentity.mapIdentity(Session session,
Subject primarySubject,
Subject secondarySubject)
Deprecated.
|
boolean |
CNIdentity.mapIdentity(Subject primarySubject,
Subject secondarySubject) |
InputStream |
CNRead.query(String queryEngine,
String query) |
NodeReference |
CNRegister.register(Node node) |
NodeReference |
CNRegister.register(Session session,
Node node)
Deprecated.
|
Subject |
CNIdentity.registerAccount(Person person) |
Subject |
CNIdentity.registerAccount(Session session,
Person person)
Deprecated.
|
Identifier |
CNCore.registerSystemMetadata(Identifier pid,
SystemMetadata sysmeta) |
Identifier |
CNCore.registerSystemMetadata(Session session,
Identifier pid,
SystemMetadata sysmeta)
Deprecated.
|
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) |
Identifier |
CNCore.reserveIdentifier(Identifier pid) |
Identifier |
CNCore.reserveIdentifier(Session session,
Identifier pid)
Deprecated.
|
ObjectLocationList |
CNRead.resolve(Identifier pid) |
ObjectLocationList |
CNRead.resolve(Session session,
Identifier pid)
Deprecated.
|
ObjectList |
CNRead.search(Session session,
String queryType,
String query)
Deprecated.
|
ObjectList |
CNRead.search(String queryType,
String query) |
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.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Subject |
CNIdentity.createGroup(Session session,
Group group) |
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 |
CNDiagnostic.echoIndexedObject(Session session,
String queryEngine,
SystemMetadata sysmeta,
InputStream object) |
SystemMetadata |
CNDiagnostic.echoSystemMetadata(Session session,
SystemMetadata sysmeta) |
Identifier |
CNCore.generateIdentifier(Session session,
String scheme,
String fragment) |
InputStream |
CNRead.get(Session session,
Identifier id)
InputStream is the Java native version of D1's OctetStream
|
Checksum |
CNRead.getChecksum(Session session,
Identifier pid) |
Log |
CNCore.getLogRecords(Session session,
Date fromDate,
Date toDate,
String event,
String pidFilter,
Integer start,
Integer count) |
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) |
ObjectList |
CNRead.listObjects(Session session,
Date fromDate,
Date toDate,
ObjectFormatIdentifier formatId,
NodeReference nodeId,
Identifier identifier,
Integer start,
Integer count) |
QueryEngineList |
CNRead.listQueryEngines(Session session) |
SubjectInfo |
CNIdentity.listSubjects(Session session,
String query,
String status,
Integer start,
Integer count) |
OptionList |
CNView.listViews() |
boolean |
CNIdentity.mapIdentity(Session session,
Subject primarySubject,
Subject secondarySubject) |
InputStream |
CNRead.query(Session session,
String queryEngine,
String query) |
NodeReference |
CNRegister.register(Session session,
Node node) |
Subject |
CNIdentity.registerAccount(Session session,
Person person) |
Identifier |
CNCore.registerSystemMetadata(Session session,
Identifier pid,
SystemMetadata sysmeta) |
boolean |
CNIdentity.removeMapIdentity(Session session,
Subject subject) |
boolean |
CNIdentity.requestMapIdentity(Session session,
Subject subject) |
Identifier |
CNCore.reserveIdentifier(Session session,
Identifier id) |
ObjectLocationList |
CNRead.resolve(Session session,
Identifier id) |
ObjectList |
CNRead.search(Session session,
String queryType,
String query) |
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()
|
boolean |
CNCore.synchronize(Session session,
Identifier pid) |
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 |
CNCore.updateSystemMetadata(Session session,
Identifier pid,
SystemMetadata sysmeta) |
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.
|
Log |
MNCore.getLogRecords(Date fromDate,
Date toDate,
Event event,
String pidFilter,
Integer start,
Integer count) |
Log |
MNCore.getLogRecords(Session session,
Date fromDate,
Date toDate,
Event event,
String pidFilter,
Integer start,
Integer count)
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.
|
ObjectList |
MNRead.listObjects(Date fromDate,
Date toDate,
ObjectFormatIdentifier formatid,
Boolean replicaStatus,
Integer start,
Integer count) |
ObjectList |
MNRead.listObjects(Session session,
Date fromDate,
Date toDate,
ObjectFormatIdentifier formatid,
Boolean replicaStatus,
Integer start,
Integer count)
Deprecated.
|
boolean |
MNRead.synchronizationFailed(Session session,
SynchronizationFailed message)
Deprecated.
|
boolean |
MNRead.synchronizationFailed(SynchronizationFailed message) |
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) |
Log |
MNCore.getLogRecords(Session session,
Date fromDate,
Date toDate,
String event,
String pidFilter,
Integer start,
Integer count) |
InputStream |
MNRead.getReplica(Session session,
Identifier pid) |
SystemMetadata |
MNRead.getSystemMetadata(Session session,
Identifier id) |
ObjectList |
MNRead.listObjects(Session session,
Date fromDate,
Date toDate,
ObjectFormatIdentifier formatid,
Identifier identifier,
Boolean replicaStatus,
Integer start,
Integer count) |
boolean |
MNRead.synchronizationFailed(Session session,
SynchronizationFailed message) |
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.
|
boolean |
MNAuthorization.systemMetadataChanged(Identifier pid,
long serialVersion,
Date dateSystemMetadataLastModified) |
boolean |
MNAuthorization.systemMetadataChanged(Session session,
Identifier pid,
long serialVersion,
Date dateSystemMetadataLastModified)
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.create(Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
MNStorage.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta)
Deprecated.
|
Identifier |
MNStorage.delete(Identifier pid) |
Identifier |
MNStorage.delete(Session session,
Identifier pid)
Deprecated.
|
Identifier |
MNStorage.generateIdentifier(Session session,
String scheme,
String fragment)
Deprecated.
|
Identifier |
MNStorage.generateIdentifier(String scheme,
String fragment) |
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.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
MNStorage.delete(Session session,
Identifier id) |
Identifier |
MNStorage.generateIdentifier(Session session,
String scheme,
String fragment) |
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 |
---|---|
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 |
---|---|
QueryEngineDescription |
MNQuery.getQueryEngineDescription(String queryEngine) |
QueryEngineList |
MNQuery.listQueryEngines() |
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) |
QueryEngineList |
MNQuery.listQueryEngines(Session session) |
OptionList |
MNView.listViews(Session session) |
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 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.