Class JsonEmailTemplateDetachListener
java.lang.Object
io.jmix.emailtemplates.entity.listener.JsonEmailTemplateDetachListener
- All Implemented Interfaces:
BeforeDetachEntityListener<JsonEmailTemplate>
@Component("emltmp_JsonEmailTemplateDetachListener")
public class JsonEmailTemplateDetachListener
extends Object
implements BeforeDetachEntityListener<JsonEmailTemplate>
-
Field Summary
Modifier and TypeFieldDescriptionprotected EntityStates
protected Metadata
protected TemplateConverter
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onBeforeDetach
(JsonEmailTemplate entity) Executes before the object is detached from an EntityManager on transaction commit.
-
Field Details
-
templateConverter
-
entityStates
-
metadata
-
-
Constructor Details
-
JsonEmailTemplateDetachListener
public JsonEmailTemplateDetachListener()
-
-
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<JsonEmailTemplate>
- Parameters:
entity
- entity instance in managed state
-