Class CreateConflictEntityListener
java.lang.Object
ch.tocco.nice2.persist.core.api.util.CollectingAfterCommitListener
ch.tocco.nice2.optional.conflict.impl.entitylistener.CreateConflictEntityListener
- All Implemented Interfaces:
ContextListener
,EntityListener
,CommitListener
,EventListener
Create conflicts for each newly created
Calendar_event
.-
Constructor Summary
ConstructorDescriptionCreateConflictEntityListener
(CommandExecutor commandExecutor, CalendarEventContributionService calendarEventContributionService, RecurringEventService recurringEventService, QueryBuilderFactory queryBuilderFactory, CalendarEventFactory calendarEventFactory, ConflictManager conflictManager, SecurityManager securityManager, ConflictDao conflictDao) -
Method Summary
Modifier and TypeMethodDescriptionprotected AfterCommitTask
void
setConflictSource
(List<ConflictSourceContribution> contributions) 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
-
CreateConflictEntityListener
public CreateConflictEntityListener(CommandExecutor commandExecutor, CalendarEventContributionService calendarEventContributionService, RecurringEventService recurringEventService, QueryBuilderFactory queryBuilderFactory, CalendarEventFactory calendarEventFactory, ConflictManager conflictManager, SecurityManager securityManager, ConflictDao conflictDao)
-
-
Method Details
-
getAfterCommitTask
- Specified by:
getAfterCommitTask
in classCollectingAfterCommitListener
-
setConflictSource
-