[Building Sakai] Calendar Events for a site

David Wafula davidwaf at gmail.com
Fri Nov 4 07:01:38 PDT 2011


On Fri, Nov 4, 2011 at 12:44 PM, Steve Swinsburg
<steve.swinsburg at gmail.com>wrote:

> A reference is an entity reference. You can construct the reference to
> pass to it.
>
> If you just want the events for a given site, it looks like you could do:
>
> Calendar cal = calendarService.getCalendar(ref);
> List<CalendarEvent> events = cal.getEvents(range, filter);
>
>
Yes..i used the Joaquín's sample code which contains same lines, and got
what i wanted.

Thank you .

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


More information about the sakai-dev mailing list