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
FieldsFields inherited from class com.blazebit.persistence.view.impl.update.flush.CollectionElementAttributeFlusher
elementFields inherited from class com.blazebit.persistence.view.impl.update.flush.CollectionElementFetchGraphNode
nestedGraphNode -
Constructor Summary
ConstructorsConstructorDescriptionUpdateCollectionElementAttributeFlusher(DirtyAttributeFlusher<?, E, V> nestedGraphNode, Object element, boolean optimisticLockProtected, ViewToEntityMapper viewToEntityMapper) -
Method Summary
Modifier and TypeMethodDescriptionjavax.persistence.QueryflushQuery(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, supportsQueryFlushMethods inherited from class com.blazebit.persistence.view.impl.update.flush.CollectionElementFetchGraphNode
appendFetchJoinQueryFragment, getAttributeName, getMapping, mergeWithMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.blazebit.persistence.view.impl.update.flush.DirtyAttributeFlusher
appendFetchJoinQueryFragmentMethods 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:
flushQueryin interfaceDirtyAttributeFlusher<CollectionElementAttributeFlusher<E,V>, E, V> - Overrides:
flushQueryin classCollectionElementAttributeFlusher<E,V>
-