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.
|
static SystemMetadata |
D1TypeBuilder.cloneSystemMetadata(SystemMetadata sm)
Returns a clone of the given systemMetadata.
|
SystemMetadata |
D1Object.getSystemMetadata() |
SystemMetadata |
DataPackage.getSystemMetadata()
Get the SystemMetadata object associated with the data package.
|
SystemMetadata |
D1Node.getSystemMetadata(Identifier pid)
Get the system metadata from a resource with the specified guid.
|
SystemMetadata |
MNode.getSystemMetadata(Identifier pid) |
SystemMetadata |
CNode.getSystemMetadata(Identifier pid) |
SystemMetadata |
D1Node.getSystemMetadata(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.
|
SystemMetadata |
D1Node.getSystemMetadata(Session session,
Identifier pid)
Get the system metadata from a resource with the specified guid.
|
SystemMetadata |
MNode.getSystemMetadata(Session session,
Identifier pid) |
SystemMetadata |
CNode.getSystemMetadata(Session session,
Identifier pid) |
SystemMetadata |
D1Node.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.
|
Modifier and Type | Method and Description |
---|---|
SystemMetadata |
LocalCache.getSystemMetadata(Identifier key)
Retrieve a SystemMetadata from the cache, throwing NotCached if the system metadata
for the Identifier key is not in the cache.
|
Modifier and Type | Method and Description |
---|---|
void |
LocalCache.putSystemMetadata(Identifier key,
SystemMetadata sysmeta)
Put a mutable SystemMetadata object into the local cache, indexed by the
unique Identifier of the object that this system metadata describes.
|
Modifier and Type | Method and Description |
---|---|
SystemMetadata |
CNRead.getSystemMetadata(Identifier pid) |
SystemMetadata |
CNRead.getSystemMetadata(Session session,
Identifier pid)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Identifier |
CNCore.create(Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
CNCore.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta)
Deprecated.
|
Identifier |
CNCore.registerSystemMetadata(Identifier pid,
SystemMetadata sysmeta) |
Identifier |
CNCore.registerSystemMetadata(Session session,
Identifier pid,
SystemMetadata sysmeta)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
SystemMetadata |
MNRead.getSystemMetadata(Identifier pid) |
SystemMetadata |
MNRead.getSystemMetadata(Session session,
Identifier pid)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Identifier |
MNStorage.create(Identifier pid,
InputStream object,
SystemMetadata sysmeta) |
Identifier |
MNStorage.create(Session session,
Identifier pid,
InputStream object,
SystemMetadata sysmeta)
Deprecated.
|
Identifier |
MNStorage.update(Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta) |
Identifier |
MNStorage.update(Session session,
Identifier pid,
InputStream object,
Identifier newPid,
SystemMetadata sysmeta)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
MNReplication.replicate(Session session,
SystemMetadata sysmeta,
NodeReference sourceNode)
Deprecated.
|
boolean |
MNReplication.replicate(SystemMetadata sysmeta,
NodeReference sourceNode) |
Modifier and Type | Method and Description |
---|---|
static List<String> |
TypeCompareUtil.compareSystemMetadata(SystemMetadata sysmeta1,
SystemMetadata sysmeta2)
Reports the properties of a systemMetadata object, one per line in xpath
fashion.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
AuthUtils.isAuthorized(Collection<Subject> subjectSet,
Permission requestedPerm,
SystemMetadata systemMetadata)
Queries the systemMetadata to see if one of the given subjects
is allowed the specified permission against the given systemMetadata
|
Copyright © 2014. All Rights Reserved.