public class ResourcePermissionTestUtil
extends Object
Constructor and Description |
---|
ResourcePermissionTestUtil() |
Modifier and Type | Method and Description |
---|---|
static com.liferay.portal.kernel.model.ResourcePermission |
addResourcePermission(long actionIds,
String name,
long roleId) |
static com.liferay.portal.kernel.model.ResourcePermission |
addResourcePermission(long actionIds,
String name,
String primKey,
int scope) |
static com.liferay.portal.kernel.model.ResourcePermission |
addResourcePermission(long actionIds,
String name,
String primKey,
long roleId,
int scope) |
static void |
deleteResourcePermissions(com.liferay.portal.kernel.model.PersistedModel persistedModel) |
public static com.liferay.portal.kernel.model.ResourcePermission addResourcePermission(long actionIds, String name, long roleId) throws Exception
Exception
public static com.liferay.portal.kernel.model.ResourcePermission addResourcePermission(long actionIds, String name, String primKey, int scope) throws Exception
Exception
public static com.liferay.portal.kernel.model.ResourcePermission addResourcePermission(long actionIds, String name, String primKey, long roleId, int scope) throws Exception
Exception
public static void deleteResourcePermissions(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws Exception
Exception