public class AuditHandlerSpecification extends TieSystemObject
AuditSpecification| Modifier and Type | Field and Description | 
|---|---|
static String | 
AGENTIDENTIFIER_ATTRIBUTE
The identifier of the EventHandlerAgent instance responsible for 
 servicing this handler. 
 | 
static String | 
AUDITHANDLERCLASSNAME_ATTRIBUTE
The fully-qualified class name of the custom AuditHandler implementation to
 execute. 
 | 
static String | 
CLASS_NAME
The name of the ClassObject representing this class. 
 | 
static String | 
HANDLERTYPE_ATTRIBUTE
The type of handler class referenced by this AuditHandlerSpecification. 
 | 
static int | 
HANDLERTYPE_CUSTOM
An option for the HANDLERTYPE attribute, indicating some other
 custom handler. 
 | 
static int | 
HANDLERTYPE_INTERNAL
An option for the HANDLERTYPE attribute, indicating an internal
 handler reserved for use by Oracle. 
 | 
static int | 
HANDLERTYPE_NONE
An option for the HANDLERTYPE attribute, indicating no handler
 present (an impossible value). 
 | 
static int | 
HANDLERTYPE_REGULAR
An option for the HANDLERTYPE attribute, indicating a regular
 handler. 
 | 
static String | 
NONCOMPETING_ATTRIBUTE
The name of the attribute which indicates whether the handler is
 non-competing, meaning that it can run simultaneously on multiple nodes. 
 | 
static String | 
RUNTIMECLASSIFICATION_ATTRIBUTE
The name of the attribute which indicates
 the hierarchical identifier describing the type of this handler
 for runtime management purposes. 
 | 
static String | 
SETTINGS_ATTRIBUTE
The name of the Attribute representing
 the settings used to describe the AuditHandlerSpecification. 
 | 
ACTIVE_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, POLICYLISTS_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTEDOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session, NAME_ATTRIBUTE| Modifier | Constructor and Description | 
|---|---|
protected  | 
AuditHandlerSpecification(LibrarySession session,
                         Long id,
                         Long classId,
                         S_LibraryObjectData data)
Constructs an AuditHandlerSpecification object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
addSetting(String key,
          AttributeValue value)
Adds a setting (SimpleProperty) for this object. 
 | 
String | 
getAgentIdentifier()
Deprecated. 
 
9.3.4.0: this attribute is no longer used 
 | 
String | 
getAuditHandlerClassName()
Returns the fully-qualified class name of the AuditHandler implementation
 to execute. 
 | 
String | 
getBaseTimeOfDayProperty()
Returns the base time of day for when the timer notifications
 should occur. 
 | 
int | 
getHandlerType()
Returns the type of handler class referenced by this 
 AuditHandlerSpecification, which is a value of:
 HANDLERTYPE_REGULAR, HANDLERTYPE_INTERNAL, or HANDLERTYPE_CUSTOM. 
 | 
String | 
getRuntimeClassification()
Returns the hierarchical identifier describing the type of this handler
 for runtime management purposes. 
 | 
SimpleProperty[] | 
getSettings()
Gets the settings used to describe this instance. 
 | 
String | 
getTimeFormatProperty()
Returns the time format to use in computing when the timer notifications
 should occur. 
 | 
String | 
getTimerPeriodProperty()
Returns the timeout period to use for timer expiration
 notifications. 
 | 
boolean | 
isNonCompeting()
Gets the non-competing status. 
 | 
boolean | 
isNotifiedWhenEventsPosted()
Returns true if this handler is interested in being called back
 when registered events are posted. 
 | 
protected void | 
postCreate(LibraryObjectDefinition lodef)
Extensibility point to perform actions after the 
 creation of a SystemObject. 
 | 
protected void | 
preFree(LibraryObjectDefinition lodef)
Extensibility point to perform actions prior to the 
 permanent deletion ("free") of a object. 
 | 
protected void | 
preUpdate(LibraryObjectDefinition lodef)
Extensibility point to perform actions prior to the update of 
 a PublicObject. 
 | 
void | 
removeHandlerProperty(String key)
Removes a property from the PropertyBundle associated with this instance. 
 | 
addCategory, constructSystemObject, constructSystemObjectVector, free, freeCategories, getCategories, getCategories, getCategories, getCategories, getPolicyBundle, getPolicyLists, handleCreate, hasPropertyBundleAttribute, isActive, postUpdate, preCreate, putPolicy, removeAllPolicies, removePolicy, removePolicy, setActive, setPolicyBundle, setPolicyListsadded, addSimpleProperty, addSimpleProperty, applyProperties, auditCreated, auditUpdated, canPurge, checkIfPropertyBundleSupported, checkRequiredAttributeSet, clearCopyContext, clearFreeContext, clearUpdateContext, compareTo, constructIdArray, constructIdArray, constructLibraryObject, constructLibraryObjectVector, createDedicatedPropertyBundle, createInstance, deriveDomainUniqueName, dispose, equals, equals, free, freeAll, get, getAttribute, getAttributeByUpperCaseName, getAttributes, getAttributesByUpperCaseNames, getAuditDomainContext, getAuditEventFolderContext, getClassId, getClassname, getClassName, getClassObject, getCommonName, getCommonNameAndClass, getCopyContext, getCreateContext, getData, getDefinition, getDefinitionForSimplePropertyUpdates, getEffectivePolicyListElements, getEventualAttributeByUpperCaseName, getFreeContext, getId, getLabel, getName, getObjectReferenceAttribute, getOperationActionSpecificationContext, getPropertyBundle, getPropertyValue, getPublicObjectAttribute, getResourceString, getResourceString, getSchemaObjectAttribute, getSession, getSessionInterface, getSharedStateFactory, getSimpleObjectAttribute, getSimpleProperties, getSimpleProperty, getSimplePropertyValue, getStringIdentifier, getSystemObjectAttribute, getTraceLogger, getUpdateContext, handleAdminModeChange, handleEvent, handleFree, handleUpdate, hashCode, hasNameAttribute, invalidateState, invokeOperation, invokeOperation, invokeServerMethod, isConnected, isCoreEventPostingEnabled, isInstanceOf, isPersistent, isTraced, isValidEventType, lockRows, lookupInstanceLabel, performPostCreateExtensions, performPostFreeExtensions, performPostUpdateExtensions, performPreCreateExtensions, performPreFreeExtensions, performPreUpdateExtensions, postEvent, postEvent, postFree, prePostAuditEvent, putProperty, putProperty, removeAllProperties, removeAllSimpleProperties, removeAllSimpleProperties, removed, removeProperty, removeSimpleProperty, removeSimpleProperty, renderAsRandomAccessContent, renderAsReader, renderAsStream, setAttribute, setAttribute, setAttributes, setAttributes, setCopyContext, setFreeContext, setId, setName, setPropertyBundle, setPropertyValue, setUpdateContext, toString, trace, trustHandleCreate, trustHandleCreateAsAdmin, trustHandleFree, trustHandleFreeAsAdmin, trustHandleUpdate, trustHandleUpdateAsAdmin, update, updateAndExposeDefinition, validatePropertyValues, vectorLibraryObjectElement, vectorToLibraryObjectArray, verifyAdministrationMode, verifyConnected, verifyPersistent, verifySystemUserAccess, verifyTargetObjectclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetAttributeByUpperCaseName, getClassId, getId, getSessionInterfacegetTraceLogger, isTraced, tracepublic static final String CLASS_NAME
public static final String HANDLERTYPE_ATTRIBUTE
public static final String AUDITHANDLERCLASSNAME_ATTRIBUTE
public static final String AGENTIDENTIFIER_ATTRIBUTE
A null value indicates that the default agent instance will service this handler.
public static final String NONCOMPETING_ATTRIBUTE
public static final String RUNTIMECLASSIFICATION_ATTRIBUTE
public static final String SETTINGS_ATTRIBUTE
public static final int HANDLERTYPE_NONE
public static final int HANDLERTYPE_REGULAR
public static final int HANDLERTYPE_INTERNAL
public static final int HANDLERTYPE_CUSTOM
protected AuditHandlerSpecification(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session - current LibrarySessionid - object idclassId - class iddata - data componentIfsException - if the operation failspublic int getHandlerType()
                   throws IfsException
IfsException - if the operation fails.public String getAuditHandlerClassName() throws IfsException
IfsException - if the operation fails@Deprecated public String getAgentIdentifier() throws IfsException
This attribute is no longer used.
IfsException - if the operation failspublic String getRuntimeClassification() throws IfsException
IfsException - if the operation failspublic boolean isNonCompeting()
                       throws IfsException
IfsException - if operation failspublic SimpleProperty[] getSettings() throws IfsException
IfsException - if the operation failspublic void removeHandlerProperty(String key) throws IfsException
key - the property's keyIfsException - if the operation failspublic boolean isNotifiedWhenEventsPosted()
                                   throws IfsException
Note: If the registered events are known to be frequent, the underlying handler should process them in batches using the handleTimerExpired() callback, and set this property so that this method returns false.
IfsException - if the operation fails.public String getTimerPeriodProperty() throws IfsException
The value returned is a number with an optional time unit suffix. The supported case-insensitive suffices are:
For example, the string "4H" represents a timeout period of four hours, "3d" represents threee days, and "3500" represents 3500 milliseconds.
A null value indicates that the handler will not be notified on a time basis.
IfsException - if the operation fails.public String getBaseTimeOfDayProperty() throws IfsException
Is a string representation of the base time of day relative to the timezone default for the default Domain, using a 24-hour clock format. For example, this method returns "18:30:00" if the base time of day is meant to be 6:30 p.m.
If null is returned, a default base time of day should be used (typically "00:00:00").
IfsException - if the operation fails.public String getTimeFormatProperty() throws IfsException
Is a string representation used to construct a SimpleDateFormatter. If a specific handler property is notspecified, the value "HH:mm:ss" will be used as a default.
IfsException - if the operation fails.public void addSetting(String key, AttributeValue value) throws IfsException
key - the setting property's keyvalue - the setting property's valueIfsException - if the operation failsprotected void postCreate(LibraryObjectDefinition lodef) throws IfsException
SystemObjectThis assumes that a transaction context has already been established.
postCreate in class SystemObjectlodef - object definition that was used to create the objectIfsException - if operation failsprotected void preUpdate(LibraryObjectDefinition lodef) throws IfsException
SystemObjectSet an option that indicates that Categories are NOT to be created from within S_SystemObject.
preUpdate in class SystemObjectlodef - definition used to define how the target object
                      will be updatedIfsException - if operation failsprotected void preFree(LibraryObjectDefinition lodef) throws IfsException
LibraryObject
 This method is typically overridden by subclasses that
 perform other operations prior to the target object
 being freed in order to all delete or modify objects related
 to the target object.
 Subclasses are expected to invoke super.preFree.
preFree in class LibraryObjectlodef - object definition used to hold options related to the free
             operationIfsException - if operation fails.Copyright © 2025. All rights reserved.