Interface CreateCalendarEventTaskFactory

All Known Implementing Classes:
CreateCalendarEventTaskFactoryImpl

public interface CreateCalendarEventTaskFactory
used to easily get CreateCalendarEventTask without having to inject all dependencies
  • 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 from
      calendar - the calendar the new Calendar_event gets related to
      contribution - 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 from
      calendarSourceData - the entity the new Calendar_event gets related to
      calendar - the calendar the new Calendar_event gets related to
      contribution - the contribution to use
      Returns:
      the created Calendar_event