Class GroupUtil
java.lang.Object
com.liferay.headless.common.spi.util.GroupUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longgetGroupId(boolean allowCompanyGroup, boolean allowLiveGroup, long companyId, String siteExternalReferenceCode) static longgetGroupId(boolean allowLiveGroup, long companyId, String siteExternalReferenceCode) static longgetStagingAwareGroupId(boolean allowCompanyGroup, long companyId, String siteExternalReferenceCode) static longgetStagingAwareGroupId(long companyId, String siteExternalReferenceCode)
-
Constructor Details
-
GroupUtil
public GroupUtil()
-
-
Method Details
-
getGroupId
public static long getGroupId(boolean allowCompanyGroup, boolean allowLiveGroup, long companyId, String siteExternalReferenceCode) throws Exception - Throws:
Exception
-
getGroupId
public static long getGroupId(boolean allowLiveGroup, long companyId, String siteExternalReferenceCode) throws Exception - Throws:
Exception
-
getStagingAwareGroupId
public static long getStagingAwareGroupId(boolean allowCompanyGroup, long companyId, String siteExternalReferenceCode) throws Exception - Throws:
Exception
-
getStagingAwareGroupId
public static long getStagingAwareGroupId(long companyId, String siteExternalReferenceCode) throws Exception - Throws:
Exception
-