Interface IExtCalendarMgr

All Known Implementing Classes:
ExtCalendarMgr

public interface IExtCalendarMgr
Interface for the extended calendar component (CALENDARFIELD with EXT* attributes defined). The class that implements this interface is registered in system.xml. The factory to obtain an instance of IExtCalendarMgr is ExtCalendarMgr.getInstance().

The interface is available for two purposes:
(1) Is is accessed by the client side through a servlet (ExtCalendarServlet) in order to provide calendar information that is shown within the user interface client (e.g. when browsing through the calendar popup).
(2) Is can be accessed by the server side processing.

There is a default implementation (ExtCalendarMgr, which is typically replaced by your own implementation.
  • Method Details

    • clearBuffer

      void clearBuffer()
      Optional implementation: in case the calendar management buffers calendar infos: release all buffered information.
    • getAvailableCalendarIds

      List<String> getAvailableCalendarIds()
      Optional implementation: all available calendars.
    • getCalendarInfoForDay

      IExtCalendarMgr.ExtCalendarInfo getCalendarInfoForDay(String calendarId, Date d, String timeZone)
      Mandatory implementation: check the calendar info for one day.
    • getCalendarInfoForMonth

      List<IExtCalendarMgr.ExtCalendarInfo> getCalendarInfoForMonth(String calendarId, Date d, String timeZone)
      Mandatory implementation: check the calendar info for all days of one month. This method is called by the client side calendar component when navigating between months.