Modifier and Type | Class and Description |
---|---|
class |
EnversServiceImpl
Provides central access to Envers' configuration.
|
Modifier and Type | Method and Description |
---|---|
EnversService |
EnversServiceInitiator.initiateService(Map configurationValues,
ServiceRegistryImplementor registry) |
Modifier and Type | Method and Description |
---|---|
Class<EnversService> |
EnversServiceInitiator.getServiceInitiated() |
Modifier and Type | Method and Description |
---|---|
EnversService |
GlobalConfiguration.getEnversService() |
Constructor and Description |
---|
GlobalConfiguration(EnversService enversService,
Map properties) |
Modifier and Type | Method and Description |
---|---|
protected EnversService |
BaseEnversEventListener.getEnversService() |
Constructor and Description |
---|
BaseEnversCollectionEventListener(EnversService enversService) |
BaseEnversEventListener(EnversService enversService) |
EnversPostCollectionRecreateEventListenerImpl(EnversService enversService) |
EnversPostDeleteEventListenerImpl(EnversService enversService) |
EnversPostInsertEventListenerImpl(EnversService enversService) |
EnversPostUpdateEventListenerImpl(EnversService enversService) |
EnversPreCollectionRemoveEventListenerImpl(EnversService enversService) |
EnversPreCollectionUpdateEventListenerImpl(EnversService enversService) |
Modifier and Type | Method and Description |
---|---|
EnversService |
EntityInstantiator.getEnversService() |
Constructor and Description |
---|
EntityInstantiator(EnversService enversService,
AuditReaderImplementor versionsReader) |
Modifier and Type | Method and Description |
---|---|
void |
SubclassPropertyMapper.mapToEntityFromMap(EnversService enversService,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
void |
MultiPropertyMapper.mapToEntityFromMap(EnversService enversService,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
void |
ComponentPropertyMapper.mapToEntityFromMap(EnversService enversService,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
void |
MultiDynamicComponentMapper.mapToEntityFromMap(EnversService enversService,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
void |
SinglePropertyMapper.mapToEntityFromMap(EnversService enversService,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
void |
PropertyMapper.mapToEntityFromMap(EnversService enversService,
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,
EnversService enversService)
Creates proxy of referenced *-to-one entity.
|
static Object |
ToOneEntityLoader.createProxyOrLoadImmediate(AuditReaderImplementor versionsReader,
Class<?> entityClass,
String entityName,
Object entityId,
Number revision,
boolean removed,
EnversService enversService)
Creates Hibernate proxy or retrieves the complete object of an entity if proxy is not
allowed (e.g.
|
protected AbstractToOneMapper.EntityInfo |
AbstractToOneMapper.getEntityInfo(EnversService enversService,
String entityName) |
protected abstract Initializor<T> |
AbstractCollectionMapper.getInitializor(EnversService enversService,
AuditReaderImplementor versionsReader,
Object primaryKey,
Number revision,
boolean removed) |
protected Initializor<T> |
MapCollectionMapper.getInitializor(EnversService enversService,
AuditReaderImplementor versionsReader,
Object primaryKey,
Number revision,
boolean removed) |
protected Initializor<SortedMap> |
SortedMapCollectionMapper.getInitializor(EnversService enversService,
AuditReaderImplementor versionsReader,
Object primaryKey,
Number revision,
boolean removed) |
protected Initializor<SortedSet> |
SortedSetCollectionMapper.getInitializor(EnversService enversService,
AuditReaderImplementor versionsReader,
Object primaryKey,
Number revision,
boolean removed) |
protected Initializor<List> |
ListCollectionMapper.getInitializor(EnversService enversService,
AuditReaderImplementor versionsReader,
Object primaryKey,
Number revision,
boolean removed) |
protected Initializor<T> |
BasicCollectionMapper.getInitializor(EnversService enversService,
AuditReaderImplementor versionsReader,
Object primaryKey,
Number revision,
boolean removed) |
static Object |
ToOneEntityLoader.loadImmediate(AuditReaderImplementor versionsReader,
Class<?> entityClass,
String entityName,
Object entityId,
Number revision,
boolean removed,
EnversService enversService)
Immediately loads historical entity or its current state when excluded from audit process.
|
void |
AbstractCollectionMapper.mapToEntityFromMap(EnversService enversService,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
void |
AbstractToOneMapper.mapToEntityFromMap(EnversService enversService,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
void |
ToOneIdMapper.nullSafeMapToEntityFromMap(EnversService enversService,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
void |
AbstractOneToOneMapper.nullSafeMapToEntityFromMap(EnversService enversService,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
abstract void |
AbstractToOneMapper.nullSafeMapToEntityFromMap(EnversService enversService,
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,
EnversService enversService) |
Constructor and Description |
---|
AbstractCollectionInitializor(EnversService enversService,
AuditReaderImplementor versionsReader,
RelationQueryGenerator queryGenerator,
Object primaryKey,
Number revision,
boolean removed) |
ArrayCollectionInitializor(EnversService enversService,
AuditReaderImplementor versionsReader,
RelationQueryGenerator queryGenerator,
Object primaryKey,
Number revision,
boolean removed,
MiddleComponentData elementComponentData,
MiddleComponentData indexComponentData) |
BasicCollectionInitializor(EnversService enversService,
AuditReaderImplementor versionsReader,
RelationQueryGenerator queryGenerator,
Object primaryKey,
Number revision,
boolean removed,
Class<? extends T> collectionClass,
MiddleComponentData elementComponentData) |
ListCollectionInitializor(EnversService enversService,
AuditReaderImplementor versionsReader,
RelationQueryGenerator queryGenerator,
Object primaryKey,
Number revision,
boolean removed,
MiddleComponentData elementComponentData,
MiddleComponentData indexComponentData) |
MapCollectionInitializor(EnversService enversService,
AuditReaderImplementor versionsReader,
RelationQueryGenerator queryGenerator,
Object primaryKey,
Number revision,
boolean removed,
Class<? extends T> collectionClass,
MiddleComponentData elementComponentData,
MiddleComponentData indexComponentData) |
SortedMapCollectionInitializor(EnversService enversService,
AuditReaderImplementor versionsReader,
RelationQueryGenerator queryGenerator,
Object primaryKey,
Number revision,
boolean removed,
Class<? extends SortedMap> collectionClass,
MiddleComponentData elementComponentData,
MiddleComponentData indexComponentData,
Comparator comparator) |
SortedSetCollectionInitializor(EnversService enversService,
AuditReaderImplementor versionsReader,
RelationQueryGenerator queryGenerator,
Object primaryKey,
Number revision,
boolean removed,
Class<? extends SortedSet> collectionClass,
MiddleComponentData elementComponentData,
Comparator comparator) |
Constructor and Description |
---|
AuditReaderImpl(EnversService enversService,
Session session,
SessionImplementor sessionImplementor) |
CrossTypeRevisionChangesReaderImpl(AuditReaderImplementor auditReaderImplementor,
EnversService enversService) |
Modifier and Type | Field and Description |
---|---|
protected EnversService |
AbstractAuditWorkUnit.enversService |
Constructor and Description |
---|
AuditQueryCreator(EnversService enversService,
AuditReaderImplementor auditReaderImplementor) |
Modifier and Type | Method and Description |
---|---|
void |
AggregatedAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
AuditDisjunction.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
AuditCriterion.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
AuditConjunction.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
Triple<String,String,Boolean> |
AuditProperty.getData(EnversService enversService) |
Modifier and Type | Method and Description |
---|---|
void |
NotNullAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
NotAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
BetweenAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
SimpleAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
NullAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
IdentifierEqAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
LogicalAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
InAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
RelatedAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
IlikeAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
PropertyAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
void |
RevisionTypeAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
QueryBuilder qb,
Parameters parameters) |
static void |
CriteriaTools.checkPropertyNotARelation(EnversService enversService,
String entityName,
String propertyName) |
static String |
CriteriaTools.determinePropertyName(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
PropertyNameGetter propertyNameGetter) |
static String |
CriteriaTools.determinePropertyName(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
String propertyName) |
static RelationDescription |
CriteriaTools.getRelatedEntity(EnversService enversService,
String entityName,
String propertyName) |
Modifier and Type | Field and Description |
---|---|
protected EnversService |
AbstractAuditQuery.enversService |
Constructor and Description |
---|
AbstractAuditQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
Class<?> cls) |
AbstractAuditQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
Class<?> cls,
String entityName) |
EntitiesAtRevisionQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
Class<?> cls,
Number revision,
boolean includeDeletions) |
EntitiesAtRevisionQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
Class<?> cls,
String entityName,
Number revision,
boolean includeDeletions) |
EntitiesModifiedAtRevisionQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
Class<?> cls,
Number revision) |
EntitiesModifiedAtRevisionQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
Class<?> cls,
String entityName,
Number revision) |
RevisionsOfEntityQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
Class<?> cls,
boolean selectEntitiesOnly,
boolean selectDeletedEntities) |
RevisionsOfEntityQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
Class<?> cls,
String entityName,
boolean selectEntitiesOnly,
boolean selectDeletedEntities) |
Modifier and Type | Method and Description |
---|---|
String |
OriginalIdPropertyName.get(EnversService enversService) |
String |
EntityPropertyName.get(EnversService enversService) |
String |
RevisionTypePropertyName.get(EnversService enversService) |
String |
ModifiedFlagPropertyName.get(EnversService enversService) |
String |
RevisionNumberPropertyName.get(EnversService enversService) |
String |
PropertyNameGetter.get(EnversService enversService) |
String |
RevisionPropertyPropertyName.get(EnversService enversService) |
Modifier and Type | Method and Description |
---|---|
Pair<String,Boolean> |
AuditOrder.getData(EnversService enversService) |
Modifier and Type | Method and Description |
---|---|
Pair<String,Boolean> |
PropertyAuditOrder.getData(EnversService enversService) |
Modifier and Type | Method and Description |
---|---|
Triple<String,String,Boolean> |
AuditProjection.getData(EnversService enversService) |
Modifier and Type | Method and Description |
---|---|
Triple<String,String,Boolean> |
PropertyAuditProjection.getData(EnversService enversService) |
Modifier and Type | Method and Description |
---|---|
void |
DefaultAuditStrategy.perform(Session session,
String entityName,
EnversService enversService,
Serializable id,
Object data,
Object revision) |
void |
ValidityAuditStrategy.perform(Session session,
String entityName,
EnversService enversService,
Serializable id,
Object data,
Object revision) |
void |
AuditStrategy.perform(Session session,
String entityName,
EnversService enversService,
Serializable id,
Object data,
Object revision)
Perform the persistence of audited data for regular entities.
|
void |
DefaultAuditStrategy.performCollectionChange(Session session,
String entityName,
String propertyName,
EnversService enversService,
PersistentCollectionChangeData persistentCollectionChangeData,
Object revision) |
void |
ValidityAuditStrategy.performCollectionChange(Session session,
String entityName,
String propertyName,
EnversService enversService,
PersistentCollectionChangeData persistentCollectionChangeData,
Object revision) |
void |
AuditStrategy.performCollectionChange(Session session,
String entityName,
String propertyName,
EnversService enversService,
PersistentCollectionChangeData persistentCollectionChangeData,
Object revision)
Perform the persistence of audited data for collection ("middle") entities.
|
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.