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
ConstructorsConstructorDescriptionCreateConflictEntityListener(CommandExecutor commandExecutor, CalendarEventContributionService calendarEventContributionService, RecurringEventService recurringEventService, QueryBuilderFactory queryBuilderFactory, CalendarEventFactory calendarEventFactory, ConflictManager conflictManager, SecurityManager securityManager, ConflictDao conflictDao, BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected AfterCommitTaskvoidsetConflictSource(List<ConflictSourceContribution> contributions) Methods inherited from class CollectingAfterCommitListener
afterCommit, beforeCommit, contextDestroying, customizeMode, entityCreated, entityDeleted, entityUpdated, handleAfterCommit, setFutureCollectorMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface CommitListener
afterFlush, priorityMethods inherited from interface ContextListener
transactionStarted
-
Constructor Details
-
CreateConflictEntityListener
public CreateConflictEntityListener(CommandExecutor commandExecutor, CalendarEventContributionService calendarEventContributionService, RecurringEventService recurringEventService, QueryBuilderFactory queryBuilderFactory, CalendarEventFactory calendarEventFactory, ConflictManager conflictManager, SecurityManager securityManager, ConflictDao conflictDao, BusinessUnitManager businessUnitManager)
-
-
Method Details
-
getAfterCommitTask
- Specified by:
getAfterCommitTaskin classCollectingAfterCommitListener
-
setConflictSource
-