public final class EntityUpdateAction extends EntityAction
| Constructor and Description |
|---|
EntityUpdateAction(Serializable id,
Object[] state,
int[] dirtyProperties,
boolean hasDirtyCollection,
Object[] previousState,
Object previousVersion,
Object nextVersion,
Object instance,
Object rowId,
EntityPersister persister,
SessionImplementor session)
Constructs an EntityUpdateAction
|
| Modifier and Type | Method and Description |
|---|---|
void |
doAfterTransactionCompletion(boolean success,
SessionImplementor session)
Perform whatever processing is encapsulated here after completion of the transaction.
|
void |
execute()
Execute this action.
|
protected boolean |
hasPostCommitEventListeners() |
afterDeserialize, beforeExecutions, compareTo, eventSource, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getDelayedId, getEntityName, getId, getInstance, getPersister, getPropertySpaces, getSession, listenerGroup, needsAfterTransactionCompletion, toStringpublic EntityUpdateAction(Serializable id, Object[] state, int[] dirtyProperties, boolean hasDirtyCollection, Object[] previousState, Object previousVersion, Object nextVersion, Object instance, Object rowId, EntityPersister persister, SessionImplementor session)
id - The entity identifierstate - The current (extracted) entity statedirtyProperties - The indexes (in reference to state) properties with dirty statehasDirtyCollection - Were any collections dirty?previousState - The previous (stored) statepreviousVersion - The previous (stored) versionnextVersion - The incremented versioninstance - The entity instancerowId - The entity's rowidpersister - The entity's persistersession - The sessionpublic void execute()
throws HibernateException
ExecutableHibernateException - Indicates a problem during execution.protected boolean hasPostCommitEventListeners()
hasPostCommitEventListeners in class EntityActionpublic void doAfterTransactionCompletion(boolean success,
SessionImplementor session)
throws CacheException
AfterTransactionCompletionProcesssuccess - Did the transaction complete successfully? True means it did.session - The session on which the transaction is completing.CacheExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.