Interface CreateCalendarEventTaskFactory
- All Known Implementing Classes:
CreateCalendarEventTaskFactoryImpl
public interface CreateCalendarEventTaskFactory
used to easily get
CreateCalendarEventTask
without having to inject all dependencies-
Method Summary
Modifier and TypeMethodDescriptiongetTask
(Entity calendarEventData, Entity calendar, CalendarEventContribution contribution) get a task to create Calendar_event entities with the source being the same as the data entitygetTask
(Entity calendarEventData, Entity calendarSourceData, Entity calendar, CalendarEventContribution contribution) get a task to create Calendar_event entities
-
Method Details
-
getTask
CreateCalendarEventTask getTask(Entity calendarEventData, Entity calendar, CalendarEventContribution contribution) get a task to create Calendar_event entities with the source being the same as the data entity- Parameters:
calendarEventData
- the entity that all data for the Calendar_event gets pulled fromcalendar
- the calendar the new Calendar_event gets related tocontribution
- the contribution to use- Returns:
- the created Calendar_event
-
getTask
CreateCalendarEventTask getTask(Entity calendarEventData, Entity calendarSourceData, Entity calendar, CalendarEventContribution contribution) get a task to create Calendar_event entities- Parameters:
calendarEventData
- the entity that all data for the Calendar_event gets pulled fromcalendarSourceData
- the entity the new Calendar_event gets related tocalendar
- the calendar the new Calendar_event gets related tocontribution
- the contribution to use- Returns:
- the created Calendar_event
-