DLApp
Não há nenhum serviço que combina essa frase.

/role/add-role

Método do HTTP
POST
com.liferay.portal.service.RoleServiceUtil#addRole

Adds a role. The user is reindexed after role is added.

Parâmetros

p_auth String

authentication token used to validate the request

name java.lang.String

the role's name

titleMap java.util.Map

the role's localized titles (optionally null)

descriptionMap java.util.Map

the role's localized descriptions (optionally null)

type int

the role's type (optionally 0)

Tipo do retorno

com.liferay.portal.model.Role

the role

Exceção

com.liferay.portal.kernel.exception.PortalException
if a user with the primary key could not be found, if the user did not have permission to add roles, if the class name or the role name were invalid, or if the role is a duplicate
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Execute

String java.lang.String java.util.Map java.util.Map int