org.hibernate.action
public final class EntityDeleteAction extends EntityAction
Constructor and Description |
---|
EntityDeleteAction(java.io.Serializable id,
java.lang.Object[] state,
java.lang.Object version,
java.lang.Object instance,
EntityPersister persister,
boolean isCascadeDeleteEnabled,
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() |
beforeExecutions, compareTo, getAfterTransactionCompletionProcess, getBeforeTransactionCompletionProcess, getEntityName, getId, getInstance, getPersister, getPropertySpaces, getSession, needsAfterTransactionCompletion, toString
public EntityDeleteAction(java.io.Serializable id, java.lang.Object[] state, java.lang.Object version, java.lang.Object instance, EntityPersister persister, boolean isCascadeDeleteEnabled, SessionImplementor session)
public void execute() throws HibernateException
Executable
HibernateException
- Indicates a problem during execution.public void doAfterTransactionCompletion(boolean success, SessionImplementor session) throws HibernateException
AfterTransactionCompletionProcess
success
- Did the transaction complete successfully? True means it did.session
- The session on which the transaction is completing.HibernateException
protected boolean hasPostCommitEventListeners()
hasPostCommitEventListeners
in class EntityAction
Copyright © 2014. All Rights Reserved.