DLApp
Il n'y a aucun service assortissant cette expression.

/role/update-role

Méthode de HTTP
POST
com.liferay.portal.service.RoleServiceUtil#updateRole

Updates the role with the primary key.

Paramètres

p_auth String

authentication token used to validate the request

roleId long

the primary key of the role

name java.lang.String

the role's new name

titleMap java.util.Map

the new localized titles (optionally null) to replace those existing for the role

descriptionMap java.util.Map

the new localized descriptions (optionally null) to replace those existing for the role

subtype java.lang.String

the role's new subtype (optionally null)

Type de retour

com.liferay.portal.model.Role

the role with the primary key

Exception

com.liferay.portal.kernel.exception.PortalException
if the user did not have permission to update the role, if a role with the primary could not be found, or if the role's name was invalid
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Exécuter

String long java.lang.String java.util.Map java.util.Map java.lang.String