lumis.portal.event.persistence
Class PostUpdateEvent
java.lang.Object
lumis.portal.event.AbstractPortalEvent
lumis.portal.event.AbstractTransactionalPortalEvent
lumis.portal.event.persistence.PersistenceEvent
lumis.portal.event.persistence.PostUpdateEvent
- All Implemented Interfaces:
- IPortalEvent
public class PostUpdateEvent
- extends PersistenceEvent
Event raised after the update of an entity in persistence.
- Since:
- 4.1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostUpdateEvent
public PostUpdateEvent(SessionConfig sessionConfig,
Class<?> entityClass,
Object oldEntity,
Object entity,
ITransaction transaction)
PostUpdateEvent
public PostUpdateEvent(SessionConfig sessionConfig,
Class<?> entityClass,
List<?> oldEntities,
List<?> entities,
ITransaction transaction)
getOldEntities
public List<?> getOldEntities()
- Returns the entity state before the update. Each entity in the list
returned corresponds to the entity in the same index of
the list returned by
getEntities()
.
- Returns:
- the entity state before the update.
- Since:
- 4.1.0
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.
Lumisportal 4.1.0.071221 - Copyright © 2001-2007, Lumis. All Rights Reserved.