Class GroupUtil
java.lang.Object
com.liferay.headless.common.spi.util.GroupUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic longgetDepotGroupId(long companyId, String externalReferenceCode, int... allowedDepotTypes) static 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
-
getDepotGroupId
public static long getDepotGroupId(long companyId, String externalReferenceCode, int... allowedDepotTypes) throws Exception - Throws:
Exception
-
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
-