Example usage for com.liferay.portal.kernel.service LayoutSetPrototypeLocalServiceUtil searchCount

List of usage examples for com.liferay.portal.kernel.service LayoutSetPrototypeLocalServiceUtil searchCount

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.service LayoutSetPrototypeLocalServiceUtil searchCount.

Prototype

public static int searchCount(long companyId, Boolean active) 

Source Link

Usage

From source file:com.liferay.layout.set.prototype.web.internal.display.context.LayoutSetPrototypeDisplayContext.java

License:Open Source License

protected int getTotal() {
    ThemeDisplay themeDisplay = (ThemeDisplay) _request.getAttribute(WebKeys.THEME_DISPLAY);

    return LayoutSetPrototypeLocalServiceUtil.searchCount(themeDisplay.getCompanyId(), getActive());
}