Class InverseCollectionElementAttributeFlusher<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.InverseCollectionElementAttributeFlusher<E,V>
- All Implemented Interfaces:
DirtyChecker<V>,DirtyAttributeFlusher<CollectionElementAttributeFlusher<E,,V>, E, V> FetchGraphNode<CollectionElementAttributeFlusher<E,V>>
public class InverseCollectionElementAttributeFlusher<E,V>
extends CollectionElementAttributeFlusher<E,V>
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Nested Class Summary
Nested ClassesNested 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
elementFields inherited from class com.blazebit.persistence.view.impl.update.flush.CollectionElementFetchGraphNode
nestedGraphNode -
Constructor Summary
ConstructorsConstructorDescriptionInverseCollectionElementAttributeFlusher(DirtyAttributeFlusher<?, E, V> nestedGraphNode, Object element, boolean optimisticLockProtected, InverseFlusher<E> inverseFlusher, InverseCollectionElementAttributeFlusher.Strategy strategy) -
Method Summary
Modifier and TypeMethodDescriptionbooleanflushEntity(UpdateContext context, E entity, Object ownerView, Object view, V value, Runnable postReplaceListener) javax.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, 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
-
Constructor Details
-
InverseCollectionElementAttributeFlusher
public InverseCollectionElementAttributeFlusher(DirtyAttributeFlusher<?, E, V> nestedGraphNode, Object element, boolean optimisticLockProtected, InverseFlusher<E> inverseFlusher, InverseCollectionElementAttributeFlusher.Strategy strategy)
-
-
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>
-
flushEntity
public boolean flushEntity(UpdateContext context, E entity, Object ownerView, Object view, V value, Runnable postReplaceListener) - Specified by:
flushEntityin interfaceDirtyAttributeFlusher<CollectionElementAttributeFlusher<E,V>, E, V> - Overrides:
flushEntityin classCollectionElementAttributeFlusher<E,V>
-