public class PreDeleteEvent extends AbstractPreDatabaseOperationEvent implements PermissionCheckEntityInformation
Constructor and Description |
---|
PreDeleteEvent(Object entity,
Serializable id,
Object[] deletedState,
EntityPersister persister,
EventSource source)
Constructs an event containing the pertinent information.
|
Modifier and Type | Method and Description |
---|---|
Object[] |
getDeletedState()
Getter for property 'deletedState'.
|
getEntity, getEntityName, getId, getIdentifier, getPersister, getSource
getSession
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEntity, getEntityName, getIdentifier
public PreDeleteEvent(Object entity, Serializable id, Object[] deletedState, EntityPersister persister, EventSource source)
entity
- The entity to be deleted.id
- The id to use in the deletion.deletedState
- The entity's state at deletion time.persister
- The entity's persister.source
- The session from which the event originated.public Object[] getDeletedState()
Copyright © 2016 JBoss by Red Hat. All rights reserved.