Tribune

Home » Liferay Portal » English » 3. Development

Vista Combinata Vista Piatta Vista ad Albero
Discussioni [ Precedente | Successivo ]
toggle
guru prasad
Getting organization and Related sites
25 febbraio 2013 1.48
Risposta

guru prasad

Punteggio: New Member

Messaggi: 11

Data di Iscrizione: 29 gennaio 2012

Messaggi recenti

Hi experts,

I have created organization called customer1
and i added two communities (sites in liferay 6.1) called product1 and product2

Similarly i will have different customer . the customer will have again products

In one of my jsp i need to retrieve all the organization along with their sites

like example :
customer1-product1
customer1-product2
customer2-product1
customer2-product3

How i will do this ?
How i will retrieve this relation in my jsp
Subhash Pavuskar
RE: Getting organization and Related sites
25 febbraio 2013 3.54
Risposta

Subhash Pavuskar

Punteggio: Regular Member

Messaggi: 234

Data di Iscrizione: 12 marzo 2012

Messaggi recenti

Hi guru prasad,

To get all organization below snippet may help you. Click Here

1OrganizationLocalServiceUtil.getOrganizations(QueryUtil.ALL_POS,QueryUtil.ALL_POS)