Fóruns

Início » Liferay Portal » English » 3. Development

Visualização combinada Visão plana Exibição em árvore
Tópicos [ Anterior | Próximo ]
toggle
guru prasad
Getting organization and Related sites
25 de Fevereiro de 2013 01:48
Resposta

guru prasad

Ranking: New Member

Mensagens: 11

Data de entrada: 29 de Janeiro de 2012

Mensagens recentes

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 de Fevereiro de 2013 03:54
Resposta

Subhash Pavuskar

Ranking: Regular Member

Mensagens: 234

Data de entrada: 12 de Março de 2012

Mensagens recentes

Hi guru prasad,

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

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