Tribune

Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
Nilesh Gundecha
Get organization list with active site
5 maggio 2012 3.24
Risposta

Nilesh Gundecha

Punteggio: Regular Member

Messaggi: 196

Data di Iscrizione: 30 novembre 2009

Messaggi recenti

Hi All,

I want to retrieve the list of organizations whose site (group) is active. Whats the most optimum way to achieve this? I dont want to create group object for every organization object to check its active status.

Regards,
Nilesh
Amos Fong
RE: Get organization list with active site
8 maggio 2012 23.01
Risposta

Amos Fong

LIFERAY STAFF

Punteggio: Liferay Legend

Messaggi: 1897

Data di Iscrizione: 7 ottobre 2008

Messaggi recenti

Hi Nilesh,

GroupLocalServiceUtil.search() should be able to handle that query. You can pass the organization's classNameId and then params should be able to do active although I'm not sure what the key is.