public final class EntityDeleteAction extends EntityAction
| Constructor and Description |
|---|
EntityDeleteAction(Serializable id,
Object[] state,
Object version,
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, toStringpublic EntityDeleteAction(Serializable id, Object[] state, Object version, Object instance, EntityPersister persister, boolean isCascadeDeleteEnabled, SessionImplementor session)
public void execute()
throws HibernateException
ExecutableHibernateException - Indicates a problem during execution.public void doAfterTransactionCompletion(boolean success,
SessionImplementor session)
throws HibernateException
AfterTransactionCompletionProcesssuccess - Did the transaction complete successfully? True means it did.session - The session on which the transaction is completing.HibernateExceptionprotected boolean hasPostCommitEventListeners()
hasPostCommitEventListeners in class EntityActionCopyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved