Audit Access (NFS 64273)

The JadeAuditAccess class now enables you to identify oids added to and removed from a collection block update record.

As with Binary Large Objects (blobs) and String Large Objects (slobs), collection block information is made available only when access mode is set to Jaa_AccessMode_Long (by calling the setAccessMode method).

Collection block information can be retrieved for collections of Set, ObjectArray, and MemberKeyDictionary classes and their subclasses.

The new Jaa_Object_CollectionBlock (5) class constant now enables the getNextRecord and getNextRecordUTC methods to return the collection block object type. When the object type is a collection block, the oid parameter of these methods contains the oid of the collection.

You can now also call the following new JadeAuditAccess class methods.

When the current oid is a MemberKeyDictionary or subclass (that is, jaa.descriptionClassIsSubclass(recordClassNumber, MemberKeyDictionary.number) is true), you can call the new getCollectionBlockKeys method, which populates the passed array with dynamic objects describing the additions, removals, and changes in this edition of the MemberKeyDictionary collection block. The attributes on each dynamic object are the entry oid as a String value, the byte length of the keys as an Integer value, and the before and after keys as Binary values.

Entries added to the collection block will have empty before keys, entries removed from the collection block will have empty after keys, and entries with changed keys have before and after keys.

For details, see the JadeAuditAccess class in the Encyclopaedia of Classes (Volume 1), and the explanations and examples in the Audit Access White Paper.