Liferay 7.0-ce-b4

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

java.lang.Object
  extended by com.liferay.portal.kernel.test.util.CompanyTestUtil

public class CompanyTestUtil
extends Object


Constructor Summary
CompanyTestUtil()
           
 
Method Summary
static Company addCompany()
           
static Company addCompany(String name)
           
static void resetCompanyLocales(long companyId, Collection<Locale> locales, Locale defaultLocale)
           
static void resetCompanyLocales(long companyId, String languageIds, String defaultLanguageId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompanyTestUtil

public CompanyTestUtil()
Method Detail

addCompany

public static Company addCompany()
                          throws Exception
Throws:
Exception

addCompany

public static 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

Liferay 7.0-ce-b4