public final class EntityUpdateAction extends EntityAction
Constructor and Description |
---|
EntityUpdateAction(java.io.Serializable id,
java.lang.Object[] state,
int[] dirtyProperties,
boolean hasDirtyCollection,
java.lang.Object[] previousState,
java.lang.Object previousVersion,
java.lang.Object nextVersion,
java.lang.Object instance,
java.lang.Object rowId,
EntityPersister persister,
SessionImplementor session) |
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, toString
public EntityUpdateAction(java.io.Serializable id, java.lang.Object[] state, int[] dirtyProperties, boolean hasDirtyCollection, java.lang.Object[] previousState, java.lang.Object previousVersion, java.lang.Object nextVersion, java.lang.Object instance, java.lang.Object rowId, EntityPersister persister, SessionImplementor session) throws HibernateException
HibernateException
public void execute() throws HibernateException
Executable
HibernateException
- Indicates a problem during execution.protected boolean hasPostCommitEventListeners()
hasPostCommitEventListeners
in class EntityAction
public void doAfterTransactionCompletion(boolean success, SessionImplementor session) throws CacheException
AfterTransactionCompletionProcess
success
- Did the transaction complete successfully? True means it did.session
- The session on which the transaction is completing.CacheException
Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.