Multiple AuditDefinition objects for the same event type can be placed on a class to allow multiple audit clients to process the same event under different conditions, as expressed in the FilterExpression property. For example, client A retrieves update event records for flood claims flagged for suspected fraudulence, while client B retrieves update event records for settled flood claims. For more information, see Configuring Multiple Audit Definitions for the Same Event.
To create a IAuditDefinition object, call the createInstance method on the Factory.AuditDefinition class. Once created, set its properties, which define the event to be audited and other parameters.
For each IAuditDefinition object that you create, add it to a IAuditDefinitionList collection, then set the collection on the ISubscribableClassDefinition object.
To retrieve IAuditDefinition objects, get the IAuditDefinitionList collection and iterate it.
Assembly: FileNet.Api (in FileNet.Api.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Interface IAuditDefinition _ Implements IRepositoryObject, IEngineObject, ICloneable, IDependentObject |
C# |
---|
public interface IAuditDefinition : IRepositoryObject, IEngineObject, ICloneable, IDependentObject |
Visual C++ |
---|
public interface class IAuditDefinition : IRepositoryObject, IEngineObject, ICloneable, IDependentObject |
JavaScript |
---|
FileNet.Api.Admin.IAuditDefinition = function(); FileNet.Api.Admin.IAuditDefinition.createInterface('FileNet.Api.Admin.IAuditDefinition'); |
Remarks
Metadata
Auditable: false
AllowsInstances: true
AllowsSubClasses: false
ClassDefinitionName: None
IsDependent: true
IsHidden: false
Searchable: false
StorageType: ObjectStore
SuperclassName: GenericObject