|
||||||||||
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()
|
Method Summary | |
---|---|
void |
addAgenda(Agenda agenda)
Add an agenda |
java.util.List |
getAgendas()
Gets agendas |
java.util.List |
getEvents()
Retrieves all events of the agenda |
java.util.List |
getEventsByDate(java.lang.String strDate)
Retrieves events for a given date |
java.util.List |
getEventsByDate(java.lang.String strDateBegin,
java.lang.String strDateEnd)
Fetches the events present between two dates |
java.lang.String |
getKeyName()
Returns the KeyName |
java.lang.String |
getName()
Returns the name of the Agenda |
boolean |
hasEvents(java.lang.String strDate)
Indicates if the agenda gets events for a given date |
void |
setKeyName(java.lang.String strKeyName)
Sets the KeyName |
void |
setName(java.lang.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(java.lang.String strDate)
hasEvents
in interface Agenda
strDate
- A date code
public java.util.List getEventsByDate(java.lang.String strDate)
getEventsByDate
in interface Agenda
strDate
- A date code
public java.util.List getEvents()
getEvents
in interface Agenda
public java.lang.String getName()
getName
in interface Agenda
public void setName(java.lang.String strName)
setName
in interface Agenda
strName
- The agenda's namepublic void addAgenda(Agenda agenda)
agenda
- The agendapublic java.lang.String getKeyName()
getKeyName
in interface Agenda
public void setKeyName(java.lang.String strKeyName)
setKeyName
in interface Agenda
strKeyName
- The KeyNamepublic java.util.List getAgendas()
public java.util.List getEventsByDate(java.lang.String strDateBegin, java.lang.String strDateEnd)
getEventsByDate
in interface Agenda
strDateBegin
- The start datestrDateEnd
- The end date
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |