Interface ViewToEntityMapper
- All Superinterfaces:
ElementToEntityMapper
,UpdateQueryFactory
- All Known Implementing Classes:
AbstractViewToEntityMapper
,EmbeddableUpdaterBasedViewToEntityMapper
,LoadOnlyViewToEntityMapper
,LoadOrPersistViewToEntityMapper
,UpdaterBasedViewToEntityMapper
public interface ViewToEntityMapper extends ElementToEntityMapper, UpdateQueryFactory
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Method Summary
Modifier and Type Method Description boolean
cascades(Object value)
Object
flushToEntity(UpdateContext context, Object entity, Object view)
AttributeAccessor
getEntityIdAccessor()
FetchGraphNode<?>
getFullGraphNode()
DirtyAttributeFlusher<?,?,?>
getIdFlusher()
<T extends DirtyAttributeFlusher<T, E, V>, E, V>
DirtyAttributeFlushergetNestedDirtyFlusher(UpdateContext context, MutableStateTrackable current, DirtyAttributeFlusher<T,E,V> fullFlusher)
EntityViewUpdater
getUpdater(Object view)
AttributeAccessor
getViewIdAccessor()
void
loadEntities(UpdateContext context, List<Object> views)
Object
loadEntity(UpdateContext context, Object view)
Methods inherited from interface com.blazebit.persistence.view.impl.entity.ElementToEntityMapper
applyAll, applyToEntity, remove, removeById
Methods inherited from interface com.blazebit.persistence.view.impl.update.UpdateQueryFactory
createUpdateQuery
-
Method Details
-
getFullGraphNode
FetchGraphNode<?> getFullGraphNode() -
getIdFlusher
DirtyAttributeFlusher<?,?,?> getIdFlusher() -
getNestedDirtyFlusher
<T extends DirtyAttributeFlusher<T, E, V>, E, V> DirtyAttributeFlusher getNestedDirtyFlusher(UpdateContext context, MutableStateTrackable current, DirtyAttributeFlusher<T,E,V> fullFlusher) -
getViewIdAccessor
AttributeAccessor getViewIdAccessor() -
getEntityIdAccessor
AttributeAccessor getEntityIdAccessor() -
getUpdater
-
flushToEntity
-
loadEntity
-
loadEntities
-
cascades
-