|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.webmethods.caf.faces.data.calendar.CalendarEventProvider
public class CalendarEventProvider
Simple provider wrapper around a list of ICalendarEvents
Field Summary | |
---|---|
protected List |
m_eventList
|
protected List |
m_filteredEventList
|
protected Date |
m_filterEndDate
|
protected Date |
m_filterStartDate
|
Constructor Summary | |
---|---|
CalendarEventProvider()
Default constructor |
|
CalendarEventProvider(ICalendarEvent[] eventsArray)
Constructor to set the list of calendar events for this provider from a array. |
|
CalendarEventProvider(List eventsList)
Constructor to set the list of calendar events for this provider. |
Method Summary | |
---|---|
static void |
filterCalendarEventList(List in,
List out,
Date startDate,
Date endDate)
|
Date |
getEndDate()
Get the end date, of the date range, used in filtering the list of calendar events |
List |
getEventList()
Get the list of events contained by this provider. |
protected List |
getFilteredEventList()
Filter the event list using the start and end dates. |
Date |
getStartDate()
Get the start date, of the date range, used in filtering the list of calendar events |
protected boolean |
hasFilter()
Determines if the start or end date have been set. |
void |
setEndDate(Date endDate)
Set the end date of the date range for this provider. |
void |
setEventList(List eventList)
Set the event list of calendar events for this provider. |
void |
setStartDate(Date startDate)
Set the start date of the date range for this provider. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected List m_eventList
protected List m_filteredEventList
protected Date m_filterStartDate
protected Date m_filterEndDate
Constructor Detail |
---|
public CalendarEventProvider()
public CalendarEventProvider(List eventsList)
eventsList
- A list of ICalendarEvent objects.public CalendarEventProvider(ICalendarEvent[] eventsArray)
eventsArray
- An array of ICalendarEvent objects.Method Detail |
---|
public List getEventList()
getEventList
in interface ICalendarEventProvider
public void setEventList(List eventList)
eventList
- List of calendar events.public void setStartDate(Date startDate)
setStartDate
in interface ICalendarEventProvider
startDate
- The date to exclude events before this datepublic Date getStartDate()
public void setEndDate(Date endDate)
setEndDate
in interface ICalendarEventProvider
endDate
- The date to exclude events after this datepublic Date getEndDate()
protected boolean hasFilter()
protected List getFilteredEventList()
public static void filterCalendarEventList(List in, List out, Date startDate, Date endDate)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |