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

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

Introduction

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

Prototype

public static java.util.List<Long> findByActiveGroupIds(long userId) 

Source Link

Usage

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

License:Open Source License

@Test
public void testFindByActiveGroupIds() throws Exception {
    List<Long> groups = GroupFinderUtil.findByActiveGroupIds(TestPropsValues.getUserId());

    Assert.assertFalse(groups.toString(), groups.isEmpty());
}