org.hibernate.action
Class EntityUpdateAction

java.lang.Object
  extended by org.hibernate.action.EntityAction
      extended by org.hibernate.action.EntityUpdateAction
All Implemented Interfaces:
Serializable, Comparable, Executable

public final class EntityUpdateAction
extends EntityAction

See Also:
Serialized Form

Constructor Summary
EntityUpdateAction(Serializable id, Object[] state, int[] dirtyProperties, boolean hasDirtyCollection, Object[] previousState, Object previousVersion, Object nextVersion, Object instance, Object rowId, EntityPersister persister, SessionImplementor session)
           
 
Method Summary
 void afterTransactionCompletion(boolean success)
          Called after the transaction completes
 void execute()
          Execute this action
protected  boolean hasPostCommitEventListeners()
           
 
Methods inherited from class org.hibernate.action.EntityAction
beforeExecutions, compareTo, getEntityName, getId, getInstance, getPersister, getPropertySpaces, getSession, hasAfterTransactionCompletion, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EntityUpdateAction

public EntityUpdateAction(Serializable id,
                          Object[] state,
                          int[] dirtyProperties,
                          boolean hasDirtyCollection,
                          Object[] previousState,
                          Object previousVersion,
                          Object nextVersion,
                          Object instance,
                          Object rowId,
                          EntityPersister persister,
                          SessionImplementor session)
                   throws HibernateException
Throws:
HibernateException
Method Detail

execute

public void execute()
             throws HibernateException
Description copied from interface: Executable
Execute this action

Throws:
HibernateException

afterTransactionCompletion

public void afterTransactionCompletion(boolean success)
                                throws CacheException
Description copied from interface: Executable
Called after the transaction completes

Throws:
CacheException

hasPostCommitEventListeners

protected boolean hasPostCommitEventListeners()
Specified by:
hasPostCommitEventListeners in class EntityAction


Copyright © 2009 Hibernate.org. All Rights Reserved.