AnnouncementsDelivery
DLApp
FlagsEntry
LayoutRevision
PollsVote
There are no services matching that phrase.

/resourcepermission/remove-resource-permissions

Método do HTTP
POST
com.liferay.portal.service.ResourcePermissionServiceUtil#removeResourcePermissions

Revokes all permissions at the scope from the role to perform the action on resources of the type. For example, this method could be used to revoke all individual scope permissions to edit blog posts from site members.

Parâmetros

p_auth String

authentication token used to validate the request

groupId long

the primary key of the group

companyId long

the primary key of the company

name java.lang.String

the resource's name, which can be either a class name or a portlet ID

scope int

the scope

roleId long

the primary key of the role

actionId java.lang.String

the action ID

Tipo de retorno

void

Exceção

com.liferay.portal.kernel.exception.PortalException
if the user did not have permission to remove resource permissions, or if a role with the primary key or a resource action with the name and action ID could not be found
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Executar

String long long java.lang.String int long java.lang.String