org.hibernate.action

Class EntityDeleteAction

Implemented Interfaces:
Comparable, Executable, Serializable

public final class EntityDeleteAction
extends EntityAction

Constructor Summary

EntityDeleteAction(Serializable id, Object[] state, Object version, Object instance, EntityPersister persister, boolean isCascadeDeleteEnabled, SessionImplementor session)

Method Summary

void
afterTransactionCompletion(boolean success)
void
execute()
protected boolean
hasPostCommitEventListeners()

Methods inherited from class org.hibernate.action.EntityAction

beforeExecutions, compareTo, getEntityName, getId, getInstance, getPersister, getPropertySpaces, getSession, hasAfterTransactionCompletion, hasPostCommitEventListeners, toString

Constructor Details

EntityDeleteAction

public EntityDeleteAction(Serializable id,
                          Object[] state,
                          Object version,
                          Object instance,
                          EntityPersister persister,
                          boolean isCascadeDeleteEnabled,
                          SessionImplementor session)

Method Details

afterTransactionCompletion

public void afterTransactionCompletion(boolean success)
            throws HibernateException
Specified by:
afterTransactionCompletion in interface Executable

execute

public void execute()
            throws HibernateException
Specified by:
execute in interface Executable

hasPostCommitEventListeners

protected boolean hasPostCommitEventListeners()
Overrides:
hasPostCommitEventListeners in interface EntityAction