lumis.portal.event.persistence
Class PreUpdateEvent

Package class diagram package PreUpdateEvent
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.PreUpdateEvent
All Implemented Interfaces:
IPortalEvent

public class PreUpdateEvent
extends PersistenceEvent

Event raised before the update of an entity in persistence.

Since:
4.1.0

Constructor Summary
PreUpdateEvent(SessionConfig sessionConfig, Class<?> entityClass, List<?> oldEntities, List<?> newEntities, ITransaction transaction)
           
PreUpdateEvent(SessionConfig sessionConfig, Class<?> entityClass, Object oldEntity, Object entity, ITransaction transaction)
           
 
Method Summary
 List<?> getEntities()
          Returns the entities affected by this persistence event.
 List<?> getOldEntities()
           
 
Methods inherited from class lumis.portal.event.persistence.PersistenceEvent
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

PreUpdateEvent

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

PreUpdateEvent

public PreUpdateEvent(SessionConfig sessionConfig,
                      Class<?> entityClass,
                      List<?> oldEntities,
                      List<?> newEntities,
                      ITransaction transaction)
Method Detail

getEntities

public List<?> getEntities()
Description copied from class: PersistenceEvent
Returns the entities affected by this persistence event.

Overrides:
getEntities in class PersistenceEvent
Returns:
the entities.

getOldEntities

public List<?> getOldEntities()


Lumisportal  4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.