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 Summary
Modifier and TypeMethodDescriptiongetDisplayLabelForCalendarEvent(CalendarEvent calendarEvent) helper method that callsgetDisplayLabelForCalendarEvent(Entity)with the entity contained in theCalendarEventgetDisplayLabelForCalendarEvent(Entity calendarEvent) run through allCalendarEventLabelContributionuntil 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
-
Method Details
-
getDisplayLabelForCalendarEvent
run through allCalendarEventLabelContributionuntil 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
helper method that callsgetDisplayLabelForCalendarEvent(Entity)with the entity contained in theCalendarEvent- Parameters:
calendarEvent- the calendar event to find a label for- Returns:
- the label that was found, empty string if none were found
-