com.jalios.jcms.calendar
Class MoreThanOneDayCalendarEventSelector

java.lang.Object
  extended by com.jalios.jcms.calendar.AbstractCalendarEvent.CalendarEventDateSelector
      extended by com.jalios.jcms.calendar.MoreThanOneDayCalendarEventSelector
All Implemented Interfaces:
DataSelector

public class MoreThanOneDayCalendarEventSelector
extends AbstractCalendarEvent.CalendarEventDateSelector

Author:
Ludovic SMADJA

Field Summary
 
Fields inherited from class com.jalios.jcms.calendar.AbstractCalendarEvent.CalendarEventDateSelector
dayEventFlag, endDate, startDate
 
Fields inherited from interface com.jalios.jcms.DataSelector
REVISION
 
Constructor Summary
MoreThanOneDayCalendarEventSelector(Date startDate, Date endDate)
           
 
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
 

Constructor Detail

MoreThanOneDayCalendarEventSelector

public MoreThanOneDayCalendarEventSelector(Date startDate,
                                           Date endDate)
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
Overrides:
isSelected in class AbstractCalendarEvent.CalendarEventDateSelector
Parameters:
data - the data to evaluate.
Returns:
true if the data is selected. False otherwise.


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