Package org.eclnt.jsfserver.calendar
Class ExtCalendarMgr
java.lang.Object
org.eclnt.jsfserver.calendar.ExtCalendarMgr
- All Implemented Interfaces:
IExtCalendarMgr
Default implementation if IExctCalendarMgr: per calendar id a corresponding
XML file is kept within the stream store.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclnt.jsfserver.calendar.IExtCalendarMgr
IExtCalendarMgr.ExtCalendarInfo -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidOptional 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.static IExtCalendarMgrFactory method for passing back an instance ofIExtCalendarMgr.
-
Constructor Details
-
ExtCalendarMgr
public ExtCalendarMgr()
-
-
Method Details
-
getInstance
Factory method for passing back an instance ofIExtCalendarMgr. The method is checking the system.xml configuration file. In case of not finding a specific definition an instance ofExtCalendarMgris passed back. -
clearBuffer
public void clearBuffer()Description copied from interface:IExtCalendarMgrOptional implementation: in case the calendar management buffers calendar infos: release all buffered information.- Specified by:
clearBufferin interfaceIExtCalendarMgr
-
getAvailableCalendarIds
Description copied from interface:IExtCalendarMgrOptional implementation: all available calendars.- Specified by:
getAvailableCalendarIdsin interfaceIExtCalendarMgr
-
getCalendarInfoForDay
public IExtCalendarMgr.ExtCalendarInfo getCalendarInfoForDay(String calendarId, Date d, String timeZone) Description copied from interface:IExtCalendarMgrMandatory implementation: check the calendar info for one day.- Specified by:
getCalendarInfoForDayin interfaceIExtCalendarMgr
-
getCalendarInfoForMonth
public List<IExtCalendarMgr.ExtCalendarInfo> getCalendarInfoForMonth(String calendarId, Date d, String timeZone) Description copied from interface:IExtCalendarMgrMandatory 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.- Specified by:
getCalendarInfoForMonthin interfaceIExtCalendarMgr
-