[Building Sakai] Getting type of a site

Zhen Qian zqian at umich.edu
Tue Mar 24 12:25:08 PDT 2009


Luiz:

site.getType() should return you the type string.

Thanks,

- Zhen
On Mar 24, 2009, at 3:15 PM, Luiz Antonio Falaguasta Barbosa wrote:

> Hi people,
>
> Please, I'm trying to find the the type of a site. I have already  
> got the site through the following:
>
>        try {
>             Site site = SiteService.getSite(getSiteId(event));
>         } catch (IdUnusedException e) {
>             // TODO Auto-generated catch block
>             e.printStackTrace();
>         }
>
> Now, I would like to know how I could take the type of this site.
>
> Thanks in advance!
>
> Luiz
> _______________________________________________
> 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