Package io.jmix.data.listener
Interface BeforeAttachEntityListener<T>
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
-