org.hibernate.event

Class PreDeleteEvent


public class PreDeleteEvent
extends java.lang.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()

Constructor Details

PreDeleteEvent

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

Method Details

getDeletedState

public Object[] getDeletedState()

getEntity

public Object getEntity()

getId

public Serializable getId()

getPersister

public EntityPersister getPersister()