public class CompanyTestUtil
extends Object
| Constructor and Description |
|---|
CompanyTestUtil() |
| Modifier and Type | Method and Description |
|---|---|
static com.liferay.portal.kernel.model.Company |
addCompany() |
static com.liferay.portal.kernel.model.Company |
addCompany(String name) |
static void |
resetCompanyLocales(long companyId,
Collection<Locale> locales,
Locale defaultLocale) |
static void |
resetCompanyLocales(long companyId,
String languageIds,
String defaultLanguageId) |
public static com.liferay.portal.kernel.model.Company addCompany()
throws Exception
Exceptionpublic static com.liferay.portal.kernel.model.Company addCompany(String name)
throws Exception
Exceptionpublic static void resetCompanyLocales(long companyId,
Collection<Locale> locales,
Locale defaultLocale)
throws Exception
Exceptionpublic static void resetCompanyLocales(long companyId,
String languageIds,
String defaultLanguageId)
throws Exception
Exception