Package io.jmix.audit.impl
Class EntityLogItemDetachListener
java.lang.Object
io.jmix.audit.impl.EntityLogItemDetachListener
- All Implemented Interfaces:
BeforeDetachEntityListener<EntityLogItem>
@Component("audit_EntityLogItemDetachListener")
public class EntityLogItemDetachListener
extends Object
implements BeforeDetachEntityListener<EntityLogItem>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
onBeforeDetach
(EntityLogItem item) Executes before the object is detached from an EntityManager on transaction commit.
-
Field Details
-
entityStates
-
skipNames
-
-
Constructor Details
-
EntityLogItemDetachListener
public EntityLogItemDetachListener()
-
-
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<EntityLogItem>
- Parameters:
item
- entity instance in managed state
-
fillAttributesFromChangesField
-