public abstract class BaseEnversUpdateEventListener extends BaseEnversEventListener
Constructor and Description |
---|
BaseEnversUpdateEventListener(EnversService enversService) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isDetachedEntityUpdate(String entityName,
Object[] oldState)
Returns whether the entity has
withModifiedFlag features and has no old state, most likely implying
it was updated in a detached entity state. |
checkIfTransactionInProgress, generateBidirectionalCollectionChangeWorkUnits, getEnversService
public BaseEnversUpdateEventListener(EnversService enversService)
protected boolean isDetachedEntityUpdate(String entityName, Object[] oldState)
withModifiedFlag
features and has no old state, most likely implying
it was updated in a detached entity state.entityName
- The associated entity name.oldState
- The event old (likely detached) entity state.true
if the entity is/has been updated in detached state, otherwise false
.Copyright © 2021 JBoss by Red Hat. All rights reserved.