Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.hibernate.action
Class EntityDeleteAction  view EntityDeleteAction download EntityDeleteAction.java

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

public final class EntityDeleteAction
extends EntityAction


Field Summary
private  boolean isCascadeDeleteEnabled
           
private  org.hibernate.cache.CacheConcurrencyStrategy.SoftLock lock
           
private  java.lang.Object[] state
           
private  java.lang.Object version
           
 
Fields inherited from class org.hibernate.action.EntityAction
 
Constructor Summary
EntityDeleteAction(java.io.Serializable id, java.lang.Object[] state, java.lang.Object version, java.lang.Object instance, org.hibernate.persister.entity.EntityPersister persister, boolean isCascadeDeleteEnabled, org.hibernate.engine.SessionImplementor session)
           
 
Method Summary
 void afterTransactionCompletion(boolean success)
          Called after the transaction completes
 void execute()
          Execute this action
protected  boolean hasPostCommitEventListeners()
           
private  void postCommitDelete()
           
private  void postDelete()
           
private  boolean preDelete()
           
 
Methods inherited from class org.hibernate.action.EntityAction
beforeExecutions, compareTo, getId, getInstance, getPersister, getPropertySpaces, getSession, hasAfterTransactionCompletion, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

version

private final java.lang.Object version

lock

private org.hibernate.cache.CacheConcurrencyStrategy.SoftLock lock

isCascadeDeleteEnabled

private final boolean isCascadeDeleteEnabled

state

private final java.lang.Object[] state
Constructor Detail

EntityDeleteAction

public EntityDeleteAction(java.io.Serializable id,
                          java.lang.Object[] state,
                          java.lang.Object version,
                          java.lang.Object instance,
                          org.hibernate.persister.entity.EntityPersister persister,
                          boolean isCascadeDeleteEnabled,
                          org.hibernate.engine.SessionImplementor session)
Method Detail

execute

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


preDelete

private boolean preDelete()

postDelete

private void postDelete()

postCommitDelete

private void postCommitDelete()

afterTransactionCompletion

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


hasPostCommitEventListeners

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