Loading...
 

CX_OBJECT_MANAGER::SetLoggedClasses

CX_OBJECT_MANAGER::SetLoggedClasses

199065
Description:

This method sets the class whitelist for the change logger. For a class to be logged by the change logger, it must be derived from a class on the whitelist and not from a class on the blacklist. To ensure that all classes are logged by default, the change logger defines a default whitelist that contains only CX_CLASS and COLL. Since all classes are derived from CX_CLASS, all object changes are logged and COLL ensures that changes to collections are also logged (Remove, ClearCollection, ...).

A DrainWindow/Link on an object that is not in the whitelist is not logged by the change logger. The whitelist can be further restricted by defining a blacklist. Whitelist & Blacklist are only applied to the start object/main object of the DrainWindow/Link operation.

Code example:
[ CX_CUSTOMER CX_SUPPLIER ] GetManager(OBJECT) Call(SetLoggedClasses) // Log objects derived form CX_SUPPLIER or CX_CUSTOMER [ ] GetManager(OBJECT) Call(SetLoggedClasses) // Log nothing [ CX_CLASS COLL ] GetManager(OBJECT) Call(SetLoggedClasses) // Log all classes (and collections)
Stack
Stack Position Object type Brief description
Stack(In) Top CX_OBJECT_MANAGER
Top 1 ]
top 2 INTEGER 1. class ID
... ... ...
Top (n-1) INTEGER n. Class ID
Top-n [
Stack(Out) Top
Function call: Call(SetLoggedClasses)