Class GroupUtil

java.lang.Object
com.liferay.headless.common.spi.util.GroupUtil

public class GroupUtil extends Object
  • 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