Class CompanyTestUtil

Object
com.liferay.portal.kernel.test.util.CompanyTestUtil

public class CompanyTestUtil extends Object
Author:
Manuel de la Peña
  • Constructor Details

    • CompanyTestUtil

      public CompanyTestUtil()
  • Method Details

    • addCompany

      public static com.liferay.portal.kernel.model.Company addCompany() throws Exception
      Throws:
      Exception
    • addCompany

      public static com.liferay.portal.kernel.model.Company addCompany(boolean initialize) throws Exception
      Throws:
      Exception
    • addCompany

      public static com.liferay.portal.kernel.model.Company addCompany(String name) throws Exception
      Throws:
      Exception
    • resetCompanyLocales

      public static void resetCompanyLocales(long companyId, Collection<Locale> locales, Locale defaultLocale) throws Exception
      Throws:
      Exception
    • resetCompanyLocales

      public static void resetCompanyLocales(long companyId, String languageIds, String defaultLanguageId) throws Exception
      Throws:
      Exception