Class AbstractEntityToEntityMapper
java.lang.Object
com.blazebit.persistence.view.impl.entity.AbstractEntityToEntityMapper
- All Implemented Interfaces:
ElementToEntityMapper
,EntityToEntityMapper
- Direct Known Subclasses:
DefaultEntityToEntityMapper
,LoadOnlyEntityToEntityMapper
public abstract class AbstractEntityToEntityMapper extends Object implements EntityToEntityMapper
- Since:
- 1.2.0
- Author:
- Christian Beikov
-
Field Summary
Fields Modifier and Type Field Description protected EntityLoaderFetchGraphNode<?>
entityLoaderFetchGraphNode
-
Constructor Summary
Constructors Constructor Description AbstractEntityToEntityMapper(EntityLoaderFetchGraphNode<?> entityLoaderFetchGraphNode, UnmappedAttributeCascadeDeleter deleter)
-
Method Summary
Modifier and Type Method Description void
applyAll(UpdateContext context, List<Object> elements)
EntityLoaderFetchGraphNode<?>
getFetchGraph(String[] dirtyProperties)
EntityLoaderFetchGraphNode<?>
getFullGraphNode()
void
remove(UpdateContext context, Object element)
void
removeById(UpdateContext context, Object elementId)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.blazebit.persistence.view.impl.entity.ElementToEntityMapper
applyToEntity
Methods inherited from interface com.blazebit.persistence.view.impl.entity.EntityToEntityMapper
getDirtyChecker
-
Field Details
-
Constructor Details
-
AbstractEntityToEntityMapper
public AbstractEntityToEntityMapper(EntityLoaderFetchGraphNode<?> entityLoaderFetchGraphNode, UnmappedAttributeCascadeDeleter deleter)
-
-
Method Details
-
remove
- Specified by:
remove
in interfaceElementToEntityMapper
-
removeById
- Specified by:
removeById
in interfaceElementToEntityMapper
-
getFullGraphNode
- Specified by:
getFullGraphNode
in interfaceEntityToEntityMapper
-
getFetchGraph
- Specified by:
getFetchGraph
in interfaceEntityToEntityMapper
-
applyAll
- Specified by:
applyAll
in interfaceElementToEntityMapper
-