public abstract class AbstractPreDatabaseOperationEvent extends AbstractEvent implements PermissionCheckEntityInformation
| Constructor and Description |
|---|
AbstractPreDatabaseOperationEvent(EventSource source,
Object entity,
Serializable id,
EntityPersister persister)
Constructs an event containing the pertinent information.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getEntity()
Deprecated.
Support for JACC will be removed in 6.0
|
String |
getEntityName()
Deprecated.
Support for JACC will be removed in 6.0
|
Serializable |
getId()
The id to be used in the database operation.
|
Serializable |
getIdentifier()
Deprecated.
Support for JACC will be removed in 6.0
|
EntityPersister |
getPersister()
The persister for the
entity. |
EventSource |
getSource()
Deprecated.
Use
AbstractEvent.getSession() instead |
getSessionpublic AbstractPreDatabaseOperationEvent(EventSource source, Object entity, Serializable id, EntityPersister persister)
source - The session from which the event originated.entity - The entity to be involved in the database operation.id - The entity id to be involved in the database operation.persister - The entity's persister.@Deprecated public Object getEntity()
getEntity in interface PermissionCheckEntityInformationpublic Serializable getId()
public EntityPersister getPersister()
entity.@Deprecated public EventSource getSource()
AbstractEvent.getSession() insteadAbstractEvent.@Deprecated public String getEntityName()
getEntityName in interface PermissionCheckEntityInformation@Deprecated public Serializable getIdentifier()
getIdentifier in interface PermissionCheckEntityInformationCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.