public interface Agenda extends Serializable
| Modifier and Type | Method and Description |
|---|---|
List<Event> |
getEvents()
Retrieves all events of the agenda
|
List<Event> |
getEventsByDate(Date dateBegin,
Date dateEnd,
Locale localeEnv)
Retrieves events for a given date
|
List<Event> |
getEventsByDate(String strDate)
Retrieves events for a given date
|
String |
getKeyName()
Returns the key of the Agenda
|
String |
getName()
Returns the name of the Agenda
|
boolean |
hasEvents(String strDate)
Indicates if the agenda gets events for a given date
|
void |
setKeyName(String strKeyName)
Sets the key of the Agenda
|
void |
setName(String strName)
Sets the name of the Agenda
|
boolean hasEvents(String strDate)
strDate - A date codeList<Event> getEventsByDate(String strDate)
strDate - A date codeList<Event> getEventsByDate(Date dateBegin, Date dateEnd, Locale localeEnv)
dateBegin - The start datedateEnd - The end datelocaleEnv - The localeString getName()
void setName(String strName)
strName - The agenda's nameString getKeyName()
void setKeyName(String strKeyName)
strKeyName - The agenda's key nameCopyright © 2015 City of Paris. All rights reserved.