|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.calendar.business.MultiAgenda
public class MultiAgenda
This Class provides an agenda that aggregate other agendas.
| Constructor Summary | |
|---|---|
MultiAgenda()
Default constructor |
|
| Method Summary | |
|---|---|
void |
addAgenda(Agenda agenda)
Add an agenda |
String[] |
getAgendaIds()
Fetch agenda ids |
List<Agenda> |
getAgendas()
Gets agendas |
List<Event> |
getEvents()
Retrieves all events of the agenda |
List<Event> |
getEventsByDate(Date dateBegin,
Date dateEnd,
Locale localeEnv)
Fetches the events present between two dates |
List<Event> |
getEventsByDate(String strDate)
Retrieves events for a given date |
String |
getKeyName()
Returns the KeyName |
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 KeyName |
void |
setName(String strName)
Defines the name of the Agenda |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiAgenda()
| Method Detail |
|---|
public boolean hasEvents(String strDate)
hasEvents in interface AgendastrDate - A date code
public List<Event> getEventsByDate(String strDate)
getEventsByDate in interface AgendastrDate - A date code
public List<Event> getEvents()
getEvents in interface Agendapublic String getName()
getName in interface Agendapublic void setName(String strName)
setName in interface AgendastrName - The agenda's namepublic void addAgenda(Agenda agenda)
agenda - The agendapublic String getKeyName()
getKeyName in interface Agendapublic void setKeyName(String strKeyName)
setKeyName in interface AgendastrKeyName - The KeyNamepublic List<Agenda> getAgendas()
public List<Event> getEventsByDate(Date dateBegin,
Date dateEnd,
Locale localeEnv)
getEventsByDate in interface AgendadateBegin - The start datedateEnd - The end datelocaleEnv - the locale
public String[] getAgendaIds()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||