Package lumis.portal.event.persistence
Class BasePortalEntity
- java.lang.Object
-
- lumis.portal.event.persistence.BasePortalEntity
-
@StableMinor(version="14.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
- Version:
- $Revision: 24985 $ $Date: 2022-05-02 23:04:30 -0300 (Mon, 02 May 2022) $
-
-
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()
-