setObsoletedBy {dataone}R Documentation

Set a pid as being obsoleted by another pid

Description

Updates the SystemMetadata 'obsoletedBy' property for an object, indicating that the object specified by pid has been obsoleted by the identifier in obsoletedByPid. CILogon https://cilogon.org/?skin=DataONE. See CertificateManager for details. In DataONE version 2.0, authentication tokens can also be used.

Usage

setObsoletedBy(x, pid, obsoletedByPid, ...)

## S4 method for signature 'CNode,character'
setObsoletedBy(x, pid, obsoletedByPid, serialVersion)

Arguments

x

The CNode instance on which the object will be created

pid

The identifier of the object to be obsoleted

obsoletedByPid

The identifier of the object that obsoletes the object identified by pid.

...

(Not yet used)

serialVersion

The serial version of the system metadata of the pid being obsoleted.

Value

TRUE if the pid was obsoleted, otherwise FALSE is returned

See Also

CNode class description.


[Package dataone version 2.2.2 Index]