List of usage examples for com.liferay.portal.kernel.test.util ResourcePermissionTestUtil addResourcePermission
public static ResourcePermission addResourcePermission(long actionIds, String name, String primKey, long roleId, int scope) throws Exception
From source file:com.liferay.calendar.upgrade.v1_0_4.test.UpgradeClassNamesTest.java
License:Open Source License
protected ResourcePermission addResourcePermission(long companyId, String name, String primKey, long roleId, int scope) throws Exception { return ResourcePermissionTestUtil.addResourcePermission(companyId, name, primKey, roleId, scope); }