public class Audit_1 extends Indexed_1
Modifier and Type | Class and Description |
---|---|
class |
Audit_1.LayerInteraction
LayerInteraction
|
Modifier and Type | Field and Description |
---|---|
protected Map<org.openmdx.base.naming.Path,Boolean> |
auditSegments |
protected static String |
NOT_VISITED_SUFFIX |
protected List<String> |
visitorIds |
BATCH_SIZE, indexableTypes, INDEXED_ATTRIBUTES, MAX_KEYWORD_LENGTH, MIN_KEYWORD_LENGTH
allowsSqlSequenceFallback, booleanMarshaller, booleanType, calendarMarshaller, configuration, databaseProductNames, dataSources, dateTimeType, dateType, DEFAULT_COLUMN_SELECTOR, DEFAULT_OID_SUFFIX, DEFAULT_PRIVATE_ATTRIBUTE_PREFIX, DEFAULT_RID_SUFFIX, DEFAULT_RSX_SUFFIX, durationMarshaller, embeddedFeatures, embeddedFlags, enableAspectFilterSubstitution, featureNames, fetchSize, ignoreCheckForDuplicates, JDBC_DRIVER_SQL_PROPERTIES, jdbcDriverSqlProperties, JDO_CASE_INSENSITIVE_FLAG, maxReferenceComponents, namespaceId, nullAsCharacter, OBJECT_ID, OBJECT_IDX, OBJECT_OID, OBJECT_RID, pathMacros, privateColumnNames, publicColumnNames, referenceLookupStatementHint, RESERVED_WORDS_HSQLDB, RESERVED_WORDS_ORACLE, resultSetType, ROUND_UP_TO_MAX_SCALE, singleValueAttributes, SIZE_SUFFIX, sqlWildcards, stringMacros, SYSTEM_ATTRIBUTES, T_REF, temporaryFiles, timeType, UNDEF_OBJECT_CLASS, VIEW_MODE_ADD_MIXIN_COLUMNS_TO_PRIMARY, VIEW_MODE_SECONDARY_COLUMNS
Constructor and Description |
---|
Audit_1() |
Modifier and Type | Method and Description |
---|---|
void |
activate(short id,
org.openmdx.application.configuration.Configuration configuration,
org.openmdx.application.dataprovider.spi.Layer_1 delegation) |
String |
getBeforeImageAsString(javax.resource.cci.MappedRecord beforeImage)
Get before image.
|
protected Set<String> |
getChangedAttributes(javax.resource.cci.MappedRecord o1,
javax.resource.cci.MappedRecord o2)
Return the set of attributes which's values changed in o2 relative to o1.
|
javax.resource.cci.Interaction |
getInteraction(javax.resource.cci.Connection connection) |
protected String |
getQualifiedPrincipalName(org.openmdx.base.naming.Path accessPath,
String principalName)
Get qualified principal name.
|
protected boolean |
isAuditee(javax.resource.cci.MappedRecord object)
Test whether object is instance of Auditee.
|
protected boolean |
isInstanceOfBasicObject(javax.resource.cci.MappedRecord object)
Test whether object is instance of BasicObject.
|
protected void |
setSecurityAttributes(javax.resource.cci.MappedRecord auditEntry)
Set security attributes for given object.
|
protected void |
setSystemAttributes(org.openmdx.application.dataprovider.cci.ServiceHeader header,
javax.resource.cci.MappedRecord object,
short operation)
Set system attributes for given object.
|
createResult, getKeywords, isAccountAddress
getMediaDir, toContentDir
allowScrollInsensitiveResultSet, allowScrollSensitiveResultSet, isAspectBaseClass, mapInstanceOfFilterProperty
addComplexFilter, applyProvider, close, close, close, completeObject, completeReply, create, createDbObject, createDbObject, escape, executeQuery, executeUpdate, externalizePathValue, externalizeStringValue, filterToSqlClause, filterToSqlClauses, get, getAutonumValue, getBooleanType, getColumnName, getConnection, getDatabaseProductName, getDataSource, getDateTimeType, getDateType, getDbObject, getDbObject, getDriverProperty, getDriverProperty, getEmbeddedFeature, getEscapeClause, getFeatureName, getFilterPropertyDefs, getObjects, getOrderAmendment, getPartialObject, getPrimaryFilterProperties, getPrivateAttributesPrefix, getReference, getReferenceIdFormat, getReferenceType, getSelectReferenceIdsClause, getTimeType, getVersion, getView, howToSetBinaryLargeObject, howToSetCharacterLargeObject, internalizePathValue, internalizeStringValue, isBaseClass, isInToSqlClause, isLikeToSqlClause, isLikeToSqlClause, isNotExcludedFromPersistency, isPersistent, isSetSizeColumns, isStated, normalizeDateTimeValues, prepareStatement, removeAttributes, removePrivateAttributes, removeViewPrefix, setLockAssertion, setLockAssertion, setPreparedStatementValue, setValue, setValue, tallyLargeObject, tallyLargeObject, toMultiValueView, toOid, toReadLock, toRid, toRsx, toWriteLock, unescape, useNormalizedReferences, useReferenceTables
getAllSubtypes, getChunkSize, getStreamBufferDirectory, isSequenceSupported
getConfigurationValue, getConfigurationValue
protected static final String NOT_VISITED_SUFFIX
public javax.resource.cci.Interaction getInteraction(javax.resource.cci.Connection connection) throws javax.resource.ResourceException
getInteraction
in interface org.openmdx.base.resource.spi.Port
getInteraction
in class Indexed_1
javax.resource.ResourceException
public void activate(short id, org.openmdx.application.configuration.Configuration configuration, org.openmdx.application.dataprovider.spi.Layer_1 delegation) throws org.openmdx.base.exception.ServiceException
protected boolean isAuditee(javax.resource.cci.MappedRecord object) throws org.openmdx.base.exception.ServiceException
object
- org.openmdx.base.exception.ServiceException
protected boolean isInstanceOfBasicObject(javax.resource.cci.MappedRecord object)
object
- protected String getQualifiedPrincipalName(org.openmdx.base.naming.Path accessPath, String principalName)
accessPath
- principalName
- protected void setSecurityAttributes(javax.resource.cci.MappedRecord auditEntry) throws org.openmdx.base.exception.ServiceException
auditEntry
- org.openmdx.base.exception.ServiceException
protected void setSystemAttributes(org.openmdx.application.dataprovider.cci.ServiceHeader header, javax.resource.cci.MappedRecord object, short operation) throws org.openmdx.base.exception.ServiceException
header
- object
- operation
- org.openmdx.base.exception.ServiceException
protected Set<String> getChangedAttributes(javax.resource.cci.MappedRecord o1, javax.resource.cci.MappedRecord o2) throws org.openmdx.base.exception.ServiceException
o1
- o2
- org.openmdx.base.exception.ServiceException
public String getBeforeImageAsString(javax.resource.cci.MappedRecord beforeImage) throws org.openmdx.base.exception.ServiceException
beforeImage
- org.openmdx.base.exception.ServiceException
This software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.