Package io.jmix.data.listener
Interface BeforeDetachEntityListener<T>
- All Known Implementing Classes:
CarDetachListener
,EntityLogItemDetachListener
,JsonEmailTemplateDetachListener
,ReportDetachListener
public interface BeforeDetachEntityListener<T>
Defines the contract for handling entities right before they are detached from an EntityManager
on transaction commit.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onBeforeDetach
(T entity) Executes before the object is detached from an EntityManager on transaction commit.
-
Method Details
-
onBeforeDetach
Executes before the object is detached from an EntityManager on transaction commit.- Parameters:
entity
- entity instance in managed state
-