Example usage for com.liferay.portal.kernel.search Field GROUP_ROLE_ID

List of usage examples for com.liferay.portal.kernel.search Field GROUP_ROLE_ID

Introduction

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

Prototype

String GROUP_ROLE_ID

To view the source code for com.liferay.portal.kernel.search Field GROUP_ROLE_ID.

Click Source Link

Usage

From source file:com.liferay.calendar.search.test.CalendarFieldsFixture.java

License:Open Source License

public void populateGroupRoleId(Map<String, String> fieldValues) throws PortalException {

    Role role = _roleLocalService.getDefaultGroupRole(_group.getGroupId());

    fieldValues.put(Field.GROUP_ROLE_ID, _group.getGroupId() + StringPool.DASH + role.getRoleId());
}