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

/layout/update-layout

Méthode de HTTP
POST
com.liferay.portal.service.LayoutServiceUtil#updateLayout

Updates the layout.

Paramètres

p_auth String

authentication token used to validate the request

groupId long

the primary key of the group

privateLayout boolean

whether the layout is private to the group

layoutId long

the primary key of the layout

parentLayoutId long

the primary key of the layout's new parent layout

localeNamesMap java.util.Map

the layout's locales and localized names

localeTitlesMap java.util.Map

the layout's locales and localized titles

descriptionMap java.util.Map

the locales and localized descriptions to merge (optionally null)

keywordsMap java.util.Map

the locales and localized keywords to merge (optionally null)

robotsMap java.util.Map

the locales and localized robots to merge (optionally null)

type java.lang.String

the layout's new type (optionally {@link com.liferay.portal.model.LayoutConstants#TYPE_PORTLET})

hidden boolean

whether the layout is hidden

friendlyURL java.lang.String

the layout's new friendly URL (optionally {@link com.liferay.portal.util.PropsValues#DEFAULT_USER_PRIVATE_LAYOUT_FRIENDLY_URL} or {@link com.liferay.portal.util.PropsValues#DEFAULT_USER_PRIVATE_LAYOUT_FRIENDLY_URL}). The default values can be overridden in portal-ext.properties by specifying new values for the corresponding properties defined in {@link com.liferay.portal.util.PropsValues}. To see how the URL is normalized when accessed see {@link com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize( String)}.

iconImage java.lang.Boolean

whether the icon image will be updated

iconBytes byte[]

the byte array of the layout's new icon image

serviceContext com.liferay.portal.service.ServiceContext

the service context. Can set the modification date and expando bridge attributes for the layout.

Type de retour

com.liferay.portal.model.Layout

the updated layout

Exception

com.liferay.portal.kernel.exception.PortalException
if a group or layout with the primary key could not be found, if the user did not have permission to update the layout, if a unique friendly URL could not be generated, if a valid parent layout ID to use could not be found, or if the layout parameters were invalid
com.liferay.portal.kernel.exception.SystemException
if a system exception occurred

Exécuter

String long
boolean
long long java.util.Map java.util.Map java.util.Map java.util.Map java.util.Map java.lang.String
boolean
java.lang.String java.lang.Boolean byte[]