Package io.jmix.data.listener
Interface BeforeAttachEntityListener<T>
- All Known Implementing Classes:
CarDetachListener
public interface BeforeAttachEntityListener<T>
Defines the contract for handling entities right before they are attached to an EntityManager on merge operation.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onBeforeAttach
(T entity) Executes before the object is attached to an EntityManager on merge operation.
-
Method Details
-
onBeforeAttach
Executes before the object is attached to an EntityManager on merge operation.- Parameters:
entity
- detached entity
-