public class AuditTargetSpecification extends TieSystemObject
AuditSpecification| Modifier and Type | Field and Description | 
|---|---|
static String | 
CLASS_NAME
The name of the ClassObject representing this class. 
 | 
static String | 
INCLUDEDESCENDENTS_ATTRIBUTE
Whether to include descendents of the target object as additional target
 objects of interest. 
 | 
static int | 
INCLUDEDESCENDENTS_DEEP
An option for the INCLUDEDESCENDENTS attribute. 
 | 
static int | 
INCLUDEDESCENDENTS_DIRECT
An option for the INCLUDEDESCENDENTS attribute. 
 | 
static int | 
INCLUDEDESCENDENTS_NONE
An option for the INCLUDEDESCENDENTS attribute. 
 | 
static String | 
TARGETOBJECTID_ATTRIBUTE
The object ID for which the AuditSpecification has registered interest. 
 | 
ACTIVE_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, POLICYLISTS_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTEDOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session, NAME_ATTRIBUTE| Modifier | Constructor and Description | 
|---|---|
protected  | 
AuditTargetSpecification(LibrarySession session,
                        Long id,
                        Long classId,
                        S_LibraryObjectData data)
Constructs an AuditTargetSpecification object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
int | 
getIncludeDescendents()
Returns the include descendents option, which is a value of:
 INCLUDEDESCENDENTS_NONE, INCLUDEDESCENDENTS_DIRECT, or
 INCLUDEDESCENDENTS_DEEP. 
 | 
Long | 
getTargetObjectId()
Returns the ID of the target object. 
 | 
boolean | 
isEventApplicable(AuditEvent event,
                 AuditSpecification spec)
Checks to see if the specified event is applicable to 
 the specified AuditSpecification. 
 | 
boolean | 
isEventApplicable(AuditEvent event,
                 AuditSpecification spec,
                 long targetIdVal,
                 int inclDesc)
Checks to see if the specified event is applicable to 
 the specified AuditSpecification. 
 | 
addCategory, constructSystemObject, constructSystemObjectVector, free, freeCategories, getCategories, getCategories, getCategories, getCategories, getPolicyBundle, getPolicyLists, handleCreate, hasPropertyBundleAttribute, isActive, postCreate, postUpdate, preCreate, preUpdate, 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, preFree, 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 TARGETOBJECTID_ATTRIBUTE
public static final String INCLUDEDESCENDENTS_ATTRIBUTE
public static final int INCLUDEDESCENDENTS_NONE
public static final int INCLUDEDESCENDENTS_DIRECT
public static final int INCLUDEDESCENDENTS_DEEP
protected AuditTargetSpecification(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session - current LibrarySessionid - object idclassId - class iddata - data componentIfsException - if the operation failspublic Long getTargetObjectId() throws IfsException
IfsException - if the operation failspublic int getIncludeDescendents()
                          throws IfsException
IfsException - if the operation fails.public boolean isEventApplicable(AuditEvent event, AuditSpecification spec) throws IfsException
Is only called when descendents option is INCLUDEDESCENDENTS_NONE.
event - the event to checkspec - the AuditSpecification to checkIfsException - if the operation fails.public boolean isEventApplicable(AuditEvent event, AuditSpecification spec, long targetIdVal, int inclDesc) throws IfsException
Is only called when descendents option is INCLUDEDESCENDENTS_NONE.
event - the event to checkspec - the AuditSpecification to checktargetIdVal - the target ID value for this instanceinclDesc - the descendents option for this instanceIfsException - if the operation fails.Copyright © 2025. All rights reserved.