Package lumis.portal.event.persistence
Class BasePortalEntity
- java.lang.Object
-
- lumis.portal.event.persistence.BasePortalEntity
-
@StableMinor(version="14.0", 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
- Version:
- $Revision: 24477 $ $Date: 2021-04-28 11:30:36 -0300 (Wed, 28 Apr 2021) $
-
-
Constructor Summary
Constructors Constructor Description BasePortalEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
onPostLoad()
protected void
onPostPersist()
protected void
onPostRemove()
protected void
onPostUpdate()
protected void
onPrePersist()
protected void
onPreRemove()
protected void
onPreUpdate()
-