|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.calendar.modules.ical.ICalAgenda
public class ICalAgenda
This class is an implementation of an Agenda using the iCalendar format (RFC 2445).
| Constructor Summary | |
|---|---|
ICalAgenda()
|
|
| Method Summary | |
|---|---|
void |
addEvent(Event event)
Add an event to the agenda |
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.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 |
setEvents(net.fortuna.ical4j.model.Calendar calendar)
Sets events of the agenda |
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 ICalAgenda()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface Agendapublic void setName(java.lang.String strName)
setName in interface AgendastrName - The agenda's namepublic java.lang.String getKeyName()
getKeyName in interface Agendapublic void setKeyName(java.lang.String strKeyName)
setKeyName in interface AgendastrKeyName - The KeyNamepublic boolean hasEvents(java.lang.String strDate)
hasEvents in interface AgendastrDate - A date code
public java.util.List getEventsByDate(java.lang.String strDate)
getEventsByDate in interface AgendastrDate - A date code
public java.util.List getEvents()
getEvents in interface Agendapublic void setEvents(net.fortuna.ical4j.model.Calendar calendar)
calendar - An iCal calendarpublic void addEvent(Event event)
event - The event to add
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||