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

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

Introduction

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

Prototype

String ROLE_ID

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

Click Source Link

Usage

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

License:Open Source License

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

    Role role = _roleLocalService.getRole(_group.getCompanyId(), roleName);

    fieldValues.put(Field.ROLE_ID, String.valueOf(role.getRoleId()));
}