Class CreateCalendarEventTask
java.lang.Object
ch.tocco.nice2.optional.calendar.impl.entitylistener.calendarevent.CreateCalendarEventTask
- All Implemented Interfaces:
NoArgPersistTask<Entity>
,PersistTask<Void,
Entity>
creates an Calendar_event based on a
CalendarEventContribution
and entity that gets used to pull the data from
new Calendar_event gets related to a given source entity and an calendar entity-
Constructor Summary
ConstructorDescriptionCreateCalendarEventTask
(EntityDefaultValueService defaultValueService, DefaultDisplayService defaultDisplayService, CalendarEventLabelService calendarEventLabelService, Entity calendarEventData, Entity calendarEventSource, Entity calendar, CalendarEventContribution contribution) -
Method Summary
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.exec.NoArgPersistTask
run
Methods inherited from interface ch.tocco.nice2.persist.core.api.exec.PersistTask
andThenDo, compose, compose2, composeWhen, discardResult, expand, expand, getDescription, ifElse, orWhen, orWhenNot, passWhen, passWhenNot, skipErrors, unwrap
-
Constructor Details
-
CreateCalendarEventTask
public CreateCalendarEventTask(EntityDefaultValueService defaultValueService, DefaultDisplayService defaultDisplayService, CalendarEventLabelService calendarEventLabelService, Entity calendarEventData, Entity calendarEventSource, Entity calendar, CalendarEventContribution contribution)
-
-
Method Details
-
run
- Specified by:
run
in interfaceNoArgPersistTask<Entity>
- Throws:
Exception
-