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

/group/add-group

Méthode de HTTP
POST
com.liferay.portal.service.GroupServiceUtil#addGroup

Adds a group.

Paramètres

p_auth String

authentication token used to validate the request

liveGroupId long

the primary key of the live group

name java.lang.String

the entity's name

description java.lang.String

the group's description (optionally null)

type int

the group's type. For more information see {@link com.liferay.portal.model.GroupConstants}

friendlyURL java.lang.String

the group's friendlyURL (optionally null)

site boolean

whether the group is to be associated with a main site

active boolean

whether the group is active

serviceContext com.liferay.portal.service.ServiceContext

the service context to be applied (optionally null). Can set the asset category IDs and asset tag names for the group, and can set whether the group is for staging

Type de retour

com.liferay.portal.model.Group

the group

Exception

com.liferay.portal.kernel.exception.PortalException
if the user did not have permission to add the group, if a creator could not be found, if the group's information was invalid, if a layout could not be found, or if a valid friendly URL could not be created for the group
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Exécuter

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