lumis.portal.event.persistence
Class PreDeleteEvent

Package class diagram package PreDeleteEvent
java.lang.Object
  extended by lumis.portal.event.AbstractPortalEvent
      extended by lumis.portal.event.AbstractTransactionalPortalEvent
          extended by lumis.portal.event.persistence.PersistenceEvent
              extended by lumis.portal.event.persistence.PreDeleteEvent
All Implemented Interfaces:
IPortalEvent

@StableMinor(version="6.2",
             sinceVersion="4.2")
public class PreDeleteEvent
extends PersistenceEvent

Event raised before the delete 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

Constructor Summary
PreDeleteEvent(SessionConfig sessionConfig, Class<?> entityClass, Collection<?> entities, ITransaction transaction)
           
PreDeleteEvent(SessionConfig sessionConfig, Class<?> entityClass, Object entity, 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

PreDeleteEvent

public PreDeleteEvent(SessionConfig sessionConfig,
                      Class<?> entityClass,
                      Object entity,
                      ITransaction transaction)

PreDeleteEvent

public PreDeleteEvent(SessionConfig sessionConfig,
                      Class<?> entityClass,
                      Collection<?> entities,
                      ITransaction transaction)


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.