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 |
AuditEntitiesConfiguration.getEnversService()
Deprecated.
(since 5.2.1), while actually added in 5.2.1, this was added to cleanup the
audit strategy interface temporarily.
|
EnversService |
GlobalConfiguration.getEnversService() |
Constructor and Description |
---|
AuditEntitiesConfiguration(Properties properties,
String revisionInfoEntityName,
EnversService enversService) |
GlobalConfiguration(EnversService enversService,
Map properties) |
Modifier and Type | Method and Description |
---|---|
protected EnversService |
BaseEnversEventListener.getEnversService() |
Constructor and Description |
---|
BaseEnversCollectionEventListener(EnversService enversService) |
BaseEnversEventListener(EnversService enversService) |
BaseEnversUpdateEventListener(EnversService enversService) |
EnversPostCollectionRecreateEventListenerImpl(EnversService enversService) |
EnversPostDeleteEventListenerImpl(EnversService enversService) |
EnversPostInsertEventListenerImpl(EnversService enversService) |
EnversPostUpdateEventListenerImpl(EnversService enversService) |
EnversPreCollectionRemoveEventListenerImpl(EnversService enversService) |
EnversPreCollectionUpdateEventListenerImpl(EnversService enversService) |
EnversPreUpdateEventListenerImpl(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 |
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 |
MultiPropertyMapper.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.
|
void |
SinglePropertyMapper.mapToEntityFromMap(EnversService enversService,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
void |
SubclassPropertyMapper.mapToEntityFromMap(EnversService enversService,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
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> |
BasicCollectionMapper.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> |
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) |
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 |
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 . |
void |
ToOneIdMapper.nullSafeMapToEntityFromMap(EnversService enversService,
Object obj,
Map data,
Object primaryKey,
AuditReaderImplementor versionsReader,
Number revision) |
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,
Map<String,String> aliasToEntityNameMap,
String baseAlias,
QueryBuilder qb,
Parameters parameters) |
void |
AuditConjunction.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
Map<String,String> aliasToEntityNameMap,
String alias,
QueryBuilder qb,
Parameters parameters) |
void |
AuditCriterion.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
Map<String,String> aliasToEntityNameMap,
String baseAlias,
QueryBuilder qb,
Parameters parameters) |
void |
AuditDisjunction.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
Map<String,String> aliasToEntityNameMap,
String alias,
QueryBuilder qb,
Parameters parameters) |
Object |
AuditProperty.convertQueryResult(EnversService enversService,
EntityInstantiator entityInstantiator,
String entityName,
Number revision,
Object value) |
AuditProjection.ProjectionData |
AuditProperty.getData(EnversService enversService) |
Modifier and Type | Method and Description |
---|---|
void |
LogicalAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
Map<String,String> aliasToEntityNameMap,
String alias,
QueryBuilder qb,
Parameters parameters) |
void |
NotAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
Map<String,String> aliasToEntityNameMap,
String alias,
QueryBuilder qb,
Parameters parameters) |
void |
PropertyAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
Map<String,String> aliasToEntityNameMap,
String baseAlias,
QueryBuilder qb,
Parameters parameters) |
protected void |
BetweenAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
String alias,
QueryBuilder qb,
Parameters parameters) |
protected void |
IdentifierEqAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
String alias,
QueryBuilder qb,
Parameters parameters) |
protected void |
IlikeAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
String alias,
QueryBuilder qb,
Parameters parameters) |
protected void |
InAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
String alias,
QueryBuilder qb,
Parameters parameters) |
protected void |
NotNullAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
String alias,
QueryBuilder qb,
Parameters parameters) |
protected void |
NullAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
String alias,
QueryBuilder qb,
Parameters parameters) |
protected void |
RelatedAuditEqualityExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
String alias,
QueryBuilder qb,
Parameters parameters) |
protected void |
RelatedAuditInExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
String alias,
QueryBuilder qb,
Parameters parameters) |
protected void |
RevisionTypeAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
String alias,
QueryBuilder qb,
Parameters parameters) |
protected void |
SimpleAuditExpression.addToQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
String entityName,
String alias,
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) |
AuditAssociationQueryImpl(EnversService enversService,
AuditReaderImplementor auditReader,
Q parent,
QueryBuilder queryBuilder,
String propertyName,
JoinType joinType,
Map<String,String> aliasToEntityNameMap,
String ownerAlias,
String userSuppliedAlias) |
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,
boolean selectRevisionInfoOnly,
boolean includePropertyChanges) |
RevisionsOfEntityQuery(EnversService enversService,
AuditReaderImplementor versionsReader,
Class<?> cls,
String entityName,
boolean selectEntitiesOnly,
boolean selectDeletedEntities,
boolean selectRevisionInfoOnly,
boolean includePropertyChanges) |
Modifier and Type | Method and Description |
---|---|
String |
EntityPropertyName.get(EnversService enversService) |
String |
ModifiedFlagPropertyName.get(EnversService enversService) |
String |
OriginalIdPropertyName.get(EnversService enversService) |
String |
PropertyNameGetter.get(EnversService enversService) |
String |
RevisionNumberPropertyName.get(EnversService enversService) |
String |
RevisionPropertyPropertyName.get(EnversService enversService) |
String |
RevisionTypePropertyName.get(EnversService enversService) |
Modifier and Type | Method and Description |
---|---|
AuditOrder.OrderData |
AuditOrder.getData(EnversService enversService) |
Modifier and Type | Method and Description |
---|---|
AuditOrder.OrderData |
PropertyAuditOrder.getData(EnversService enversService) |
Modifier and Type | Method and Description |
---|---|
Object |
AuditProjection.convertQueryResult(EnversService enversService,
EntityInstantiator entityInstantiator,
String entityName,
Number revision,
Object value) |
AuditProjection.ProjectionData |
AuditProjection.getData(EnversService enversService) |
Modifier and Type | Method and Description |
---|---|
Object |
EntityAuditProjection.convertQueryResult(EnversService enversService,
EntityInstantiator entityInstantiator,
String entityName,
Number revision,
Object value) |
Object |
PropertyAuditProjection.convertQueryResult(EnversService enversService,
EntityInstantiator entityInstantiator,
String entityName,
Number revision,
Object value) |
AuditProjection.ProjectionData |
EntityAuditProjection.getData(EnversService enversService) |
AuditProjection.ProjectionData |
PropertyAuditProjection.getData(EnversService enversService) |
Modifier and Type | Method and Description |
---|---|
default void |
AuditStrategy.perform(Session session,
String entityName,
EnversService enversService,
Serializable id,
Object data,
Object revision)
Deprecated.
|
default void |
AuditStrategy.performCollectionChange(Session session,
String entityName,
String propertyName,
EnversService enversService,
PersistentCollectionChangeData persistentCollectionChangeData,
Object revision)
|
Copyright © 2020 JBoss by Red Hat. All rights reserved.