| Modifier and Type | Field and Description |
|---|---|
| private Object[] |
| Access | Constructor and Description |
|---|---|
| public | PreDeleteEvent(Object
The entity to be deleted. entity, Serializable The id to use in the deletion. id, Object[] The entity's state at deletion time. deletedState, EntityPersister The entity's persister. persister, EventSource The session from which the event originated. source)Constructs an event containing the pertinent information. |
| Modifier and Type | Method and Description |
|---|---|
| public Object[] |
| deletedState | back to summary |
|---|---|
| private Object[] deletedState | |
| PreDeleteEvent | back to summary |
|---|---|
| public PreDeleteEvent(Object entity, Serializable id, Object[] deletedState, EntityPersister persister, EventSource source) Constructs an event containing the pertinent information.
| |
| getDeletedState | back to summary |
|---|---|
| public Object[] getDeletedState() Getter for property 'deletedState'. This is the entity state at the time of deletion (useful for optomistic locking and such).
| |