Class UpdateCollectionElementAttributeFlusher<E,V>
java.lang.Object
com.blazebit.persistence.view.impl.update.flush.CollectionElementFetchGraphNode<CollectionElementAttributeFlusher<E,V>,DirtyAttributeFlusher<?,E,V>>
com.blazebit.persistence.view.impl.update.flush.CollectionElementAttributeFlusher<E,V>
com.blazebit.persistence.view.impl.update.flush.UpdateCollectionElementAttributeFlusher<E,V>
- All Implemented Interfaces:
DirtyChecker<V>
,DirtyAttributeFlusher<CollectionElementAttributeFlusher<E,
,V>, E, V> FetchGraphNode<CollectionElementAttributeFlusher<E,
V>>
public class UpdateCollectionElementAttributeFlusher<E,V>
extends CollectionElementAttributeFlusher<E,V>
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.blazebit.persistence.view.impl.change.DirtyChecker
DirtyChecker.DirtyKind
-
Field Summary
Fields inherited from class com.blazebit.persistence.view.impl.update.flush.CollectionElementAttributeFlusher
element
Fields inherited from class com.blazebit.persistence.view.impl.update.flush.CollectionElementFetchGraphNode
nestedGraphNode
-
Constructor Summary
ConstructorDescriptionUpdateCollectionElementAttributeFlusher
(DirtyAttributeFlusher<?, E, V> nestedGraphNode, Object element, boolean optimisticLockProtected, ViewToEntityMapper viewToEntityMapper) -
Method Summary
Modifier and TypeMethodDescriptionjavax.persistence.Query
flushQuery
(UpdateContext context, String parameterPrefix, UpdateQueryFactory queryFactory, javax.persistence.Query query, Object ownerView, Object view, V value, UnmappedOwnerAwareDeleter ownerAwareDeleter, DirtyAttributeFlusher<?, ?, ?> ownerFlusher) Methods inherited from class com.blazebit.persistence.view.impl.update.flush.CollectionElementAttributeFlusher
appendUpdateQueryFragment, cloneDeep, flushEntity, getDirtyFlusher, getDirtyKind, getElement, getElementIdAttributeName, getEntityAttributeAccessor, getLockOwner, getNestedCheckers, getNewInitialValue, getViewAttributeAccessor, isOptimisticLockProtected, isPassThrough, isViewOnlyDeleteCascaded, loadForEntityFlush, remove, remove, removeByOwnerId, removeFromEntity, requiresDeferredFlush, requiresDeleteCascadeAfterRemove, requiresFlushAfterPersist, supportsQueryFlush
Methods inherited from class com.blazebit.persistence.view.impl.update.flush.CollectionElementFetchGraphNode
appendFetchJoinQueryFragment, getAttributeName, getMapping, mergeWith
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.blazebit.persistence.view.impl.update.flush.DirtyAttributeFlusher
appendFetchJoinQueryFragment
Methods inherited from interface com.blazebit.persistence.view.impl.update.flush.FetchGraphNode
getAttributeName, getMapping, mergeWith
-
Field Details
-
viewToEntityMapper
-
-
Constructor Details
-
UpdateCollectionElementAttributeFlusher
public UpdateCollectionElementAttributeFlusher(DirtyAttributeFlusher<?, E, V> nestedGraphNode, Object element, boolean optimisticLockProtected, ViewToEntityMapper viewToEntityMapper)
-
-
Method Details
-
flushQuery
public javax.persistence.Query flushQuery(UpdateContext context, String parameterPrefix, UpdateQueryFactory queryFactory, javax.persistence.Query query, Object ownerView, Object view, V value, UnmappedOwnerAwareDeleter ownerAwareDeleter, DirtyAttributeFlusher<?, ?, ?> ownerFlusher) - Specified by:
flushQuery
in interfaceDirtyAttributeFlusher<CollectionElementAttributeFlusher<E,
V>, E, V> - Overrides:
flushQuery
in classCollectionElementAttributeFlusher<E,
V>
-