List of usage examples for com.liferay.portal.kernel.util PortalUtil getCurrentAndAncestorSiteGroupIds
public static long[] getCurrentAndAncestorSiteGroupIds(long[] groupIds, boolean checkContentSharingWithChildrenEnabled) throws PortalException
From source file:com.liferay.asset.publisher.web.display.context.AssetPublisherDisplayContext.java
License:Open Source License
public long[] getReferencedModelsGroupIds() throws PortalException { // Referenced models are asset subtypes, tags or categories that // are used to filter assets and can belong to a different scope of // the asset they are associated to if (_referencedModelsGroupIds != null) { return _referencedModelsGroupIds; }/*from w ww .jav a2s . com*/ _referencedModelsGroupIds = PortalUtil.getCurrentAndAncestorSiteGroupIds(getGroupIds(), true); return _referencedModelsGroupIds; }