Modifier and Type | Method and Description |
---|---|
Identifier |
MultipartD1Node.generateIdentifier(Session session,
String scheme,
String fragment) |
Identifier |
MultipartD1Node.generateIdentifier(String scheme,
String fragment) |
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
|
boolean |
MultipartD1Node.isAuthorized(Identifier pid,
Permission action) |
boolean |
MultipartD1Node.isAuthorized(Session session,
Identifier pid,
Permission action) |
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.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) |
boolean |
MultipartCNode.deleteReplicationMetadata(Identifier pid,
NodeReference nodeId,
long serialVersion) |
boolean |
MultipartCNode.deleteReplicationMetadata(Session session,
Identifier pid,
NodeReference nodeId,
long serialVersion) |
Identifier |
MultipartMNode.generateIdentifier(Session session,
String scheme,
String fragment) |
Identifier |
MultipartMNode.generateIdentifier(String scheme,
String fragment) |
Checksum |
MultipartMNode.getChecksum(Identifier pid,
String checksumAlgorithm) |
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) |
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) |
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 |
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) |
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.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.
|
protected static void |
D1Object.checkLength(List<String> strings)
Check that the all strings in the array have > 0 length.
|
static void |
D1Object.checkNotNull(List<Object> objects)
Check if any in a list of objects are null references.
|
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.
|
void |
D1Object.setData(byte[] data)
Deprecated.
|
void |
D1Object.setPublicAccess(Session token)
Change the object to publicly readable
|
void |
D1Object.setSystemMetadata(SystemMetadata sysmeta) |
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.
|
protected static void |
D1Object.validateRequest(Identifier id,
byte[] data,
ObjectFormatIdentifier formatId,
Subject rightsHolder,
NodeReference nodeId)
Check the given set of input arguments that they are all valid and not null,
and that string values are not null and of non-zero length.
|
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 |
---|---|
ObjectFormatIdentifier |
MultipartCNode.addFormat(Session session,
ObjectFormatIdentifier formatid,
ObjectFormat format) |
Identifier |
MultipartCNode.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
MultipartMNode.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
boolean |
MultipartCNode.deleteReplicationMetadata(Session session,
Identifier pid,
NodeReference nodeId,
long serialVersion) |
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) |
Checksum |
MultipartMNode.getChecksum(Identifier pid,
String checksumAlgorithm) |
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) |
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 |
MultipartMNode.replicate(Session session,
SystemMetadata sysmeta,
NodeReference sourceNode) |
boolean |
MultipartCNode.requestMapIdentity(Session session,
Subject subject) |
Identifier |
MultipartCNode.reserveIdentifier(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 |
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.
|
protected static void |
D1Object.checkLength(List<String> strings)
Check that the all strings in the array have > 0 length.
|
static void |
D1Object.checkNotNull(List<Object> objects)
Check if any in a list of objects are null references.
|
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.setData(byte[] data)
Deprecated.
|
void |
D1Object.setPublicAccess(Session token)
Change the object to publicly readable
|
void |
D1Object.setSystemMetadata(SystemMetadata sysmeta) |
protected static void |
D1Object.validateRequest(Identifier id,
byte[] data,
ObjectFormatIdentifier formatId,
Subject rightsHolder,
NodeReference nodeId)
Check the given set of input arguments that they are all valid and not null,
and that string values are not null and of non-zero length.
|
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 |
---|---|
Identifier |
CNCore.archive(Session session,
Identifier pid)
Deprecated.
|
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(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.
|
Identifier |
CNCore.generateIdentifier(Session session,
String scheme,
String fragment)
Deprecated.
|
Identifier |
CNCore.generateIdentifier(String scheme,
String fragment) |
ObjectFormat |
CNCore.getFormat(ObjectFormatIdentifier formatid) |
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.
|
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.
|
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.requestMapIdentity(Session session,
Subject subject)
Deprecated.
|
boolean |
CNIdentity.requestMapIdentity(Subject subject) |
Identifier |
CNCore.reserveIdentifier(Identifier pid) |
Identifier |
CNCore.reserveIdentifier(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.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Subject |
CNIdentity.createGroup(Session session,
Group group) |
boolean |
CNReplication.deleteReplicationMetadata(Session session,
Identifier pid,
NodeReference nodeId,
long serialVersion) |
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) |
ObjectFormat |
CNCore.getFormat(ObjectFormatIdentifier formatid) |
Log |
CNCore.getLogRecords(Session session,
Date fromDate,
Date toDate,
String event,
String pidFilter,
Integer start,
Integer count) |
Node |
CNRegister.getNodeCapabilities(NodeReference nodeid) |
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) |
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.requestMapIdentity(Session session,
Subject subject) |
Identifier |
CNCore.reserveIdentifier(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 |
---|---|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
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) |
ObjectList |
MNRead.listObjects(Session session,
Date fromDate,
Date toDate,
ObjectFormatIdentifier formatid,
Identifier identifier,
Boolean replicaStatus,
Integer start,
Integer count) |
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.create(Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
MNStorage.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta)
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.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
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 |
---|---|
InputStream |
MNQuery.query(String queryEngine,
String query) |
Modifier and Type | Method and Description |
---|---|
InputStream |
MNPackage.getPackage(Session session,
ObjectFormatIdentifier packageType,
Identifier id) |
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 boolean |
AuthUtils.isCNAuthorityForSystemMetadataUpdate(NodeList nodelist,
SystemMetadata systemMetadata)
the CN is the authority for systemMetadata updates only for v1 MNs that
implement MNStorage services.
|
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.