Modifier and Type | Method and Description |
---|---|
static AuditConfiguration |
AuditConfiguration.getFor(Configuration cfg) |
static AuditConfiguration |
AuditConfiguration.getFor(Configuration cfg,
ClassLoaderService classLoaderService) |
Modifier and Type | Method and Description |
---|---|
AuditConfiguration |
BaseEnversEventListener.getAuditConfiguration() |
AuditConfiguration |
EnversListener.getAuditConfiguration()
Get the Envers AuditConfiguration
|
Constructor and Description |
---|
BaseEnversCollectionEventListener(AuditConfiguration enversConfiguration) |
BaseEnversEventListener(AuditConfiguration enversConfiguration) |
EnversPostCollectionRecreateEventListenerImpl(AuditConfiguration enversConfiguration) |
EnversPostDeleteEventListenerImpl(AuditConfiguration enversConfiguration) |
EnversPostInsertEventListenerImpl(AuditConfiguration enversConfiguration) |
EnversPostUpdateEventListenerImpl(AuditConfiguration enversConfiguration) |
EnversPreCollectionRemoveEventListenerImpl(AuditConfiguration enversConfiguration) |
EnversPreCollectionUpdateEventListenerImpl(AuditConfiguration enversConfiguration) |
Modifier and Type | Method and Description |
---|---|
AuditConfiguration |
EntityInstantiator.getAuditConfiguration() |
Constructor and Description |
---|
EntityInstantiator(AuditConfiguration verCfg,
AuditReaderImplementor versionsReader) |
Modifier and Type | Method and Description |
---|---|
void |
SubclassPropertyMapper.mapToEntityFromMap(AuditConfiguration verCfg,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
void |
MultiPropertyMapper.mapToEntityFromMap(AuditConfiguration verCfg,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
void |
ComponentPropertyMapper.mapToEntityFromMap(AuditConfiguration verCfg,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
void |
MultiDynamicComponentMapper.mapToEntityFromMap(AuditConfiguration verCfg,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
void |
SinglePropertyMapper.mapToEntityFromMap(AuditConfiguration verCfg,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
void |
PropertyMapper.mapToEntityFromMap(AuditConfiguration verCfg,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision)
Maps properties from the given map to the given object.
|
Modifier and Type | Method and Description |
---|---|
static Object |
ToOneEntityLoader.createProxy(AuditReaderImplementor versionsReader,
Class<?> entityClass,
String entityName,
Object entityId,
Number revision,
boolean removed,
AuditConfiguration verCfg)
Creates proxy of referenced *-to-one entity.
|
static Object |
ToOneEntityLoader.createProxyOrLoadImmediate(AuditReaderImplementor versionsReader,
Class<?> entityClass,
String entityName,
Object entityId,
Number revision,
boolean removed,
AuditConfiguration verCfg)
Creates Hibernate proxy or retrieves the complete object of an entity if proxy is not
allowed (e.g.
|
protected AbstractToOneMapper.EntityInfo |
AbstractToOneMapper.getEntityInfo(AuditConfiguration verCfg,
String entityName) |
protected abstract Initializor<T> |
AbstractCollectionMapper.getInitializor(AuditConfiguration verCfg,
AuditReaderImplementor versionsReader,
Object primaryKey,
Number revision,
boolean removed) |
protected Initializor<T> |
MapCollectionMapper.getInitializor(AuditConfiguration verCfg,
AuditReaderImplementor versionsReader,
Object primaryKey,
Number revision,
boolean removed) |
protected Initializor<SortedMap> |
SortedMapCollectionMapper.getInitializor(AuditConfiguration verCfg,
AuditReaderImplementor versionsReader,
Object primaryKey,
Number revision,
boolean removed) |
protected Initializor<SortedSet> |
SortedSetCollectionMapper.getInitializor(AuditConfiguration verCfg,
AuditReaderImplementor versionsReader,
Object primaryKey,
Number revision,
boolean removed) |
protected Initializor<List> |
ListCollectionMapper.getInitializor(AuditConfiguration verCfg,
AuditReaderImplementor versionsReader,
Object primaryKey,
Number revision,
boolean removed) |
protected Initializor<T> |
BasicCollectionMapper.getInitializor(AuditConfiguration verCfg,
AuditReaderImplementor versionsReader,
Object primaryKey,
Number revision,
boolean removed) |
static Object |
ToOneEntityLoader.loadImmediate(AuditReaderImplementor versionsReader,
Class<?> entityClass,
String entityName,
Object entityId,
Number revision,
boolean removed,
AuditConfiguration verCfg)
Immediately loads historical entity or its current state when excluded from audit process.
|
void |
AbstractCollectionMapper.mapToEntityFromMap(AuditConfiguration verCfg,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
void |
AbstractToOneMapper.mapToEntityFromMap(AuditConfiguration verCfg,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
void |
ToOneIdMapper.nullSafeMapToEntityFromMap(AuditConfiguration verCfg,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
void |
AbstractOneToOneMapper.nullSafeMapToEntityFromMap(AuditConfiguration verCfg,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
abstract void |
AbstractToOneMapper.nullSafeMapToEntityFromMap(AuditConfiguration verCfg,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision)
Parameter
obj is never null . |
Constructor and Description |
---|
ToOneDelegateSessionImplementor(AuditReaderImplementor versionsReader,
Class<?> entityClass,
Object entityId,
Number revision,
boolean removed,
AuditConfiguration verCfg) |
Constructor and Description |
---|
AuditReaderImpl(AuditConfiguration verCfg,
Session session,
SessionImplementor sessionImplementor) |
CrossTypeRevisionChangesReaderImpl(AuditReaderImplementor auditReaderImplementor,
AuditConfiguration verCfg) |
Modifier and Type | Field and Description |
---|---|
protected AuditConfiguration |
AbstractAuditWorkUnit.verCfg |
Constructor and Description |
---|
AuditQueryCreator(AuditConfiguration auditCfg,
AuditReaderImplementor auditReaderImplementor) |
Modifier and Type | Method and Description |
---|---|
void |
AggregatedAuditExpression.addToQuery(AuditConfiguration auditCfg,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
AuditDisjunction.addToQuery(AuditConfiguration verCfg,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
AuditCriterion.addToQuery(AuditConfiguration auditCfg,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
AuditConjunction.addToQuery(AuditConfiguration verCfg,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
Triple<String,String,Boolean> |
AuditProperty.getData(AuditConfiguration auditCfg) |
Modifier and Type | Method and Description |
---|---|
void |
NotNullAuditExpression.addToQuery(AuditConfiguration auditCfg,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
NotAuditExpression.addToQuery(AuditConfiguration verCfg,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
BetweenAuditExpression.addToQuery(AuditConfiguration auditCfg,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
SimpleAuditExpression.addToQuery(AuditConfiguration auditCfg,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
NullAuditExpression.addToQuery(AuditConfiguration auditCfg,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
IdentifierEqAuditExpression.addToQuery(AuditConfiguration verCfg,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
LogicalAuditExpression.addToQuery(AuditConfiguration verCfg,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
InAuditExpression.addToQuery(AuditConfiguration auditCfg,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
RelatedAuditExpression.addToQuery(AuditConfiguration auditCfg,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
IlikeAuditExpression.addToQuery(AuditConfiguration auditCfg,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
PropertyAuditExpression.addToQuery(AuditConfiguration auditCfg,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
RevisionTypeAuditExpression.addToQuery(AuditConfiguration verCfg,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
static void |
CriteriaTools.checkPropertyNotARelation(AuditConfiguration verCfg,
String entityName,
String propertyName) |
static String |
CriteriaTools.determinePropertyName(AuditConfiguration auditCfg,
AuditReaderImplementor versionsReader,
String entityName,
PropertyNameGetter propertyNameGetter) |
static String |
CriteriaTools.determinePropertyName(AuditConfiguration auditCfg,
AuditReaderImplementor versionsReader,
String entityName,
String propertyName) |
static RelationDescription |
CriteriaTools.getRelatedEntity(AuditConfiguration verCfg,
String entityName,
String propertyName) |
Modifier and Type | Field and Description |
---|---|
protected AuditConfiguration |
AbstractAuditQuery.verCfg |
Modifier and Type | Method and Description |
---|---|
String |
OriginalIdPropertyName.get(AuditConfiguration auditCfg)
Deprecated.
|
String |
EntityPropertyName.get(AuditConfiguration auditCfg) |
String |
RevisionTypePropertyName.get(AuditConfiguration auditCfg) |
String |
ModifiedFlagPropertyName.get(AuditConfiguration auditCfg) |
String |
RevisionNumberPropertyName.get(AuditConfiguration auditCfg) |
String |
PropertyNameGetter.get(AuditConfiguration auditCfg) |
String |
RevisionPropertyPropertyName.get(AuditConfiguration auditCfg) |
Modifier and Type | Method and Description |
---|---|
Pair<String,Boolean> |
AuditOrder.getData(AuditConfiguration auditCfg) |
Modifier and Type | Method and Description |
---|---|
Pair<String,Boolean> |
PropertyAuditOrder.getData(AuditConfiguration auditCfg) |
Modifier and Type | Method and Description |
---|---|
Triple<String,String,Boolean> |
AuditProjection.getData(AuditConfiguration auditCfg) |
Modifier and Type | Method and Description |
---|---|
Triple<String,String,Boolean> |
PropertyAuditProjection.getData(AuditConfiguration auditCfg) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultAuditStrategy.perform(Session session,
String entityName,
AuditConfiguration auditCfg,
Serializable id,
Object data,
Object revision) |
void |
ValidityAuditStrategy.perform(Session session,
String entityName,
AuditConfiguration auditCfg,
Serializable id,
Object data,
Object revision) |
void |
AuditStrategy.perform(Session session,
String entityName,
AuditConfiguration auditCfg,
Serializable id,
Object data,
Object revision)
Perform the persistence of audited data for regular entities.
|
void |
DefaultAuditStrategy.performCollectionChange(Session session,
String entityName,
String propertyName,
AuditConfiguration auditCfg,
PersistentCollectionChangeData persistentCollectionChangeData,
Object revision) |
void |
ValidityAuditStrategy.performCollectionChange(Session session,
String entityName,
String propertyName,
AuditConfiguration auditCfg,
PersistentCollectionChangeData persistentCollectionChangeData,
Object revision) |
void |
AuditStrategy.performCollectionChange(Session session,
String entityName,
String propertyName,
AuditConfiguration auditCfg,
PersistentCollectionChangeData persistentCollectionChangeData,
Object revision)
Perform the persistence of audited data for collection ("middle") entities.
|
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.