Example usage for com.liferay.portal.kernel.service UserGroupLocalServiceUtil search

List of usage examples for com.liferay.portal.kernel.service UserGroupLocalServiceUtil search

Introduction

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

Prototype

public static com.liferay.portal.kernel.search.Hits search(long companyId, String keywords,
        java.util.LinkedHashMap<String, Object> params, int start, int end,
        com.liferay.portal.kernel.search.Sort sort) 

Source Link

Document

Returns an ordered range of all the user groups that match the keywords, using the indexer.

Usage

From source file:com.liferay.user.groups.admin.service.test.UserGroupLocalServiceTest.java

License:Open Source License

private List<UserGroup> _search(String keywords, LinkedHashMap<String, Object> params) {

    return UserGroupLocalServiceUtil.search(_companyId, keywords, params, QueryUtil.ALL_POS, QueryUtil.ALL_POS,
            UsersAdminUtil.getUserGroupOrderByComparator("name", "asc"));
}