All Classes and Interfaces
Class
Description
AbstractAuditAssociationQuery<Q extends org.hibernate.envers.query.internal.impl.AuditQueryImplementor>
An abstract base class for all
AuditAssociationQuery
implementations.Initializes a persistent collection.
Abstract base class for various collection-based metadata generators.
An abstract identifier mapper implementation specific for composite identifiers.
Base abstract implementation of
Identifier
.The base abstract class implementation for identifier mappers.
A base class for all entity mapper implementations.
Abstract base class for all metadata generator implementations.
An abstract base class for all middle component mappers.
Template class for property mappers that manage one-to-one relation.
Abstract implementation of a
PropertyMapper
.Base class for implementers of
RelationQueryGenerator
contract.Base class for property mappers that manage to-one relation.
Simple descriptor of an entity.
A helper class to read versioning meta-data from annotations on a persistent class.
Initializes a map.
Contract for a mapping attribute.
Defines a contract for the Envers mapping model in terms of being able to contain attributes.
When applied to a class, indicates that all of its properties should be audited.
Implementations hold other audited properties.
Reads persistent properties form a
PersistentPropertiesSource
and adds the ones that are audited to a
AuditedPropertiesHolder
, filling all the auditing data.A registry of audited and not-audited entity runtime configurations.
A register of all audit entity names used so far.
Create restrictions or projections using a function.
Create restrictions and projections for the id of an audited entity.
A data class that represents an
AuditJoinTable
annotation.
Annotation to specify a "fake" bi-directional relation.
The
AuditingOverride
annotation is used to override the auditing
behavior of a superclass or single property inherited from MappedSuperclass
type, or attribute inside an embedded component.A boot-time descriptor that represents a
AuditOverride
annotation.The
AuditingOverrides
annotation is used to override the auditing
behavior for one ore more fields (or properties) inside an embedded
component.Create restrictions, projections and specify order for a property of an audited entity.
Provides access to past versions of audited entities based on
a global revision.
An interface exposed by a VersionsReader to library-facing classes.
Create restrictions on an id of an entity related to an audited entity.
Deprecated.
A strategy abstraction for how to audit entity changes.
A contract to initialize an
AuditStrategy
Provides the audit strategy implementations to the
StrategySelector
service.Holds information necessary to create an audit table: its name, schema and catalog, as well as the audit
entity name.
TODO: refactor constructors into factory methods
Base class for Envers' collection event related listeners
Base class for all Envers event listeners
Contract for a basic, singular attribute.
Initializes a non-indexed java collection (set or list, eventually sorted).
Generates metadata for basic properties: immutable types (including enums).
Defines a contract for objects that are bindable.
Boot-time audit data for a specific entity class.
A helper class holding auditing meta-data for all persistent classes during boot-time.
Utility class that facilitates loading of a class.
Contract for an object that is cloneable.
Allows for the customization of an Envers audit collection table.
Helper class that provides a way to resolve the
mappedBy
attribute for collections.Metadata building context used for collections to hold per-collection state.
An implementation of
Selection
that represents a logical column.Contract for a container of columns.
Utility class to build a column name iterator over different column collection types.
Data that is used by all collection mappers, regardless of the type.
Reads the audited properties for components.
Audit mapping meta-data for component.
Generates metadata for components.
Represents an identifier based on a
composite-id
mapping.Contract for a model object that stores configuration parameters
Envers configuration.
Queries that allow retrieving snapshots of all entities (regardless of their particular type) changed in the given
revision.
Utility class that provides access to a
DateFormat
instance.Deprecated.
use
DefaultAuditStrategy
instead.Default implementation of the
AuditStrategy
contract.Extension of standard
DefaultRevisionEntity
that allows tracking entity names changed in each revision.Automatically adds entity names, that have been changed during current revision, to revision entity.
A persistent entity mapping that uses a single table to store entities based on a discriminator.
Contract for a persistent entity discriminator type.
Contract for
PropertyMapper
implementations to expose whether they should be included
as a wrapper for a <dynamic-component/>
mapping.An identifier mapper implementation for
EmbeddedId
mappings.EntitiesAtRevisionAssociationQuery<Q extends org.hibernate.envers.query.internal.impl.AuditQueryImplementor>
An
AuditAssociationQuery
implementation for
EntitiesAtRevisionQuery
and EntitiesModifiedAtRevisionQuery
query types.Configuration of the user entities: property mapping of the entities, relations, inheritance.
In comparison to
EntitiesAtRevisionQuery
this query returns an empty collection if an entity
of a certain type has not been changed in a given revision.Notifies
RevisionInfoGenerator
about changes made in the current revision.Runtime representation of an entity that may or may not be audited.
Used for specifying restrictions on a property of an audited entity.
Extension of standard
RevisionListener
that notifies whenever an entity instance has been
added, modified or removed within current revision boundaries.Hooks up Envers event listeners.
Marker interface for Envers listeners for duplication handling.
Event listener duplication strategy for envers
Sad when you need helpers for generating loggers...
Indicates an error happened during the Envers mapping boot process.
The jboss-logging
MessageLogger
for the hibernate-envers module.Metadata building context for Hibernate Envers
Envers-specific collection recreation event listener
Envers-specific entity (post) deletion event listener
Envers-specific entity (post) insertion event listener
Envers-specific entity (post) update event listener
Envers-specific collection removal event listener
Envers-specific collection update event listener
Envers-specific entity (pre) update event listener.
Provides central access to Envers' configuration.
ServiceContributor implementation pushing the EnversService into
the registry
Provides central access to Envers' configuration.
Configuration property names.
A work unit that handles "fake" bidirectional one-to-many relations (mapped with
@OneToMany+@JoinColumn
and
@ManyToOne+@Column(insertable=false, updatable=false)
.First level cache for versioned entities, versions reader-scoped.
An implementation of
Selection
that represents a formula.Exception indicating that a formula mapping was encountered where it is not currently supported
Envers specific FunctionContributor
An audit query criterion that defines a predicate where both sides are a function.
An audit query criterion that defines a predicate that is a comparison between a function
and an audit property expression.
Defines a graph, where each vertex has a representation, which identifies uniquely a value.
Common contract for an identifier.
A criterion that expresses that the id of an entity is equal or not equal to some specified value.
A contract for identifier relations between persisted entities
All attributes stored here are stored in their non-key form, see IdMetadataGenerator.
Base contract for all identifier mappers.
Generates metadata for primary identifiers (ids) of versions entities.
A
ModifiedColumnNamingStrategy
that adds modified columns with the following rules:
For basic types, prioritizes audit annotation naming followed by physical column name appended with suffix.
For associations with single column foreign keys, behaves like basic types.
For associations with multiple column foreign keys, prioritizes audit annotation naming followed by using property name.
For embeddables, behaves like associations with multiple column foreign keys
Contract that represents a secondary table join that is part of an entity hierarchy.
Contract for entity mappings that support secondary table joins.
An implementation of
AbstractCollectionMetadataGenerator
that builds collection metadata
and association mappings where the association uses a join column mapping.A persistent entity mapping that uses joined table(s) to store the hierarchy of entity types.
Contract for declaring a column name of a foreign key.
Contract that defines an attribute that can participate in a key.
A
ModifiedColumnNamingStrategy
that adds modified columns with the following rules:
If an audit annotation modified column name is supplied, use it directly with no suffix.
If no audit annotation modified column name is present, use the property name appended with suffix.
This is the default Envers modified column naming behavior.Initializes a map.
Represents a plural attribute mapping of a
many-to-one
or key-many-to-one
.Initializes a map.
Used in building the AuditConfiguration to allow callbacks for generated audit entities.
Describes an audit mapping context.
A strategy for matching strings using "like".
A data holder for a middle relation component (which is either the collection element or index):
- component mapper used to map the component to and from versions entities
- an index, which specifies in which element of the array returned by the query for reading the collection the data
of the component is
A class holding information about ids, which form a virtual "relation" from a middle-table.
A middle table component mapper which assigns a Map-type's element as part
of the data-portion of the mapping rather than the identifier.
A
MiddleComponentMapper
specifically for MapKeyEnumerated
.A component mapper for the @MapKey mapping: the value of the map's key is the id of the entity.
A component mapper for the @MapKey mapping with the name parameter specified: the value of the map's key
is a property of the entity.
A mapper for reading and writing a property straight to/from maps.
An implementation of
AbstractCollectionMetadataGenerator
that builds collection metadata
and association mappings where the association uses a middle table mapping.Simple helper class to streamline hibernate-models interactions.
Defines a naming strategy for applying modified columns to the audited entity metamodel.
A
StrategyRegistrationProvider
for ModifiedColumnNamingStrategy
s.Marks a property which holds entity names that have been modified during each revision.
Returns modified entity names from a persisted revision info entity.
Contract for
PropertyMapper
implementations to expose whether they contain any property
that uses PropertyData.isUsingModifiedFlag()
.PropertyNameGetter for modified flags
Multi mapper for dynamic components (it knows that component is a map, not a class)
An identifier mapper that is meant to support nested
Embeddable
instances
inside an existing EmbeddedId
identifier hierarchy.When applied to a field, indicates that this field should not be audited.
Defines the possible null handling modes.
Selects data from an audit entity.
Selects data from a relation middle-table only.
Property mapper for not owning side of
OneToOne
relation.Property mapper for
OneToOne
with PrimaryKeyJoinColumn
relation.Envers specific FunctionContributor
Revision number generator has to produce values in ascending order (gaps may occur).
Describes a sequence that supports ordered sequences.
Used for specifying restrictions on the identifier.
A pair of objects.
Parameters of a query, built using
QueryBuilder
.Defines a graph, where the vertexes are all persistent classes, and there is an edge from
p.c.
Data describing the change of a single object in a persistent collection (when the object was added, removed or
modified in the collection).
A unique identifier for a collection work unit.
Contract for a persisted entity mapping.
Utility class meant to help facilitate the instantiation of
PersistentEntity
implementations.A source of data on persistent properties of a class or component.
Contract for an attribute that represents multiple values.
The boot-time representation of an audited property.
The runtime representation of an audited property.
An audit query criterion where a function is compared to a property.
Provides a function to get the name of a property, which is used in a query, to apply some restrictions on it.
A class for incrementally building a HQL query.
Constants used in JPQL queries.
Builds query generators, for reading collection middle tables, along with any related entities.
Implementations of this interface provide a method to generate queries on a
relation table (a table used for mapping relations).
Defines the actions on how to handle
EntityNotFoundException
cases when a relation
between two entities (audited or not) cannot be found in the data store.Type of a relation between two entities.
Marks an entity to be created whenever a new revision is generated.
Gets a revision number from a persisted revision info entity.
An implementation of this class, having a no-arg constructor, should be passed as an argument to the
RevisionEntity
annotation.Marks a property which will hold the number of the revision in a revision entity, see
RevisionListener
.Used for specifying restrictions on the revision number, corresponding to an audit entity.
Used for specifying restrictions on a property of the revision entity, which is associated with an audit entity.
RevisionsOfEntityAssociationQuery<Q extends org.hibernate.envers.query.internal.impl.AuditQueryImplementor>
An
AuditAssociationQuery
implementation for RevisionsOfEntityQuery
.Marks a property which will hold the timestamp of the revision in a revision entity, see
RevisionListener
.Type of the revision.
Used for specifying restrictions on the revision number, corresponding to an audit entity.
A hibernate type for the
RevisionType
enum.A persistent entity mapping that represents the root entity of an entity hierarchy.
A contract for a selection, can be a column or a formula.
Extension of standard
SequenceIdRevisionEntity
that allows tracking entity names changed in each revision.Extension of standard
SequenceIdRevisionMapping
that allows tracking entity names changed in each revision.Class responsible for evicting audit data entries that have been stored in the session level cache.
A plural attribute that represents a
set
.An audit query criterion that compares a function call with a scalar value.
Represents a simple identifier mapping.
A simple identifier builder contract.
An implementation of an identifier mapper for a single basic attribute property.
TODO: diff
Contract for an attribute that represents a singular value.
Initializes SortedMap collection with proper Comparator
Initializes SortedSet collection with proper Comparator
A mapper which maps from a parent mapper and a "main" one, but adds only to the "main".
Selects data from a relation middle-table and a two related versions entity.
Generates metadata for to-one relations (reference-valued properties).
Topological sorting of a graph - based on DFS.
Extension of standard
RevisionMapping
that allows tracking entity names changed in each revision.A triple of objects.
Selects data from a relation middle-table and a related non-audited entity.
Selects data from a relation middle-table and a related versions entity.
Envers specific TypeContributor
Contract for a type specification mapping.
A persistent entity mapping that uses the table-per-class inheritance strategy.
An audit strategy implementation that persists and fetches audit information using a validity
algorithm, based on the start-revision and end-revision of a row in the audit table schema.
Deprecated.
use
ValidityAuditStrategy
instead.A graph vertex - stores its representation, neighbours, start and end time in (D|B)FS.
An extension to the
SingleIdMapper
implementation that supports the use case of an @IdClass
mapping that contains an entity association where the @IdClass
stores the primary key of the
associated entity rather than the entity object itself.Visitor patter dispatcher.
Visitor pattern visitor.
AuditStrategy
instead.