站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.4 正式版 API 英文文档

PreDeleteEvent (Hibernate API Documentation) - Hibernate 3.2.4 正式版 API 英文文档


org.hibernate.event
Class PreDeleteEvent

java.lang.Object
  extended byorg.hibernate.event.PreDeleteEvent

public class PreDeleteEvent
extends Object

Occurs before deleting an item from the datastore

Author:
Gavin King

Constructor Summary
PreDeleteEvent(Object entity, Serializable id, Object[] deletedState, EntityPersister persister)
           
 
Method Summary
 Object[] getDeletedState()
           
 Object getEntity()
           
 Serializable getId()
           
 EntityPersister getPersister()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreDeleteEvent

public PreDeleteEvent(Object entity,
                      Serializable id,
                      Object[] deletedState,
                      EntityPersister persister)
Method Detail

getEntity

public Object getEntity()

getId

public Serializable getId()

getPersister

public EntityPersister getPersister()

getDeletedState

public Object[] getDeletedState()