[Building Sakai] Getting type of a site

Luiz Antonio Falaguasta Barbosa lafbarbosa at gmail.com
Tue Mar 24 12:53:55 PDT 2009


Yes Zen. It worked. Thanks!

2009/3/24 Zhen Qian <zqian at umich.edu>

> 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"
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20090324/88466303/attachment.html 


More information about the sakai-dev mailing list