public interface AuditDefinition extends RepositoryObject, EngineObject, DependentObject
SubscribableClassDefinition
object or subobject for auditing.
Create an AuditDefinition
object for each event that you want to audit on the class.
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 paid flood claims.
For more information, see
Configuring Multiple Audit Definitions for the Same Event.
To create an AuditDefinition
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 AuditDefinition
object that you create, add it to an
AuditDefinitionList
collection, then set the collection on the SubscribableClassDefinition
object.
To retrieve AuditDefinition
objects, get the AuditDefinitionList
collection
and iterate it.
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
get_AuditFailure()
Returns the value of the AuditFailure property.
|
java.lang.Boolean |
get_AuditSuccess()
Returns the value of the AuditSuccess property.
|
java.lang.String |
get_DisplayName()
Returns the value of the DisplayName property.
|
EventClassDefinition |
get_EventClass()
Returns the value of the EventClass property.
|
java.lang.String |
get_FilteredPropertyId()
Returns the value of the FilteredPropertyId property.
|
java.lang.String |
get_FilterExpression()
Returns the value of the FilterExpression property.
|
Id |
get_Id()
Returns the value of the Id property.
|
java.lang.Boolean |
get_IncludeSubclassesRequested()
Returns the value of the IncludeSubclassesRequested property.
|
java.lang.Boolean |
get_IsEnabled()
Returns the value of the IsEnabled property.
|
ObjectStateRecordingLevel |
get_ObjectStateRecordingLevel()
Returns the value of the ObjectStateRecordingLevel property.
|
void |
set_AuditFailure(java.lang.Boolean value)
Sets the value of the AuditFailure property.
|
void |
set_AuditSuccess(java.lang.Boolean value)
Sets the value of the AuditSuccess property.
|
void |
set_DisplayName(java.lang.String value)
Sets the value of the DisplayName property.
|
void |
set_EventClass(EventClassDefinition value)
Sets the value of the EventClass property.
|
void |
set_FilteredPropertyId(java.lang.String value)
Sets the value of the FilteredPropertyId property.
|
void |
set_FilterExpression(java.lang.String value)
Sets the value of the FilterExpression property.
|
void |
set_IncludeSubclassesRequested(java.lang.Boolean value)
Sets the value of the IncludeSubclassesRequested property.
|
void |
set_IsEnabled(java.lang.Boolean value)
Sets the value of the IsEnabled property.
|
void |
set_ObjectStateRecordingLevel(ObjectStateRecordingLevel value)
Sets the value of the ObjectStateRecordingLevel property.
|
getObjectStore
get_ClassDescription, getClassName, getConnection, getProperties, getSuperClasses
Id get_Id()
EventClassDefinition get_EventClass()
void set_EventClass(EventClassDefinition value)
java.lang.Boolean get_AuditSuccess()
void set_AuditSuccess(java.lang.Boolean value)
java.lang.Boolean get_AuditFailure()
void set_AuditFailure(java.lang.Boolean value)
java.lang.Boolean get_IncludeSubclassesRequested()
void set_IncludeSubclassesRequested(java.lang.Boolean value)
ObjectStateRecordingLevel get_ObjectStateRecordingLevel()
void set_ObjectStateRecordingLevel(ObjectStateRecordingLevel value)
java.lang.String get_FilterExpression()
void set_FilterExpression(java.lang.String value)
java.lang.String get_FilteredPropertyId()
void set_FilteredPropertyId(java.lang.String value)
java.lang.String get_DisplayName()
void set_DisplayName(java.lang.String value)
java.lang.Boolean get_IsEnabled()
void set_IsEnabled(java.lang.Boolean value)
© Copyright IBM Corporation 2006, 2015. All rights reserved.