- All Superinterfaces:
DirtyChecker<V>
, FetchGraphNode<T>
- All Known Implementing Classes:
AbstractPluralAttributeFlusher
, BasicAttributeFlusher
, CascadingCollectionElementAttributeFlusher
, CollectionAttributeFlusher
, CollectionElementAttributeFlusher
, CompositeAttributeFlusher
, EmbeddableAttributeFlusher
, IndexedListAttributeFlusher
, InverseCollectionElementAttributeFlusher
, MapAttributeFlusher
, MergeCollectionElementAttributeFlusher
, MergeMapKeyAttributeFlusher
, MergeMapValueAttributeFlusher
, ParentCollectionReferenceAttributeFlusher
, ParentReferenceAttributeFlusher
, PersistCollectionElementAttributeFlusher
, SubviewAttributeFlusher
, UpdateCollectionElementAttributeFlusher
, VersionAttributeFlusher
public interface DirtyAttributeFlusher<T extends DirtyAttributeFlusher<T,E,V>,E,V>
extends FetchGraphNode<T>, DirtyChecker<V>
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
-
Method Summary
Modifier and Type |
Method |
Description |
void |
appendFetchJoinQueryFragment(String base,
StringBuilder sb) |
|
boolean |
appendUpdateQueryFragment(UpdateContext context,
StringBuilder sb,
String mappingPrefix,
String parameterPrefix,
String separator) |
|
V |
cloneDeep(Object view,
V oldValue,
V newValue) |
|
boolean |
flushEntity(UpdateContext context,
E entity,
Object ownerView,
Object view,
V value,
Runnable postReplaceListener) |
|
javax.persistence.Query |
flushQuery(UpdateContext context,
String parameterPrefix,
UpdateQueryFactory queryFactory,
javax.persistence.Query query,
Object ownerView,
Object view,
V value,
UnmappedOwnerAwareDeleter ownerAwareDeleter,
DirtyAttributeFlusher<?,?,?> ownerFlusher) |
|
DirtyAttributeFlusher<T,E,V> |
getDirtyFlusher(UpdateContext context,
Object view,
Object initial,
Object current) |
|
String |
getElementIdAttributeName() |
|
AttributeAccessor |
getEntityAttributeAccessor() |
|
String |
getLockOwner() |
|
Object |
getNewInitialValue(UpdateContext context,
V clonedValue,
V currentValue) |
|
AttributeAccessor |
getViewAttributeAccessor() |
|
boolean |
isOptimisticLockProtected() |
|
boolean |
isPassThrough() |
|
boolean |
isViewOnlyDeleteCascaded() |
|
boolean |
loadForEntityFlush() |
|
List<PostFlushDeleter> |
remove(UpdateContext context,
E entity,
Object view,
V value) |
|
void |
remove(UpdateContext context,
Object id) |
|
List<PostFlushDeleter> |
removeByOwnerId(UpdateContext context,
Object id) |
|
void |
removeFromEntity(UpdateContext context,
E entity) |
|
boolean |
requiresDeferredFlush(V value) |
|
boolean |
requiresDeleteCascadeAfterRemove() |
|
boolean |
requiresFlushAfterPersist(V value) |
|
boolean |
supportsQueryFlush() |
|
-
Method Details
-
-
-
-
boolean supportsQueryFlush()
-
boolean loadForEntityFlush()
-
-
javax.persistence.Query flushQuery(
UpdateContext context,
String parameterPrefix,
UpdateQueryFactory queryFactory,
javax.persistence.Query query,
Object ownerView,
Object view,
V value,
UnmappedOwnerAwareDeleter ownerAwareDeleter,
DirtyAttributeFlusher<?,?,?> ownerFlusher)
-
-
-
-
-
-
V cloneDeep(
Object view,
V oldValue,
V newValue)
-
-
String getElementIdAttributeName()
-
-
-
-
boolean isOptimisticLockProtected()
-
boolean requiresFlushAfterPersist(
V value)
-
boolean requiresDeferredFlush(
V value)
-
boolean requiresDeleteCascadeAfterRemove()
-
boolean isViewOnlyDeleteCascaded()