setObsoletedBy function

Set a pid as being obsoleted by another pid

Set a pid as being obsoleted by another pid

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.

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.

Returns

TRUE if the pid was obsoleted, otherwise FALSE is returned

See Also

CNodeclass description.

  • Maintainer: Matthew B. Jones
  • License: Apache License 2.0
  • Last published: 2022-06-10