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

/permission/set-group-permissions

Método do HTTP
POST
com.liferay.portal.service.PermissionServiceUtil#setGroupPermissions

Sets the entity's group permissions to perform the actions on the resource, replacing the entity's existing group permissions on the resource. Only {@link com.liferay.portal.model.Organization} and {@link com.liferay.portal.model.UserGroup} class entities are supported.

Parâmetros

p_auth String

authentication token used to validate the request

className java.lang.String

the class name of an organization or user group

classPK java.lang.String

the primary key of the class

groupId long

the primary key of the group

actionIds class java.lang.String[]

the primary keys of the actions

resourceId long

the primary key of the resource

Tipo de retorno

void

Exceção

com.liferay.portal.kernel.exception.PortalException
if the group did not have permission to the resource, if an entity with the class name and primary key could not be found, or if the entity's associated group could not be found
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Executar

String java.lang.String java.lang.String long class java.lang.String[] long