IBM Enterprise Records, Version 5.1.+            

Assigning a disposition schedule

You can associate a disposition schedule with RecordCategory, RecordFolder, or RecordType objects. A record folder can either inherit the disposition schedule associated with the parent record category, or you can associate a different disposition schedule with the record folder. By default, a record is disposed of according to the disposition schedule associated with the record folder under which it is declared. However, if you want to dispose of a record differently, you should create a record type and specify the appropriate disposition schedule. You can then associate this record type with various records. If different disposition schedules are associated with the parent entity and record type, the disposition schedule associated with the record type will apply to records.

To assign a disposition schedule, call the allocateDisposalSchedule method on a DispositionAllocatableObject object, passing in the DispositionSchedule object to assign. The DispositionAllocatableObject interface is implemented by RecordCategory, RecordFolder, and RecordType objects. The following code fragment provides an example of assigning a disposition schedule using the allocateDisposalSchedule method.
//Assigns a disposition schedule
public void allocateDisposalSchedule(DispositionSchedule aoDisposalSchedule)
{ 
   //Obtains an instance of an existing RecordCategory object 
   RecordCategory loRecCategory = 
      (RecordCategory) loRMStore.getObject(RMType.RM_TYPE_RECORDCATEGORY, 
      "B42CC67A-6E4C-472E-A2D4-1EAC4B70B962"); 

   // Assigns a disposition schedule to the RecordCategory object
   loRecCategory.allocateDisposalSchedule( aoDisposalSchedule ); 
}

Retrieving DispositionSchedule objects

You can retrieve a DispositionSchedule object in the following ways:



Feedback

Last updated: August 2011


© Copyright IBM Corporation 2011.
This information center is powered by Eclipse technology. (http://www.eclipse.org)