com.jalios.jcms.calendar
Class AbstractCalendarEvent.CalendarEventDateSelector

java.lang.Object
  extended by com.jalios.jcms.calendar.AbstractCalendarEvent.CalendarEventDateSelector
All Implemented Interfaces:
DataSelector
Direct Known Subclasses:
LessThanOneDayCalendarEventSelector, MoreThanOneDayCalendarEventSelector
Enclosing class:
AbstractCalendarEvent

public static class AbstractCalendarEvent.CalendarEventDateSelector
extends Object
implements DataSelector

This DataSelector selects all the CalendarEvent taking place in between the given date

Since:
jcms-4.1.1

Field Summary
protected  Boolean dayEventFlag
           
protected  Date endDate
           
protected  Date startDate
           
 
Fields inherited from interface com.jalios.jcms.DataSelector
REVISION
 
Constructor Summary
AbstractCalendarEvent.CalendarEventDateSelector(Date startDate, Date endDate)
           
AbstractCalendarEvent.CalendarEventDateSelector(Date startDate, Date endDate, boolean dayEventFlag)
           
 
Method Summary
 boolean isSelected(Data data)
          Evaluates if a data must be selected or not.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

startDate

protected Date startDate

endDate

protected Date endDate

dayEventFlag

protected Boolean dayEventFlag
Constructor Detail

AbstractCalendarEvent.CalendarEventDateSelector

public AbstractCalendarEvent.CalendarEventDateSelector(Date startDate,
                                                       Date endDate)

AbstractCalendarEvent.CalendarEventDateSelector

public AbstractCalendarEvent.CalendarEventDateSelector(Date startDate,
                                                       Date endDate,
                                                       boolean dayEventFlag)
Method Detail

isSelected

public boolean isSelected(Data data)
Description copied from interface: DataSelector
Evaluates if a data must be selected or not.

Specified by:
isSelected in interface DataSelector
Parameters:
data - the data to evaluate.
Returns:
true if the data is selected. False otherwise.


Copyright © 2001-2010 Jalios SA. All Rights Reserved.