public class AuditTypeList extends TieSystemObject
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME
The name of the ClassObject representing this class.
|
static String |
CREATEDATE_ATTRIBUTE
The date and time (in GMT) when this object was created.
|
static String |
DESCRIPTION_ATTRIBUTE
The description of this AuditTypeList.
|
static String |
NAME_ATTRIBUTE
The name of this AuditTypeList.
|
ACTIVE_ATTRIBUTE, POLICYBUNDLE_ATTRIBUTE, POLICYLISTS_ATTRIBUTE, PROPERTYBUNDLE_ATTRIBUTE
DOMAIN_UNIQUENAME_DEFAULT_DELIMITER, m_ClassId, m_Id, m_Session
Modifier | Constructor and Description |
---|---|
protected |
AuditTypeList(LibrarySession session,
Long id,
Long classId,
S_LibraryObjectData data)
Constructs an AuditTypeList object.
|
Modifier and Type | Method and Description |
---|---|
static AuditTypeList |
createAuditTypeList(LibrarySession session,
AuditTypeListDefinition def)
Create a new AuditTypeList.
|
static AuditTypeList |
find(LibrarySession session,
String name)
Finds a AuditTypeList instance by name, or null if no AuditTypeList
with the given name could be found.
|
AuditTypeEntryValue[] |
getAuditTypeEntries()
Gets the set of AuditTypeEntries for this list, converted to
an array of AuditTypeEntryValue.
|
Hashtable |
getAuditTypeEntryTable()
Gets a resolved view of this AuditTypeList's set of AuditTypeEntries.
|
Date |
getCreateDate()
Returns the date this object was created.
|
String |
getDescription()
Returns description of this object.
|
AuditTypeEntryValue[] |
getExpandedAuditTypeEntries(String className)
Gets the set of AuditTypeEntries for this list, converted to
an array of AuditTypeEntryValue, and expanded to include placeholder
entries applicable to the specified class.
|
AuditTypeEntryValue[] |
getExpandedAuditTypeEntries(String className,
int successMode,
boolean includeNested)
Gets the set of AuditTypeEntries for this list, converted to
an array of AuditTypeEntryValue, and expanded to include placeholder
entries applicable to the specified class.
|
boolean |
hasNameAttribute()
Returns true if this object is an instance of a class
that has a NAME attribute, and false otherwise.
|
static boolean |
isOperationTypeIncluded(Hashtable ht,
int opType,
boolean opSucceeded)
Returns indication as to whether an operation type should be included
according to this AuditTypeList's set of AuditTypeEntries.
|
boolean |
isOperationTypeIncluded(int opType,
boolean opSucceeded)
Returns indication as to whether an operation type should be included
according to this AuditTypeList's set of AuditTypeEntries.
|
protected void |
preCreate(LibraryObjectDefinition lodef)
Extensibility point to perform actions prior to the
creation of a PublicObject.
|
protected boolean |
trustHandleCreate()
Indicate whether low-level create should be trusted,
and run with access checks disabled.
|
protected boolean |
trustHandleCreateAsAdmin()
Indicate whether low-level create should be trusted,
and run with access checks disabled and in admin mode.
|
protected boolean |
trustHandleUpdate()
Indicate whether low-level update should be trusted,
and run with access checks disabled.
|
protected boolean |
trustHandleUpdateAsAdmin()
Indicate whether low-level update should be trusted in admin mode,
and run with access checks disabled.
|
addCategory, constructSystemObject, constructSystemObjectVector, free, freeCategories, getCategories, getCategories, getCategories, getCategories, getPolicyBundle, getPolicyLists, handleCreate, hasPropertyBundleAttribute, isActive, postCreate, postUpdate, preUpdate, putPolicy, removeAllPolicies, removePolicy, removePolicy, setActive, setPolicyBundle, setPolicyLists
added, 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, 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, trustHandleFree, trustHandleFreeAsAdmin, update, updateAndExposeDefinition, validatePropertyValues, vectorLibraryObjectElement, vectorToLibraryObjectArray, verifyAdministrationMode, verifyConnected, verifyPersistent, verifySystemUserAccess, verifyTargetObject
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributeByUpperCaseName, getClassId, getId, getSessionInterface
getTraceLogger, isTraced, trace
public static final String CLASS_NAME
public static final String NAME_ATTRIBUTE
public static final String DESCRIPTION_ATTRIBUTE
public static final String CREATEDATE_ATTRIBUTE
protected AuditTypeList(LibrarySession session, Long id, Long classId, S_LibraryObjectData data) throws IfsException
session
- current LibrarySessionid
- object idclassId
- class iddata
- data componentIfsException
- if the operation failspublic boolean hasNameAttribute() throws IfsException
LibraryObject
hasNameAttribute
in class LibraryObject
IfsException
- if operation fails.public String getDescription() throws IfsException
IfsException
- if operation failspublic Date getCreateDate() throws IfsException
IfsException
- if the operation failspublic boolean isOperationTypeIncluded(int opType, boolean opSucceeded) throws IfsException
opType
- the operation type of interestopSucceeded
- whether the operation of interest succeededIfsException
- if operation fails.public Hashtable getAuditTypeEntryTable() throws IfsException
The Hashtable returned is keyed by operation type (the Integer), and has a value of an AuditTypeEntryValue.
IfsException
- if operation fails.public static boolean isOperationTypeIncluded(Hashtable ht, int opType, boolean opSucceeded)
The Hashtable is keyed by operation type (the Integer), and has a value of an AuditTypeEntryValue.
ht
- Hashtable of types to check foropType
- the operation type of interestopSucceeded
- whether the operation of interest succeededIfsException
- if operation fails.public AuditTypeEntryValue[] getAuditTypeEntries() throws IfsException
The values returned will be sorted by the String operation type key.
IfsException
- if operation fails.public AuditTypeEntryValue[] getExpandedAuditTypeEntries(String className) throws IfsException
The values returned will be sorted by the String operation type key.
For each type that is applicable to the specified class that is not
already repsented by the target AuditTypeList itself, a value will be
returned with a operation success mode value set to
LibraryConstants.AUDIT_SUCCESS_MODE_NONE
.
className
- the class name for which to include placeholdersIfsException
- if operation fails.public AuditTypeEntryValue[] getExpandedAuditTypeEntries(String className, int successMode, boolean includeNested) throws IfsException
The values returned will be sorted by the String operation type key.
For each type that is applicable to the specified class that is not
already repsented by the target AuditTypeList itself, a value will be
returned with a operation success mode value set to
LibraryConstants.AUDIT_SUCCESS_MODE_NONE
.
className
- the class name for which to include placeholderssuccessMode
- the success mode to use for each AuditTypeEntryValueincludeNested
- whether or not to include operations for classes
that are descendents of the specified classIfsException
- if operation fails.public static AuditTypeList createAuditTypeList(LibrarySession session, AuditTypeListDefinition def) throws IfsException
def
- the definition of the new AuditTypeListIfsException
- 92204: if the operation failsprotected void preCreate(LibraryObjectDefinition lodef) throws IfsException
SystemObject
Set an option that indicates that Categories are NOT to be created from within S_SystemObject.
preCreate
in class SystemObject
lodef
- object definition that will be used to create the objectIfsException
- if operation failsprotected boolean trustHandleCreate()
LibraryObject
trustHandleCreate
in class LibraryObject
protected boolean trustHandleCreateAsAdmin()
LibraryObject
trustHandleCreateAsAdmin
in class LibraryObject
protected boolean trustHandleUpdate()
LibraryObject
trustHandleUpdate
in class LibraryObject
protected boolean trustHandleUpdateAsAdmin()
LibraryObject
trustHandleUpdateAsAdmin
in class LibraryObject
public static AuditTypeList find(LibrarySession session, String name) throws IfsException
Note: the name must be an exact, case-sensitive match.
session
- the current sessionname
- the name of the AuditTypeList instance to returnIfsException
- if the operation failsCopyright © 2023. All rights reserved.