[Building Sakai] Calendar Events for a site

Steve Swinsburg steve.swinsburg at gmail.com
Thu Nov 3 15:14:40 PDT 2011


Hi David,

I recommend you build the javadocs for your Sakai source:

mvn javadoc:javadoc -Daggregate=true

getEvents

CalendarEventVector getEvents(List references,
                              org.sakaiproject.time.api.TimeRange range)
Takes several calendar References and merges their events from within a given time range.

Parameters:
references - The List of calendar References.
range - The time period to use to select events.
Returns:
CalendarEventVector object with the union of all events from the list of calendars in the given time range.

cheers,
Steve

On 04/11/2011, at 8:15 AM, David Wafula wrote:

> Team,
> I have CalendarService object instantiated correctly, via spring. I need to get calendar events for a site. 
> I was thinking:
> 
>  calendarService.getEvents(list, timerange)
> 
> is it appropriate? If so, i need help with arguments to the method: what exactly is List ? And how do you instantiate TimeRange object ? 
> 
> Kind regards,
> -- 
> David Wafula
> _______________________________________________
> sakai-dev mailing list
> sakai-dev at collab.sakaiproject.org
> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
> 
> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org with a subject of "unsubscribe"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20111104/e25660b2/attachment.html 


More information about the sakai-dev mailing list