Class CompanyTestUtil
Object
com.liferay.portal.kernel.test.util.CompanyTestUtil
- Author:
- Manuel de la Peña
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic com.liferay.portal.kernel.model.Company
static com.liferay.portal.kernel.model.Company
addCompany
(boolean initialize) static com.liferay.portal.kernel.model.Company
addCompany
(String name) static void
resetCompanyLocales
(long companyId, String languageIds, String defaultLanguageId) static void
resetCompanyLocales
(long companyId, Collection<Locale> locales, Locale defaultLocale)
-
Constructor Details
-
CompanyTestUtil
public CompanyTestUtil()
-
-
Method Details
-
addCompany
- Throws:
Exception
-
addCompany
public static com.liferay.portal.kernel.model.Company addCompany(boolean initialize) throws Exception - Throws:
Exception
-
addCompany
- 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
-