Example usage for com.liferay.portal.kernel.theme ThemeDisplay setI18nLanguageId

List of usage examples for com.liferay.portal.kernel.theme ThemeDisplay setI18nLanguageId

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.theme ThemeDisplay setI18nLanguageId.

Prototype

public void setI18nLanguageId(String i18nLanguageId) 

Source Link

Usage

From source file:com.liferay.layout.type.controller.test.LayoutTypeURLTest.java

License:Open Source License

private ThemeDisplay _initThemeDisplay() throws Exception {
    _company.setVirtualHostname(_VIRTUAL_HOSTNAME);

    ThemeDisplay themeDisplay = new ThemeDisplay();

    themeDisplay.setCompany(_company);/*from  w ww.j  av a  2s .c  o  m*/
    themeDisplay.setI18nLanguageId(StringPool.BLANK);
    themeDisplay.setLayout(_publicLayout);
    themeDisplay.setLayoutSet(_publicLayout.getLayoutSet());
    themeDisplay.setSecure(false);
    themeDisplay.setServerName(_VIRTUAL_HOSTNAME);
    themeDisplay.setServerPort(8080);
    themeDisplay.setSiteGroupId(_group.getGroupId());
    themeDisplay.setUser(TestPropsValues.getUser());
    themeDisplay.setWidget(false);

    return themeDisplay;
}