Class AbsenceReportEntityListener
java.lang.Object
ch.tocco.nice2.persist.core.api.util.CollectingAfterCommitListener
ch.tocco.nice2.optional.timereport.impl.entitylistener.AbsenceReportEntityListener
- All Implemented Interfaces:
ContextListener
,EntityListener
,CommitListener
,EventListener
Checks if the status has been changed and sends a corresponding mail.
-
Constructor Summary
ConstructorDescriptionAbsenceReportEntityListener
(CommandExecutor commandExecutor, MailFactory mailFactory, EmailTemplateLoadService emailTemplateLoadService, SecurityManager securityManager, PrincipalService principalService) -
Method Summary
Methods inherited from class ch.tocco.nice2.persist.core.api.util.CollectingAfterCommitListener
afterCommit, beforeCommit, contextDestroying, customizeMode, entityCreated, entityDeleted, entityUpdated, handleAfterCommit, setFutureCollector
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ch.tocco.nice2.persist.core.api.util.CommitListener
afterFlush, priority
Methods inherited from interface ch.tocco.nice2.persist.core.api.ContextListener
transactionStarted
-
Constructor Details
-
AbsenceReportEntityListener
public AbsenceReportEntityListener(CommandExecutor commandExecutor, MailFactory mailFactory, EmailTemplateLoadService emailTemplateLoadService, SecurityManager securityManager, PrincipalService principalService)
-
-
Method Details
-
getAfterCommitTask
- Specified by:
getAfterCommitTask
in classCollectingAfterCommitListener
-