Class InverseFlusher<E>
java.lang.Object
com.blazebit.persistence.view.impl.update.flush.InverseFlusher<E>
public final class InverseFlusher<E> extends Object
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Constructor Summary
Constructors Constructor Description InverseFlusher(Class<?> parentEntityClass, String attributeName, String parentIdAttributeName, String childIdAttributeName, Class<?> childIdViewClass, UnmappedAttributeCascadeDeleter deleter, ViewToEntityMapper parentReferenceViewToEntityMapper, DirtyAttributeFlusher<?,E,Object> parentReferenceAttributeFlusher, Mapper<E,Object> parentEntityOnChildViewMapper, TargetViewClassBasedInverseViewToEntityMapper childViewToEntityMapper, ViewToEntityMapper childReferenceViewToEntityMapper, Mapper<E,Object> parentEntityOnChildEntityMapper, InverseEntityToEntityMapper childEntityToEntityMapper)
-
Method Summary
-
Constructor Details
-
InverseFlusher
public InverseFlusher(Class<?> parentEntityClass, String attributeName, String parentIdAttributeName, String childIdAttributeName, Class<?> childIdViewClass, UnmappedAttributeCascadeDeleter deleter, ViewToEntityMapper parentReferenceViewToEntityMapper, DirtyAttributeFlusher<?,E,Object> parentReferenceAttributeFlusher, Mapper<E,Object> parentEntityOnChildViewMapper, TargetViewClassBasedInverseViewToEntityMapper childViewToEntityMapper, ViewToEntityMapper childReferenceViewToEntityMapper, Mapper<E,Object> parentEntityOnChildEntityMapper, InverseEntityToEntityMapper childEntityToEntityMapper)
-
-
Method Details
-
forAttribute
public static <E> InverseFlusher<E> forAttribute(EntityViewManagerImpl evm, Map<Object,EntityViewUpdaterImpl> localCache, ManagedViewType<?> viewType, AbstractMethodAttribute<?,?> attribute, TypeDescriptor childTypeDescriptor, EntityViewUpdaterImpl owner, String ownerMapping) -
loadByOwnerId
-
removeByOwnerIdOnly
-
removeByOwnerId
-
removeElement
-
removeElements
-
flushQuerySetElement
public void flushQuerySetElement(UpdateContext context, Object element, Object oldParent, Object view, String parameterPrefix, DirtyAttributeFlusher<?,E,Object> nestedGraphNode) -
flushQuerySetEntityOnElement
public void flushQuerySetEntityOnElement(UpdateContext context, Object element, E oldParent, E entity, String parameterPrefix, DirtyAttributeFlusher<?,E,Object> nestedGraphNode) -
flushEntitySetElement
public void flushEntitySetElement(UpdateContext context, Iterable<?> elements, E oldParent, E newValue) -
flushEntitySetElement
public void flushEntitySetElement(UpdateContext context, Object element, E oldParent, E newValue, DirtyAttributeFlusher<?,E,Object> nestedGraphNode) -
supportsQueryFlush
public boolean supportsQueryFlush()
-