Interface CalendarEventLabelService

All Known Implementing Classes:
CalendarEventLabelServiceImpl

public interface CalendarEventLabelService
used to load a label for Calendar_event these labels can come from several sources and are defined in CalendarEventLabelContribution
  • Method Details

    • getDisplayLabelForCalendarEvent

      String getDisplayLabelForCalendarEvent(Entity calendarEvent)
      run through all CalendarEventLabelContribution until one of them returns a filled string this method has a default return value of an empty string, but this should never happen because there exists a default contribution that always returns a filled string
      Parameters:
      calendarEvent - the calendar event to find a label for
      Returns:
      the label that was found, empty string if none were found
    • getDisplayLabelForCalendarEvent

      String getDisplayLabelForCalendarEvent(CalendarEvent calendarEvent)
      helper method that calls getDisplayLabelForCalendarEvent(Entity) with the entity contained in the CalendarEvent
      Parameters:
      calendarEvent - the calendar event to find a label for
      Returns:
      the label that was found, empty string if none were found