[Building Sakai] Getting site announcements

Steve Swinsburg steve.swinsburg at gmail.com
Thu Nov 10 04:53:40 PST 2011


Hi David,

Here is a good example:

https://source.sakaiproject.org/svn//announcement/trunk/announcement-tool/tool/src/java/org/sakaiproject/announcement/entityprovider/AnnouncementEntityProviderImpl.java

Basically you need to get the announcement channel(s) for a site, then get the messages in the channels using some filter criteria.


cheers,
Steve



On 10/11/2011, at 11:48 PM, David Wafula wrote:

> Please code example on how to get announcements for a given site, as well as other announcement types.
> 
> I have looked at the classes in  'org.sakaiproject.announcement.api.*'. I have autowired AnnouncementService into my class successfully, but that is as far  i can get on my own.
> 
> -- 
> 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"



More information about the sakai-dev mailing list