Package io.jmix.reports.listener
Class ReportDetachListener
java.lang.Object
io.jmix.reports.listener.ReportDetachListener
- All Implemented Interfaces:
BeforeDetachEntityListener<Report>
@Component("report_ReportDetachListener")
public class ReportDetachListener
extends Object
implements BeforeDetachEntityListener<Report>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onBeforeDetach
(Report entity) Executes before the object is detached from an EntityManager on transaction commit.protected void
setRelevantReferencesToReport
(Report entity) protected void
sortRootChildrenBands
(Report entity)
-
Field Details
-
reportsSerialization
-
entityStates
-
-
Constructor Details
-
ReportDetachListener
public ReportDetachListener()
-
-
Method Details
-
onBeforeDetach
Description copied from interface:BeforeDetachEntityListener
Executes before the object is detached from an EntityManager on transaction commit.- Specified by:
onBeforeDetach
in interfaceBeforeDetachEntityListener<Report>
- Parameters:
entity
- entity instance in managed state
-
sortRootChildrenBands
-
setRelevantReferencesToReport
-