Foros de discusión
Difference between companyGroupId and scopeGroupId
Tejas Kanani, modificado hace 12 años.
Difference between companyGroupId and scopeGroupId
Liferay Master Mensajes: 654 Fecha de incorporación: 6/01/09 Mensajes recientes
Hi Guys,
I saw there are two different groupId methods available in ThemeDisplay object.
What is the difference between those two methods. Both will return different groupId?
Thanks,
Tejas
I saw there are two different groupId methods available in ThemeDisplay object.
- getCompanyGroupId()
- getScopeGroupId()
What is the difference between those two methods. Both will return different groupId?
Thanks,
Tejas
Jignesh Vachhani, modificado hace 12 años.
RE: Difference between companyGroupId and scopeGroupId (Respuesta)
Liferay Master Mensajes: 803 Fecha de incorporación: 10/03/08 Mensajes recientes
Hi Tejas,
As per my knowledge
getCompanyGroupId() will return group id according to company id of current user while,
getScopeGroupId() returns group id of current user means according to user id.
HTH
Jignesh
http://liferaycms.blogspot.com
As per my knowledge
getCompanyGroupId() will return group id according to company id of current user while,
getScopeGroupId() returns group id of current user means according to user id.
HTH
Jignesh
http://liferaycms.blogspot.com
Sagar A Vyas, modificado hace 12 años.
RE: Difference between companyGroupId and scopeGroupId (Respuesta)
Liferay Master Mensajes: 679 Fecha de incorporación: 17/04/09 Mensajes recientesTejas Kanani:
Hi Guys,
What is the difference between those two methods. Both will return different groupId?
Thanks,
Tejas
HI Tejas,
I have gone through the method i have found three method.
themeDisplay.getCompanyGroupId() - This will return groupId according which is mapped with Company ID
themeDisplay.getCompanyId() - This will simply return Company ID which will remain same through the portal
themeDisplay.getScopeGroupId() - This will return group id of current grp like id could be community Id , Org Id , User's Grp id
Company Group id is associate with Company.
Hope this help
Thanks,
Sagar Vyas
Tejas Kanani, modificado hace 12 años.
RE: Difference between companyGroupId and scopeGroupId
Liferay Master Mensajes: 654 Fecha de incorporación: 6/01/09 Mensajes recientes
Thanks Jignesh and Sagar for the information.
It cleared my doubts regarding scopegroupid and companygroupid.
Cheers !!
Tejas
It cleared my doubts regarding scopegroupid and companygroupid.
Cheers !!
Tejas
Jignesh Vachhani, modificado hace 12 años.