org.hibernate.action
Class EntityInsertAction

java.lang.Object
  extended byorg.hibernate.action.EntityAction
      extended byorg.hibernate.action.EntityInsertAction
All Implemented Interfaces:
Comparable, Executable, Serializable

public final class EntityInsertAction
extends EntityAction

See Also:
Serialized Form

Constructor Summary
EntityInsertAction(Serializable id, Object[] state, Object instance, Object version, EntityPersister persister, SessionImplementor session)
           
 
Method Summary
 void afterTransactionCompletion(boolean success)
          Called after the transaction completes
 void execute()
          Execute this action
 Object[] getState()
           
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

EntityInsertAction

public EntityInsertAction(Serializable id,
                          Object[] state,
                          Object instance,
                          Object version,
                          EntityPersister persister,
                          SessionImplementor session)
                   throws HibernateException
Method Detail

getState

public Object[] getState()

execute

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

Throws:
HibernateException

afterTransactionCompletion

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

Throws:
HibernateException

hasPostCommitEventListeners

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