lumis.portal.event.persistence
Class BasePortalEntity
java.lang.Object
lumis.portal.event.persistence.BasePortalEntity
- Direct Known Subclasses:
- ReportType
@StableMinor(version="6.2",
sinceVersion="4.2")
public abstract class BasePortalEntity
- extends Object
Base class for content JPA entities, that includes event handling that
generates portal events.
The use of this class as parent is an alternative of using
PortalEventEntityListener
. This class is more suited when the entity
must control the order of execution of its own event handling code
and the portal event notification.
- Since:
- 4.2.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasePortalEntity
public BasePortalEntity()
onPreUpdate
protected void onPreUpdate()
throws Exception
- Throws:
Exception
onPostUpdate
protected void onPostUpdate()
throws Exception
- Throws:
Exception
onPrePersist
protected void onPrePersist()
throws Exception
- Throws:
Exception
onPostPersist
protected void onPostPersist()
throws Exception
- Throws:
Exception
onPreRemove
protected void onPreRemove()
throws Exception
- Throws:
Exception
onPostRemove
protected void onPostRemove()
throws Exception
- Throws:
Exception
onPostLoad
protected void onPostLoad()
throws Exception
- Throws:
Exception
Lumisportal 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.