public interface CNReplication
Modifier and Type | Method and Description |
---|---|
boolean |
deleteReplicationMetadata(Identifier pid,
NodeReference nodeId,
long serialVersion) |
boolean |
deleteReplicationMetadata(Session session,
Identifier pid,
NodeReference nodeId,
long serialVersion)
Deprecated.
|
boolean |
isNodeAuthorized(Session originatingNodeSession,
Subject targetNodeSubject,
Identifier pid)
Deprecated.
|
boolean |
isNodeAuthorized(Subject targetNodeSubject,
Identifier pid) |
boolean |
setReplicationPolicy(Identifier pid,
ReplicationPolicy policy,
long serialVersion) |
boolean |
setReplicationPolicy(Session session,
Identifier pid,
ReplicationPolicy policy,
long serialVersion)
Deprecated.
|
boolean |
setReplicationStatus(Identifier pid,
NodeReference nodeRef,
ReplicationStatus status,
BaseException failure) |
boolean |
setReplicationStatus(Session session,
Identifier pid,
NodeReference nodeRef,
ReplicationStatus status,
BaseException failure)
Deprecated.
|
boolean |
updateReplicationMetadata(Identifier pid,
Replica replicaMetadata,
long serialVersion) |
boolean |
updateReplicationMetadata(Session targetNodeSession,
Identifier pid,
Replica replicaMetadata,
long serialVersion)
Deprecated.
|
boolean setReplicationStatus(Identifier pid, NodeReference nodeRef, ReplicationStatus status, BaseException failure) throws ServiceFailure, NotImplemented, InvalidToken, NotAuthorized, InvalidRequest, NotFound
ServiceFailure
NotImplemented
InvalidToken
NotAuthorized
InvalidRequest
NotFound
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNReplication.setReplicationStatus
boolean setReplicationPolicy(Identifier pid, ReplicationPolicy policy, long serialVersion) throws NotImplemented, NotFound, NotAuthorized, ServiceFailure, InvalidRequest, InvalidToken, VersionMismatch
NotImplemented
NotFound
NotAuthorized
ServiceFailure
InvalidRequest
InvalidToken
VersionMismatch
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNReplication.setReplicationPolicy
boolean isNodeAuthorized(Subject targetNodeSubject, Identifier pid) throws NotImplemented, NotAuthorized, InvalidToken, ServiceFailure, NotFound, InvalidRequest
NotImplemented
NotAuthorized
InvalidToken
ServiceFailure
NotFound
InvalidRequest
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNReplication.isNodeAuthorized
boolean updateReplicationMetadata(Identifier pid, Replica replicaMetadata, long serialVersion) throws NotImplemented, NotAuthorized, ServiceFailure, NotFound, InvalidRequest, InvalidToken, VersionMismatch
NotImplemented
NotAuthorized
ServiceFailure
NotFound
InvalidRequest
InvalidToken
VersionMismatch
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNReplication.updateReplicationMetadata
boolean deleteReplicationMetadata(Identifier pid, NodeReference nodeId, long serialVersion) throws InvalidToken, InvalidRequest, ServiceFailure, NotAuthorized, NotFound, NotImplemented, VersionMismatch
InvalidToken
InvalidRequest
ServiceFailure
NotAuthorized
NotFound
NotImplemented
VersionMismatch
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNReplication.deleteReplicationMetadata
@Deprecated boolean setReplicationStatus(Session session, Identifier pid, NodeReference nodeRef, ReplicationStatus status, BaseException failure) throws ServiceFailure, NotImplemented, InvalidToken, NotAuthorized, InvalidRequest, NotFound
ServiceFailure
NotImplemented
InvalidToken
NotAuthorized
InvalidRequest
NotFound
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNReplication.setReplicationStatus
@Deprecated boolean setReplicationPolicy(Session session, Identifier pid, ReplicationPolicy policy, long serialVersion) throws NotImplemented, NotFound, NotAuthorized, ServiceFailure, InvalidRequest, InvalidToken, VersionMismatch
NotImplemented
NotFound
NotAuthorized
ServiceFailure
InvalidRequest
InvalidToken
VersionMismatch
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNReplication.setReplicationPolicy
@Deprecated boolean isNodeAuthorized(Session originatingNodeSession, Subject targetNodeSubject, Identifier pid) throws NotImplemented, NotAuthorized, InvalidToken, ServiceFailure, NotFound, InvalidRequest
NotImplemented
NotAuthorized
InvalidToken
ServiceFailure
NotFound
InvalidRequest
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNReplication.isNodeAuthorized
@Deprecated boolean updateReplicationMetadata(Session targetNodeSession, Identifier pid, Replica replicaMetadata, long serialVersion) throws NotImplemented, NotAuthorized, ServiceFailure, NotFound, InvalidRequest, InvalidToken, VersionMismatch
NotImplemented
NotAuthorized
ServiceFailure
NotFound
InvalidRequest
InvalidToken
VersionMismatch
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNReplication.updateReplicationMetadata
@Deprecated boolean deleteReplicationMetadata(Session session, Identifier pid, NodeReference nodeId, long serialVersion) throws InvalidToken, InvalidRequest, ServiceFailure, NotAuthorized, NotFound, NotImplemented, VersionMismatch
InvalidToken
InvalidRequest
ServiceFailure
NotAuthorized
NotFound
NotImplemented
VersionMismatch
https://purl.dataone.org/architecturev2/apis/CN_APIs.html#CNReplication.deleteReplicationMetadata
Copyright © 2020. All Rights Reserved.