Example usage for com.liferay.portal.util WebAppPool put

List of usage examples for com.liferay.portal.util WebAppPool put

Introduction

In this page you can find the example usage for com.liferay.portal.util WebAppPool put.

Prototype

public static void put(Long webAppId, String key, Object obj) 

Source Link

Usage

From source file:com.liferay.application.list.my.account.permissions.test.PanelAppMyAccountPermissionsTest.java

License:Open Source License

protected Company addCompany() throws Exception {
    Company company = CompanyTestUtil.addCompany();

    WebAppPool.put(company.getCompanyId(), WebKeys.PORTLET_CATEGORY, new PortletCategory());

    return company;
}