org.hibernate.action
Class EntityDeleteAction
java.lang.Object
org.hibernate.action.EntityAction
org.hibernate.action.EntityDeleteAction
- All Implemented Interfaces:
- Serializable, Comparable, AfterTransactionCompletionProcess, Executable
public final class EntityDeleteAction
- extends EntityAction
- See Also:
- Serialized Form
Methods inherited from class org.hibernate.action.EntityAction |
beforeExecutions, compareTo, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getEntityName, getId, getInstance, getPersister, getPropertySpaces, getSession, needsAfterTransactionCompletion, toString |
EntityDeleteAction
public EntityDeleteAction(Serializable id,
Object[] state,
Object version,
Object instance,
EntityPersister persister,
boolean isCascadeDeleteEnabled,
SessionImplementor session)
execute
public void execute()
throws HibernateException
- Description copied from interface:
Executable
- Execute this action
- Throws:
HibernateException
- Indicates a problem during execution.
doAfterTransactionCompletion
public void doAfterTransactionCompletion(boolean success,
SessionImplementor session)
throws HibernateException
- Description copied from interface:
AfterTransactionCompletionProcess
- Perform whatever processing is encapsulated here after completion of the transaction.
- Parameters:
success
- Did the transaction complete successfully? True means it did.session
- The session on which the transaction is completing.
- Throws:
HibernateException
hasPostCommitEventListeners
protected boolean hasPostCommitEventListeners()
- Specified by:
hasPostCommitEventListeners
in class EntityAction
Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.