Class SimpleUpdateContext
java.lang.Object
com.blazebit.persistence.view.impl.update.SimpleUpdateContext
- All Implemented Interfaces:
UpdateContext
- Since:
- 1.3.0
- Author:
- Christian Beikov
-
Constructor Summary
ConstructorsConstructorDescriptionSimpleUpdateContext(EntityViewManagerImpl evm, javax.persistence.EntityManager em) -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddRemovedObject(Object value) booleanaddVersionCheck(Class<?> entityClass, Object id) booleancontainsEntity(Class<?> entityClass, Object id) javax.persistence.EntityManagergetEntityView(Class<?> viewType, Class<?> entityClass, Object updatableProxy, boolean convertOnly, boolean prePhase) getEntityView(Class<?> viewType, Class<?> entityClass, Object updatableProxy, boolean convertOnly, boolean prePhase, javax.persistence.EntityManager entityManager) booleanhasPossiblyCancellingRemoveListeners(Class<?> elementEntityClass) booleanhasRemoveListeners(Class<?> elementEntityClass) voidinvokePostPersist(MutableStateTrackable updatableProxy, Object entity) voidinvokePostRemove(EntityViewProxy entityView) voidinvokePostRemove(Class<?> entityClass, Object entityId) voidinvokePostUpdate(MutableStateTrackable updatableProxy) voidinvokePrePersist(MutableStateTrackable updatableProxy, Object entity) booleaninvokePreRemove(EntityViewProxy entityViewProxy) booleaninvokePreRemove(Class<?> entityClass, Object entityId) booleaninvokePreUpdate(MutableStateTrackable updatableProxy) booleanbooleanbooleanisRemovedObject(Object value) voidremoveOrphans(int orphanRemovalStartIndex) voidremoveRemovedObject(Object value)
-
Constructor Details
-
SimpleUpdateContext
-
-
Method Details
-
getEntityViewManager
- Specified by:
getEntityViewManagerin interfaceUpdateContext
-
getEntityManager
public javax.persistence.EntityManager getEntityManager()- Specified by:
getEntityManagerin interfaceUpdateContext
-
containsEntity
- Specified by:
containsEntityin interfaceUpdateContext
-
isForceFull
public boolean isForceFull()- Specified by:
isForceFullin interfaceUpdateContext
-
isForceEntity
public boolean isForceEntity()- Specified by:
isForceEntityin interfaceUpdateContext
-
addVersionCheck
- Specified by:
addVersionCheckin interfaceUpdateContext
-
addRemovedObject
- Specified by:
addRemovedObjectin interfaceUpdateContext
-
removeRemovedObject
- Specified by:
removeRemovedObjectin interfaceUpdateContext
-
isRemovedObject
- Specified by:
isRemovedObjectin interfaceUpdateContext
-
getTransactionAccess
- Specified by:
getTransactionAccessin interfaceUpdateContext
-
getInitialStateResetter
- Specified by:
getInitialStateResetterin interfaceUpdateContext
-
getOrphanRemovalDeleters
- Specified by:
getOrphanRemovalDeletersin interfaceUpdateContext
-
removeOrphans
public void removeOrphans(int orphanRemovalStartIndex) - Specified by:
removeOrphansin interfaceUpdateContext
-
invokePrePersist
- Specified by:
invokePrePersistin interfaceUpdateContext
-
invokePostPersist
- Specified by:
invokePostPersistin interfaceUpdateContext
-
invokePreUpdate
- Specified by:
invokePreUpdatein interfaceUpdateContext
-
invokePostUpdate
- Specified by:
invokePostUpdatein interfaceUpdateContext
-
invokePreRemove
- Specified by:
invokePreRemovein interfaceUpdateContext
-
invokePreRemove
- Specified by:
invokePreRemovein interfaceUpdateContext
-
invokePostRemove
- Specified by:
invokePostRemovein interfaceUpdateContext
-
invokePostRemove
- Specified by:
invokePostRemovein interfaceUpdateContext
-
getEntityView
public EntityViewProxy getEntityView(Class<?> viewType, Class<?> entityClass, Object updatableProxy, boolean convertOnly, boolean prePhase) - Specified by:
getEntityViewin interfaceUpdateContext
-
getEntityView
public EntityViewProxy getEntityView(Class<?> viewType, Class<?> entityClass, Object updatableProxy, boolean convertOnly, boolean prePhase, javax.persistence.EntityManager entityManager) - Specified by:
getEntityViewin interfaceUpdateContext
-
hasRemoveListeners
- Specified by:
hasRemoveListenersin interfaceUpdateContext
-
hasPossiblyCancellingRemoveListeners
- Specified by:
hasPossiblyCancellingRemoveListenersin interfaceUpdateContext
-