Package org.eclnt.jsfserver.calendar
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
The interface is available for two purposes:
(1) Is is accessed by the client side through a servlet (
(2) Is can be accessed by the server side processing.
There is a default implementation (
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.-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic class
Information about a day that is a non-working day. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Optional implementation: in case the calendar management buffers calendar infos: release all buffered information.Optional implementation: all available calendars.getCalendarInfoForDay
(String calendarId, Date d, String timeZone) Mandatory implementation: check the calendar info for one day.getCalendarInfoForMonth
(String calendarId, Date d, String timeZone) Mandatory implementation: check the calendar info for all days of one month.
-
Method Details
-
clearBuffer
void clearBuffer()Optional implementation: in case the calendar management buffers calendar infos: release all buffered information. -
getAvailableCalendarIds
Optional implementation: all available calendars. -
getCalendarInfoForDay
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.
-