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

/organization/add-organization

Méthode de HTTP
POST
com.liferay.portal.service.OrganizationServiceUtil#addOrganization

Adds an organization with additional parameters.

This method handles the creation and bookkeeping of the organization including its resources, metadata, and internal data structures.

Paramètres

p_auth String

authentication token used to validate the request

parentOrganizationId long

the primary key of the organization's parent organization

name java.lang.String

the organization's name

type java.lang.String

the organization's type

recursable boolean

whether the permissions of the organization are to be inherited by its sub-organizations

regionId long

the primary key of the organization's region

countryId long

the primary key of the organization's country

statusId int

the organization's workflow status

comments java.lang.String

the comments about the organization

site boolean

whether the organization is to be associated with a main site

addresses java.util.List

the organization's addresses

emailAddresses java.util.List

the organization's email addresses

orgLabors java.util.List

the organization's hours of operation

phones java.util.List

the organization's phone numbers

websites java.util.List

the organization's websites

serviceContext com.liferay.portal.service.ServiceContext

the organization's service context (optionally null). Can set asset category IDs, asset tag names, and expando bridge attributes for the organization.

Type de retour

com.liferay.portal.model.Organization

the organization

Exception

com.liferay.portal.kernel.exception.PortalException
if a parent organization with the primary key could not be found, if the organization's information was invalid, or if the user did not have permission to add the organization
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Exécuter

String long java.lang.String java.lang.String
boolean
long long int java.lang.String
boolean
java.util.List java.util.List java.util.List java.util.List java.util.List