public class MNodeService
extends java.lang.Object
implements org.dataone.service.mn.tier2.v1.MNAuthorization, org.dataone.service.mn.tier1.v1.MNCore, org.dataone.service.mn.tier1.v1.MNRead, org.dataone.service.mn.tier4.v1.MNReplication, org.dataone.service.mn.tier3.v1.MNStorage, org.dataone.service.mn.v1.MNQuery
Modifier and Type | Method and Description |
---|---|
org.dataone.service.types.v1.Identifier |
archive(org.dataone.service.types.v1.Identifier pid) |
org.dataone.service.types.v1.Identifier |
archive(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier pid)
Deprecated.
|
org.dataone.service.types.v1.Identifier |
create(org.dataone.service.types.v1.Identifier pid,
java.io.InputStream object,
org.dataone.service.types.v1.SystemMetadata sysmeta) |
org.dataone.service.types.v1.Identifier |
create(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier pid,
java.io.InputStream object,
org.dataone.service.types.v1.SystemMetadata sysmeta)
Deprecated.
|
org.dataone.service.types.v1.Identifier |
delete(org.dataone.service.types.v1.Identifier pid) |
org.dataone.service.types.v1.Identifier |
delete(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier pid)
Deprecated.
|
org.dataone.service.types.v1.DescribeResponse |
describe(org.dataone.service.types.v1.Identifier pid) |
org.dataone.service.types.v1.DescribeResponse |
describe(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier pid)
Deprecated.
|
org.dataone.service.types.v1.Identifier |
generateIdentifier(org.dataone.service.types.v1.Session session,
java.lang.String scheme,
java.lang.String fragment)
Deprecated.
|
org.dataone.service.types.v1.Identifier |
generateIdentifier(java.lang.String scheme,
java.lang.String fragment) |
java.io.InputStream |
get(org.dataone.service.types.v1.Identifier pid) |
java.io.InputStream |
get(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier pid)
Deprecated.
|
org.dataone.service.types.v1.Node |
getCapabilities() |
org.dataone.service.types.v1.Checksum |
getChecksum(org.dataone.service.types.v1.Identifier pid,
java.lang.String algorithm) |
org.dataone.service.types.v1.Checksum |
getChecksum(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier pid,
java.lang.String algorithm)
Deprecated.
|
static MNodeService |
getInstance(javax.servlet.http.HttpServletRequest request)
Singleton accessor to get an instance of MNodeService.
|
org.dataone.service.types.v1.Log |
getLogRecords(java.util.Date fromDate,
java.util.Date toDate,
org.dataone.service.types.v1.Event event,
java.lang.String pidFilter,
java.lang.Integer start,
java.lang.Integer count) |
org.dataone.service.types.v1.Log |
getLogRecords(org.dataone.service.types.v1.Session session,
java.util.Date fromDate,
java.util.Date toDate,
org.dataone.service.types.v1.Event event,
java.lang.String pidFilter,
java.lang.Integer start,
java.lang.Integer count)
Deprecated.
|
java.io.InputStream |
getPackage(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.ObjectFormatIdentifier formatId,
org.dataone.service.types.v1.Identifier pid) |
org.dataone.service.types.v1_1.QueryEngineDescription |
getQueryEngineDescription(java.lang.String engine) |
java.io.InputStream |
getReplica(org.dataone.service.types.v1.Identifier pid) |
java.io.InputStream |
getReplica(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier pid)
Deprecated.
|
org.dataone.service.types.v1.SystemMetadata |
getSystemMetadata(org.dataone.service.types.v1.Identifier pid) |
org.dataone.service.types.v1.SystemMetadata |
getSystemMetadata(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier pid)
Deprecated.
|
boolean |
isAuthorized(org.dataone.service.types.v1.Identifier pid,
org.dataone.service.types.v1.Permission permission) |
boolean |
isAuthorized(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier pid,
org.dataone.service.types.v1.Permission permission)
Deprecated.
|
org.dataone.service.types.v1.ObjectList |
listObjects(java.util.Date startTime,
java.util.Date endTime,
org.dataone.service.types.v1.ObjectFormatIdentifier objectFormatId,
java.lang.Boolean replicaStatus,
java.lang.Integer start,
java.lang.Integer count) |
org.dataone.service.types.v1.ObjectList |
listObjects(org.dataone.service.types.v1.Session session,
java.util.Date startTime,
java.util.Date endTime,
org.dataone.service.types.v1.ObjectFormatIdentifier objectFormatId,
java.lang.Boolean replicaStatus,
java.lang.Integer start,
java.lang.Integer count)
Deprecated.
|
org.dataone.service.types.v1_1.QueryEngineList |
listQueryEngines() |
java.util.Date |
ping() |
org.dataone.service.types.v1.Identifier |
publish(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier originalIdentifier) |
java.io.InputStream |
query(java.lang.String engine,
java.lang.String query) |
boolean |
replicate(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.SystemMetadata sysmeta,
org.dataone.service.types.v1.NodeReference sourceNode)
Deprecated.
|
boolean |
replicate(org.dataone.service.types.v1.SystemMetadata sysmeta,
org.dataone.service.types.v1.NodeReference sourceNode) |
void |
setSession(org.dataone.service.types.v1.Session session) |
boolean |
synchronizationFailed(org.dataone.service.types.v1.Session session,
org.dataone.service.exceptions.SynchronizationFailed syncFailed)
Deprecated.
|
boolean |
synchronizationFailed(org.dataone.service.exceptions.SynchronizationFailed syncFailed) |
boolean |
systemMetadataChanged(org.dataone.service.types.v1.Identifier pid,
long serialVersion,
java.util.Date dateSysMetaLastModified) |
boolean |
systemMetadataChanged(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier pid,
long serialVersion,
java.util.Date dateSysMetaLastModified)
Deprecated.
|
org.dataone.service.types.v1.Identifier |
update(org.dataone.service.types.v1.Identifier pid,
java.io.InputStream object,
org.dataone.service.types.v1.Identifier newPid,
org.dataone.service.types.v1.SystemMetadata sysmeta) |
org.dataone.service.types.v1.Identifier |
update(org.dataone.service.types.v1.Session session,
org.dataone.service.types.v1.Identifier pid,
java.io.InputStream object,
org.dataone.service.types.v1.Identifier newPid,
org.dataone.service.types.v1.SystemMetadata sysmeta)
Deprecated.
|
java.io.InputStream |
view(org.dataone.service.types.v1.Session session,
java.lang.String format,
org.dataone.service.types.v1.Identifier pid) |
public static MNodeService getInstance(javax.servlet.http.HttpServletRequest request)
public void setSession(org.dataone.service.types.v1.Session session)
public org.dataone.service.types.v1_1.QueryEngineDescription getQueryEngineDescription(java.lang.String engine) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.NotFound
getQueryEngineDescription
in interface org.dataone.service.mn.v1.MNQuery
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.NotFound
public org.dataone.service.types.v1_1.QueryEngineList listQueryEngines() throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented
listQueryEngines
in interface org.dataone.service.mn.v1.MNQuery
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
public java.io.InputStream query(java.lang.String engine, java.lang.String query) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.NotFound
query
in interface org.dataone.service.mn.v1.MNQuery
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.NotFound
public org.dataone.service.types.v1.Identifier archive(org.dataone.service.types.v1.Identifier pid) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented
archive
in interface org.dataone.service.mn.tier3.v1.MNStorage
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
@Deprecated public org.dataone.service.types.v1.Identifier archive(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier pid) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented
archive
in interface org.dataone.service.mn.tier3.v1.MNStorage
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
public org.dataone.service.types.v1.Identifier create(org.dataone.service.types.v1.Identifier pid, java.io.InputStream object, org.dataone.service.types.v1.SystemMetadata sysmeta) throws org.dataone.service.exceptions.IdentifierNotUnique, org.dataone.service.exceptions.InsufficientResources, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.InvalidSystemMetadata, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.UnsupportedType
create
in interface org.dataone.service.mn.tier3.v1.MNStorage
org.dataone.service.exceptions.IdentifierNotUnique
org.dataone.service.exceptions.InsufficientResources
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.InvalidSystemMetadata
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.UnsupportedType
@Deprecated public org.dataone.service.types.v1.Identifier create(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier pid, java.io.InputStream object, org.dataone.service.types.v1.SystemMetadata sysmeta) throws org.dataone.service.exceptions.IdentifierNotUnique, org.dataone.service.exceptions.InsufficientResources, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.InvalidSystemMetadata, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.UnsupportedType
create
in interface org.dataone.service.mn.tier3.v1.MNStorage
org.dataone.service.exceptions.IdentifierNotUnique
org.dataone.service.exceptions.InsufficientResources
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.InvalidSystemMetadata
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.UnsupportedType
public org.dataone.service.types.v1.Identifier delete(org.dataone.service.types.v1.Identifier pid) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented
delete
in interface org.dataone.service.mn.tier3.v1.MNStorage
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
@Deprecated public org.dataone.service.types.v1.Identifier delete(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier pid) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotImplemented
delete
in interface org.dataone.service.mn.tier3.v1.MNStorage
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotImplemented
public org.dataone.service.types.v1.Identifier generateIdentifier(java.lang.String scheme, java.lang.String fragment) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidRequest
generateIdentifier
in interface org.dataone.service.mn.tier3.v1.MNStorage
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
@Deprecated public org.dataone.service.types.v1.Identifier generateIdentifier(org.dataone.service.types.v1.Session session, java.lang.String scheme, java.lang.String fragment) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidRequest
generateIdentifier
in interface org.dataone.service.mn.tier3.v1.MNStorage
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
public org.dataone.service.types.v1.Identifier update(org.dataone.service.types.v1.Identifier pid, java.io.InputStream object, org.dataone.service.types.v1.Identifier newPid, org.dataone.service.types.v1.SystemMetadata sysmeta) throws org.dataone.service.exceptions.IdentifierNotUnique, org.dataone.service.exceptions.InsufficientResources, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.InvalidSystemMetadata, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.UnsupportedType, org.dataone.service.exceptions.NotFound
update
in interface org.dataone.service.mn.tier3.v1.MNStorage
org.dataone.service.exceptions.IdentifierNotUnique
org.dataone.service.exceptions.InsufficientResources
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.InvalidSystemMetadata
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.UnsupportedType
org.dataone.service.exceptions.NotFound
@Deprecated public org.dataone.service.types.v1.Identifier update(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier pid, java.io.InputStream object, org.dataone.service.types.v1.Identifier newPid, org.dataone.service.types.v1.SystemMetadata sysmeta) throws org.dataone.service.exceptions.IdentifierNotUnique, org.dataone.service.exceptions.InsufficientResources, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.InvalidSystemMetadata, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.UnsupportedType, org.dataone.service.exceptions.NotFound
update
in interface org.dataone.service.mn.tier3.v1.MNStorage
org.dataone.service.exceptions.IdentifierNotUnique
org.dataone.service.exceptions.InsufficientResources
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.InvalidSystemMetadata
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.UnsupportedType
org.dataone.service.exceptions.NotFound
public boolean replicate(org.dataone.service.types.v1.SystemMetadata sysmeta, org.dataone.service.types.v1.NodeReference sourceNode) throws org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.InsufficientResources, org.dataone.service.exceptions.UnsupportedType
replicate
in interface org.dataone.service.mn.tier4.v1.MNReplication
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.InsufficientResources
org.dataone.service.exceptions.UnsupportedType
@Deprecated public boolean replicate(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.SystemMetadata sysmeta, org.dataone.service.types.v1.NodeReference sourceNode) throws org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.InsufficientResources, org.dataone.service.exceptions.UnsupportedType
replicate
in interface org.dataone.service.mn.tier4.v1.MNReplication
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.InsufficientResources
org.dataone.service.exceptions.UnsupportedType
public org.dataone.service.types.v1.DescribeResponse describe(org.dataone.service.types.v1.Identifier pid) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotFound
describe
in interface org.dataone.service.mn.tier1.v1.MNRead
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotFound
@Deprecated public org.dataone.service.types.v1.DescribeResponse describe(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier pid) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotFound
describe
in interface org.dataone.service.mn.tier1.v1.MNRead
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotFound
public java.io.InputStream get(org.dataone.service.types.v1.Identifier pid) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.InsufficientResources
get
in interface org.dataone.service.mn.tier1.v1.MNRead
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.InsufficientResources
@Deprecated public java.io.InputStream get(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier pid) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.InsufficientResources
get
in interface org.dataone.service.mn.tier1.v1.MNRead
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.InsufficientResources
public org.dataone.service.types.v1.Checksum getChecksum(org.dataone.service.types.v1.Identifier pid, java.lang.String algorithm) throws org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotFound
getChecksum
in interface org.dataone.service.mn.tier1.v1.MNRead
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotFound
@Deprecated public org.dataone.service.types.v1.Checksum getChecksum(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier pid, java.lang.String algorithm) throws org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotFound
getChecksum
in interface org.dataone.service.mn.tier1.v1.MNRead
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotFound
public java.io.InputStream getReplica(org.dataone.service.types.v1.Identifier pid) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.InsufficientResources
getReplica
in interface org.dataone.service.mn.tier1.v1.MNRead
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.InsufficientResources
@Deprecated public java.io.InputStream getReplica(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier pid) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.InsufficientResources
getReplica
in interface org.dataone.service.mn.tier1.v1.MNRead
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.InsufficientResources
public org.dataone.service.types.v1.SystemMetadata getSystemMetadata(org.dataone.service.types.v1.Identifier pid) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotFound
getSystemMetadata
in interface org.dataone.service.mn.tier1.v1.MNRead
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotFound
@Deprecated public org.dataone.service.types.v1.SystemMetadata getSystemMetadata(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier pid) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotFound
getSystemMetadata
in interface org.dataone.service.mn.tier1.v1.MNRead
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotFound
public org.dataone.service.types.v1.ObjectList listObjects(java.util.Date startTime, java.util.Date endTime, org.dataone.service.types.v1.ObjectFormatIdentifier objectFormatId, java.lang.Boolean replicaStatus, java.lang.Integer start, java.lang.Integer count) throws org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure
listObjects
in interface org.dataone.service.mn.tier1.v1.MNRead
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
@Deprecated public org.dataone.service.types.v1.ObjectList listObjects(org.dataone.service.types.v1.Session session, java.util.Date startTime, java.util.Date endTime, org.dataone.service.types.v1.ObjectFormatIdentifier objectFormatId, java.lang.Boolean replicaStatus, java.lang.Integer start, java.lang.Integer count) throws org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure
listObjects
in interface org.dataone.service.mn.tier1.v1.MNRead
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
public boolean synchronizationFailed(org.dataone.service.exceptions.SynchronizationFailed syncFailed) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure
synchronizationFailed
in interface org.dataone.service.mn.tier1.v1.MNRead
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
@Deprecated public boolean synchronizationFailed(org.dataone.service.types.v1.Session session, org.dataone.service.exceptions.SynchronizationFailed syncFailed) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure
synchronizationFailed
in interface org.dataone.service.mn.tier1.v1.MNRead
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
public org.dataone.service.types.v1.Node getCapabilities() throws org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure
getCapabilities
in interface org.dataone.service.mn.tier1.v1.MNCore
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
public org.dataone.service.types.v1.Log getLogRecords(java.util.Date fromDate, java.util.Date toDate, org.dataone.service.types.v1.Event event, java.lang.String pidFilter, java.lang.Integer start, java.lang.Integer count) throws org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure
getLogRecords
in interface org.dataone.service.mn.tier1.v1.MNCore
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
@Deprecated public org.dataone.service.types.v1.Log getLogRecords(org.dataone.service.types.v1.Session session, java.util.Date fromDate, java.util.Date toDate, org.dataone.service.types.v1.Event event, java.lang.String pidFilter, java.lang.Integer start, java.lang.Integer count) throws org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure
getLogRecords
in interface org.dataone.service.mn.tier1.v1.MNCore
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
public java.util.Date ping() throws org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InsufficientResources
ping
in interface org.dataone.service.mn.tier1.v1.MNCore
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InsufficientResources
public boolean isAuthorized(org.dataone.service.types.v1.Identifier pid, org.dataone.service.types.v1.Permission permission) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented
isAuthorized
in interface org.dataone.service.mn.tier2.v1.MNAuthorization
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
@Deprecated public boolean isAuthorized(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier pid, org.dataone.service.types.v1.Permission permission) throws org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented
isAuthorized
in interface org.dataone.service.mn.tier2.v1.MNAuthorization
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
public boolean systemMetadataChanged(org.dataone.service.types.v1.Identifier pid, long serialVersion, java.util.Date dateSysMetaLastModified) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidRequest
systemMetadataChanged
in interface org.dataone.service.mn.tier2.v1.MNAuthorization
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
@Deprecated public boolean systemMetadataChanged(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier pid, long serialVersion, java.util.Date dateSysMetaLastModified) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidRequest
systemMetadataChanged
in interface org.dataone.service.mn.tier2.v1.MNAuthorization
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
public org.dataone.service.types.v1.Identifier publish(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.Identifier originalIdentifier) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.NotFound, org.dataone.service.exceptions.IdentifierNotUnique, org.dataone.service.exceptions.UnsupportedType, org.dataone.service.exceptions.InsufficientResources, org.dataone.service.exceptions.InvalidSystemMetadata, java.io.IOException
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.IdentifierNotUnique
org.dataone.service.exceptions.UnsupportedType
org.dataone.service.exceptions.InsufficientResources
org.dataone.service.exceptions.InvalidSystemMetadata
java.io.IOException
public java.io.InputStream view(org.dataone.service.types.v1.Session session, java.lang.String format, org.dataone.service.types.v1.Identifier pid) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.NotFound
public java.io.InputStream getPackage(org.dataone.service.types.v1.Session session, org.dataone.service.types.v1.ObjectFormatIdentifier formatId, org.dataone.service.types.v1.Identifier pid) throws org.dataone.service.exceptions.InvalidToken, org.dataone.service.exceptions.ServiceFailure, org.dataone.service.exceptions.NotAuthorized, org.dataone.service.exceptions.InvalidRequest, org.dataone.service.exceptions.NotImplemented, org.dataone.service.exceptions.NotFound
org.dataone.service.exceptions.InvalidToken
org.dataone.service.exceptions.ServiceFailure
org.dataone.service.exceptions.NotAuthorized
org.dataone.service.exceptions.InvalidRequest
org.dataone.service.exceptions.NotImplemented
org.dataone.service.exceptions.NotFound
Copyright © 2020 Regents of the University of California. All Rights Reserved.