Package lumis.portal.event.persistence
Class PreLoadEvent
- java.lang.Object
-
- lumis.portal.event.AbstractPortalEvent
-
- lumis.portal.event.AbstractTransactionalPortalEvent
-
- lumis.portal.event.persistence.PersistenceEvent
-
- lumis.portal.event.persistence.PreLoadEvent
-
- All Implemented Interfaces:
IPortalEvent
@StableMinor(version="16.1", sinceVersion="4.2") public class PreLoadEvent extends PersistenceEvent
Event raised before the loading of an entity from persistence.Note: A persistence event may have been generated during a JPA entity lifecycle callback. In such situations, JPA limitations (such as the application should not access EntityManager, other entities, or change relations) apply.
- Since:
- 4.1.0
- Version:
- $Revision: 26156 $ $Date: 2024-01-13 10:26:46 -0300 (Sat, 13 Jan 2024) $
-
-
Constructor Summary
Constructors Constructor Description PreLoadEvent(SessionConfig sessionConfig, java.lang.Class<?> entityClass, java.lang.Object entity, ITransaction transaction)
PreLoadEvent(SessionConfig sessionConfig, java.lang.Class<?> entityClass, java.util.Collection<?> entities, ITransaction transaction)
-
Method Summary
-
Methods inherited from class lumis.portal.event.persistence.PersistenceEvent
getEntities, isBefore
-
Methods inherited from class lumis.portal.event.AbstractTransactionalPortalEvent
getSessionConfig, getTransaction
-
Methods inherited from class lumis.portal.event.AbstractPortalEvent
getEventGroups, getOperationType, setEventGroups, setOperationType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.portal.event.IPortalEvent
toString
-
-
-
-
Constructor Detail
-
PreLoadEvent
public PreLoadEvent(SessionConfig sessionConfig, java.lang.Class<?> entityClass, java.lang.Object entity, ITransaction transaction)
-
PreLoadEvent
public PreLoadEvent(SessionConfig sessionConfig, java.lang.Class<?> entityClass, java.util.Collection<?> entities, ITransaction transaction)
-
-