EntityViewUpdater
public class EntityViewUpdaterImpl extends java.lang.Object implements EntityViewUpdater
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
ID_PARAM_NAME |
|
static java.lang.String |
VERSION_PARAM_NAME |
Constructor | Description |
---|---|
EntityViewUpdaterImpl(EntityViewManagerImpl evm,
ManagedViewTypeImplementor<?> viewType,
ManagedViewTypeImplementor<?> declaredViewType) |
public static final java.lang.String ID_PARAM_NAME
public static final java.lang.String VERSION_PARAM_NAME
public EntityViewUpdaterImpl(EntityViewManagerImpl evm, ManagedViewTypeImplementor<?> viewType, ManagedViewTypeImplementor<?> declaredViewType)
public static ViewToEntityMapper createViewIdMapper(EntityViewManagerImpl evm, ManagedViewType<?> viewType)
public static DirtyAttributeFlusher<?,java.lang.Object,java.lang.Object> createIdFlusher(EntityViewManagerImpl evm, ViewType<?> viewType, ViewToEntityMapper viewToEntityMapper)
public FetchGraphNode<?> getFullGraphNode()
getFullGraphNode
in interface EntityViewUpdater
public <T extends DirtyAttributeFlusher<T,E,V>,E,V> DirtyAttributeFlusher<T,E,V> getNestedDirtyFlusher(UpdateContext context, MutableStateTrackable updatableProxy, DirtyAttributeFlusher<T,E,V> fullFlusher)
getNestedDirtyFlusher
in interface EntityViewUpdater
public DirtyChecker<DirtyStateTrackable> getDirtyChecker()
getDirtyChecker
in interface EntityViewUpdater
public void executeUpdate(UpdateContext context, MutableStateTrackable updatableProxy)
executeUpdate
in interface EntityViewUpdater
public java.lang.Object executeUpdate(UpdateContext context, java.lang.Object entity, MutableStateTrackable updatableProxy)
executeUpdate
in interface EntityViewUpdater
public javax.persistence.Query createUpdateQuery(UpdateContext context, MutableStateTrackable updatableProxy, DirtyAttributeFlusher<?,?,?> flusher)
createUpdateQuery
in interface EntityViewUpdater
public java.lang.Object executePersist(UpdateContext context, MutableStateTrackable updatableProxy)
executePersist
in interface EntityViewUpdater
public java.lang.Object executePersist(UpdateContext context, java.lang.Object entity, MutableStateTrackable updatableProxy)
executePersist
in interface EntityViewUpdater
public void remove(UpdateContext context, EntityViewProxy entityView)
remove
in interface EntityViewUpdater
public void remove(UpdateContext context, java.lang.Object id)
remove
in interface EntityViewUpdater
Copyright © 2014–2018 Blazebit. All rights reserved.