IBM Enterprise Records, Version 5.1.2    

Superseding a record

Once a record has lost its significance, you can supersede it with another record. For example, you might choose to supersede a record containing personal details of employees for December 2000 with a record for April 2004.

Or you might want to supersede a record with another record of the latest version of the same document. Once the association is established between the superseded and superseding records, each record contains a navigable link to the other.

To mark a record as superseded by another record, call the supercede method on the superseding object passing in the record object to be superseded as parameter as shown in the following code example:
//The 1st RecordInfo object in the parameters supersedes the 2nd RecordInfo object
void supersedeRecord(RecordInfo aoSupersedingRecord, RecordInfo aoSupersededRecord)
{
   try
   {
      aoSupersedingRecord.supercede(aoSupersededRecord);
   }
   catch(RMException aoRME)
   {
   }
}


Feedback

Last updated: November 2013
ierdg070.htm

© Copyright IBM Corporation 2013