Deprecated
as a consequence of AbstractPreDatabaseOperationEvent and PermissionCheckEntityInformation being deprecated. See corresponding docs for further information.
| 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)
Deprecated
as a consequence of
Constructs an event containing the pertinent information.
EventSource being deprecated.
|
| 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)
Deprecated as a consequence of 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 optimistic locking and such).
| |