The Close operation closes the state of a container object to prevent the addition of child objects. For example, if a RecordFolder object is closed, you cannot add records to this object. At the time of creation, the state of a container object is open. In the open state, you can add child objects to container objects.
//Closes a RecordCategory object public void close(ClosableObject aoObj, String asReasonForClose) { aoObj.close(asReasonForClose); }
Once an object is closed, you cannot add any child object to it. To add child objects to a closed object, you need to reopen the closed object using the reOpen method in the ClosableObject interface. However, the state of the object does not change, that is, the state remains closed. For example, if a closed volume is reopened, the close date for the volume will not change.
For information about simultaneously closing multiple objects, refer to Performing bulk operations.