Package org.hibernate.event.spi
Class PreLoadEvent
- java.lang.Object
-
- org.hibernate.event.spi.AbstractEvent
-
- org.hibernate.event.spi.PreLoadEvent
-
- All Implemented Interfaces:
java.io.Serializable,PermissionCheckEntityInformation
public class PreLoadEvent extends AbstractEvent implements PermissionCheckEntityInformation
Called before injecting property values into a newly loaded entity instance.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PreLoadEvent(EventSource session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetEntity()java.lang.StringgetEntityName()java.io.SerializablegetId()java.io.SerializablegetIdentifier()EntityPersistergetPersister()java.lang.Object[]getState()PreLoadEventsetEntity(java.lang.Object entity)PreLoadEventsetId(java.io.Serializable id)PreLoadEventsetPersister(EntityPersister persister)PreLoadEventsetState(java.lang.Object[] state)-
Methods inherited from class org.hibernate.event.spi.AbstractEvent
getSession
-
-
-
-
Constructor Detail
-
PreLoadEvent
public PreLoadEvent(EventSource session)
-
-
Method Detail
-
getEntity
public java.lang.Object getEntity()
- Specified by:
getEntityin interfacePermissionCheckEntityInformation
-
getId
public java.io.Serializable getId()
-
getPersister
public EntityPersister getPersister()
-
getState
public java.lang.Object[] getState()
-
setEntity
public PreLoadEvent setEntity(java.lang.Object entity)
-
setId
public PreLoadEvent setId(java.io.Serializable id)
-
setPersister
public PreLoadEvent setPersister(EntityPersister persister)
-
setState
public PreLoadEvent setState(java.lang.Object[] state)
-
getEntityName
public java.lang.String getEntityName()
- Specified by:
getEntityNamein interfacePermissionCheckEntityInformation
-
getIdentifier
public java.io.Serializable getIdentifier()
- Specified by:
getIdentifierin interfacePermissionCheckEntityInformation
-
-