Example usage for com.liferay.portal.kernel.service.persistence GroupFinderUtil findByLayouts

List of usage examples for com.liferay.portal.kernel.service.persistence GroupFinderUtil findByLayouts

Introduction

In this page you can find the example usage for com.liferay.portal.kernel.service.persistence GroupFinderUtil findByLayouts.

Prototype

public static java.util.List<com.liferay.portal.kernel.model.Group> findByLayouts(long companyId,
            long parentGroupId, boolean site, int start, int end,
            com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.Group> obc) 

Source Link

Usage

From source file:com.liferay.site.service.persistence.test.GroupFinderTest.java

License:Open Source License

protected List<Group> findByLayouts(long parentGroupId) throws Exception {
    return GroupFinderUtil.findByLayouts(TestPropsValues.getCompanyId(), parentGroupId, true, QueryUtil.ALL_POS,
            QueryUtil.ALL_POS, new GroupNameComparator(true));
}