Top Description Fields Constructors Methods
org.hibernate.event.spi

public Class PreLoadEvent

extends AbstractEvent
implements PermissionCheckEntityInformation
Class Inheritance
All Implemented Interfaces
org.hibernate.secure.spi.PermissionCheckEntityInformation
Imports
java.io.Serializable, org.hibernate.persister.entity.EntityPersister, org.hibernate.secure.spi.PermissionCheckEntityInformation

Deprecated

as a consequence of PermissionCheckEntityInformation being deprecated. See corresponding docs for further information.

Called before injecting property values into a newly loaded entity instance.
Author
Gavin King

Field Summary

Modifier and TypeField and Description
private Object
private Serializable
private EntityPersister
private Object[]

Constructor Summary

AccessConstructor and Description
public
PreLoadEvent(EventSource session)

Deprecated as a consequence of EventSource being deprecated.

Method Summary

Modifier and TypeMethod and Description
public Object
public String
public Serializable
public Serializable
public EntityPersister
public Object[]
public PreLoadEvent
setEntity(Object entity)

Deprecated as a consequence of PreLoadEvent being deprecated.
public PreLoadEvent
setId(Serializable id)

Deprecated as a consequence of PreLoadEvent being deprecated.
public PreLoadEvent
setPersister(EntityPersister persister)

Deprecated as a consequence of PreLoadEvent being deprecated.
public PreLoadEvent
setState(Object[] state)

Deprecated as a consequence of PreLoadEvent being deprecated.
Inherited from org.hibernate.event.spi.AbstractEvent:
getSession

Field Detail

entityback to summary
private Object entity
idback to summary
private Serializable id
persisterback to summary
private EntityPersister persister
stateback to summary
private Object[] state

Constructor Detail

PreLoadEventback to summary
public PreLoadEvent(EventSource session)

Deprecated

as a consequence of EventSource being deprecated. See corresponding docs for further information.

Method Detail

getEntityback to summary
public Object getEntity()

Implements org.hibernate.secure.spi.PermissionCheckEntityInformation.getEntity.

Annotations
@Override
getEntityNameback to summary
public String getEntityName()

Implements org.hibernate.secure.spi.PermissionCheckEntityInformation.getEntityName.

Annotations
@Override
getIdback to summary
public Serializable getId()
getIdentifierback to summary
public Serializable getIdentifier()

Implements org.hibernate.secure.spi.PermissionCheckEntityInformation.getIdentifier.

Annotations
@Override
getPersisterback to summary
public EntityPersister getPersister()
getStateback to summary
public Object[] getState()
setEntityback to summary
public PreLoadEvent setEntity(Object entity)

Deprecated

as a consequence of PreLoadEvent being deprecated. See corresponding docs for further information.

setIdback to summary
public PreLoadEvent setId(Serializable id)

Deprecated

as a consequence of PreLoadEvent being deprecated. See corresponding docs for further information.

setPersisterback to summary
public PreLoadEvent setPersister(EntityPersister persister)

Deprecated

as a consequence of PreLoadEvent being deprecated. See corresponding docs for further information.

setStateback to summary
public PreLoadEvent setState(Object[] state)

Deprecated

as a consequence of PreLoadEvent being deprecated. See corresponding docs for further information.