Java com.liferay.portal.kernel.service ResourcePermissionLocalServiceUtil fields, constructors, methods, implement or subclass

Example usage for Java com.liferay.portal.kernel.service ResourcePermissionLocalServiceUtil fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.liferay.portal.kernel.service ResourcePermissionLocalServiceUtil.

The text is from its open source code.

Method

voidaddResourcePermission(long companyId, String name, int scope, String primKey, long roleId, String actionId)
Grants the role permission at the scope to perform the action on resources of the type.
com.liferay.portal.kernel.model.ResourcePermissiondeleteResourcePermission( long resourcePermissionId)
Deletes the resource permission with the primary key from the database.
com.liferay.portal.kernel.model.ResourcePermissiondeleteResourcePermission( com.liferay.portal.kernel.model.ResourcePermission resourcePermission)
Deletes the resource permission from the database.
com.liferay.portal.kernel.model.ResourcePermissionfetchResourcePermission( long resourcePermissionId)
java.util.Map>getAvailableResourcePermissionActionIds(long companyId, String name, int scope, String primKey, java.util.Collection actionIds)
com.liferay.portal.kernel.model.ResourcePermissiongetResourcePermission( long resourcePermissionId)
Returns the resource permission with the primary key.
com.liferay.portal.kernel.model.ResourcePermissiongetResourcePermission(long companyId, String name, int scope, String primKey, long roleId)
Returns the resource permission for the role at the scope to perform the actions on resources of the type.
java.util.ListgetResourcePermissions( long companyId, String name, int scope, String primKey)
Returns all the resource permissions at the scope of the type.
intgetResourcePermissionsCount(long companyId, String name, int scope, String primKey)
Returns the number of resource permissions at the scope of the type.
booleanhasResourcePermission(long companyId, String name, int scope, String primKey, long roleId, String actionId)
Returns true if the role has permission at the scope to perform the action on resources of the type.
booleanhasResourcePermission(long companyId, String name, int scope, String primKey, long[] roleIds, String actionId)
Returns true if the roles have permission at the scope to perform the action on resources of the type.
voidsetResourcePermissions(long companyId, String name, int scope, String primKey, long roleId, String[] actionIds)
Updates the role's permissions at the scope, setting the actions that can be performed on resources of the type.
voidsetResourcePermissions(long companyId, String name, int scope, String primKey, java.util.Map roleIdsToActionIds)
Updates the role's permissions at the scope, setting the actions that can be performed on resources of the type.