Package com.blazebit.persistence.view
package com.blazebit.persistence.view
Entity-View extension for the Blaze-Persistence API.
-
ClassDescriptionSpecifies that the annotated attribute is allowed to use an updatable entity view type even if it is an owned *ToOne relation.Adds a named filter to an entity view attribute.AttributeFilterProvider<FilterValue>An attribute filter provider is an object that applies restrictions on a
WhereBuilder
.Adds multipleAttributeFilter
.IfFetchStrategy.SELECT
is used on a property, this annotation configures the default batching.The cascade types for updatable entity views.A listener that adds the built entity view to a collection.CollectionInstantiator<C extends Collection<?>,R extends Collection<?> & RecordingContainer<? extends C>> An instantiator for normal, recording and JPA collections for an entity view attribute.Specifies the behavior of a collection mapping.Configuration properties that can be specified viaEntityViewConfiguration.setProperty(String, String)
.A builder for defining flush related configuration.The available options that can be enabled when converting entity view types viaEntityViewManager.convert(Object, Class, ConvertOption...)
.A builder for correlating a basis with an entity class.Provides correlation functionality for entity views.A factory for creating aCorrelationProvider
.Specifies that the class is a creatable entity view.Provides CTE bindings to aCTEBuilder
.Specifies whether an empty flat view i.e. a view without an id where all members are null should be created or ifnull
should be assigned.Specifies that the class is an entity view.EntityViewBuilder<ViewType>A builder for defining flush related configuration.EntityViewBuilderBase<ViewType,BuilderType extends EntityViewBuilderBase<ViewType, BuilderType>> A builder for creating an entity view.A listener that is invoked after an entity view was built.Specifies that the entity view should consider subtypes of the entity view when queried.Defines the inheritance selection for the entity view when a super type is queried.Annotation to declare an entity view listener that should be registered for the given entity view type.Annotation to register an entity view listener for multiple entity view types.An interface that gives access to the metamodel and object builders.EntityViewNestedBuilder<ViewType,ResultType, BuilderType extends EntityViewNestedBuilder<ViewType, ResultType, BuilderType>> A builder for creating nested entity views.Registers an entity view root for the annotated entity view.Annotation to register entity view roots.Bootstrap class that is used to obtain a EntityViewConfiguration instance within Java SE environments.EntityViewSetting<T,Q extends FullQueryBuilder<T, Q>> A EntityViewSetting is a set of filters and sorters that can be applied to aCriteriaBuilder
.The activation of a filter.The fetch strategy for an entity view attribute.The flush mode for an updatable entity view.A builder for defining flush related configuration.The flush mode for an updatable entity view.Maps the annotated element to the id attribute of the entity.The strategy to use when an element was removed from the inverse relation.Limits the amount of elements to fetch for the annotated attribute.A listener that adds the built entity view to a list.The lock mode types for updatable entity views.Annotation to specify the owner of a lock that should be used for locking.A listener that adds the built entity view to a map.An instantiator for normal, recording and JPA maps for an entity view attribute.A listener that adds the built entity view to a map.A mapping to a JPQL expression which contains references to fields of the entity.Maps the annotated attribute as correlation attribute.Maps the annotated attribute as correlation attribute with a simple declarative mapping of the correlation.A mapping to a JPQL expression which contains references to fields of the target entity/association.Defines the subtype mappings for a subview attribute.Defines the subtype mappings for a map attribute with a subview key.Defines a possible subtype that should be materialized when the selection predicate is satisfied.Defines the inverse mapping to use for persisting or updating elements.A mapping to a parameter which is passed into a query when querying an entity view.Specifies that the annotated attribute should be singular.Maps the annotated attribute as subquery.Specifies the behavior of a multi-map collection mapping.Annotation to specify whether a change of the annotated attribute will cause optimistic locking.Thrown when an optimistic lock conflict has been detected.Annotation to mark a method to be executed after a transaction that flushes the type containing this method was successfully committed.A listener for getting a callback after committing a flush for an entity view.Annotation to mark a method to be executed after a call toEntityViewManager.convert(Object, Class, ConvertOption...)
.Annotation to mark a method to be executed after a call toEntityViewManager.create(Class)
.Annotation to mark a method to be executed after the loading of an entity view.Annotation to mark a method to be executed after a call toEntityManager.persist(Object)
when flushing the creatable entity view containing this method viaEntityViewManager.save(EntityManager, Object)
.A listener for getting a callback after persisting a creatable view.A listener for getting a callback after persisting a creatable view.Annotation to mark a method to be executed after removing an entity view due to orphan removal, delete cascading or removal.A listener for getting a callback after a view is removed.Annotation to mark a method to be executed after a transaction that flushes the type containing this method was rolled back.A listener for getting a callback after rolling back a flush for an entity view.Annotation to mark a method to be executed after updating an entity view.A listener for getting a callback after updating an updatable view.Annotation to mark a method to be executed before a call toEntityManager.persist(Object)
when flushing the creatable entity view containing this method viaEntityViewManager.save(EntityManager, Object)
.A listener for getting a callback before persisting a creatable view.A listener for getting a callback before persisting a creatable view.Annotation to mark a method to be executed before removing an entity view due to orphan removal, delete cascading or removal.A listener for getting a callback before a view is removed.Annotation to mark a method to be executed before updating an entity view.A listener for getting a callback before updating an updatable view.A recording collection.A marker annotation for annotating the "self"-instance which can be injected into a constructor to access state in a safe way.A serializable entity view manager implementation that accesses the actual entity view manager through a static field in the entity view implementation class.A listener that sets the built entity view on the given builder for the given parameter index.A listener that sets the built entity view on the given builder for the given attribute name.A sorter is an object that applies an order by on aOrderByBuilder
for a specific expression.A utility class that provides methods to create standard sorters.The StaticBuilder annotation specifies that the class is the builder class for the entity view class designated by the value element.The StaticImplementation annotation specifies that the class is the implementation class for the entity view class designated by the value element.The StaticMetamodel annotation specifies that the class is the metamodel class for the entity view class designated by the value element.The StaticRelation annotation specifies that the class is the relation class for the entity view class designated by the value element.SubGraph<T>Represents a fetch graph node for entity views.Provides a subquery to aSubqueryInitiator
.A factory for creating aSubqueryProvider
.Specifies that the class is an updatable entity view.Specifies the update handling of values assigned to the annotated attribute.A listener for getting a callback.A naming mechanism for entity view constructors.Adds a named filter to an entity view.A view filter provider is an object that applies restrictions on aWhereBuilder
.Adds multiple ViewFilter.ViewListener<T>A listener for getting a callback.The transition types for entity views.A listener for getting a callback.AddsCTEProvider
s that should be invoked when applying the annotated entity view.