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
Exception
public static com.liferay.portal.kernel.model.Company addCompany(String name) throws Exception
Exception
public static void resetCompanyLocales(long companyId, Collection<Locale> locales, Locale defaultLocale) throws Exception
Exception
public static void resetCompanyLocales(long companyId, String languageIds, String defaultLanguageId) throws Exception
Exception