- add-category
- delete-categories
- delete-categories
- delete-category
- get-categories
- get-category
- get-child-categories
- get-child-categories
- get-json-search
- get-json-search
- get-json-vocabulary-categories
- get-json-vocabulary-categories
- get-vocabulary-categories
- get-vocabulary-categories
- get-vocabulary-categories
- get-vocabulary-categories-count
- get-vocabulary-categories-count
- get-vocabulary-root-categories
- get-vocabulary-root-categories
- get-vocabulary-root-categories-count
- move-category
- search
- search
- search
- update-category
- add-vocabulary
- add-vocabulary
- delete-vocabularies
- delete-vocabularies
- delete-vocabulary
- get-company-vocabularies
- get-group-vocabularies
- get-group-vocabularies
- get-group-vocabularies
- get-group-vocabularies
- get-group-vocabularies-count
- get-group-vocabularies-count
- get-group-vocabularies-display
- get-groups-vocabularies
- get-groups-vocabularies
- get-json-group-vocabularies
- get-json-group-vocabularies-display
- get-vocabularies
- get-vocabulary
- update-vocabulary
- update-vocabulary
- add-entry
- delete-entry
- get-company-entries
- get-company-entries-rss
- get-entry
- get-entry
- get-group-entries
- get-group-entries
- get-group-entries
- get-group-entries
- get-group-entries-count
- get-group-entries-count
- get-group-entries-rss
- get-groups-entries
- get-organization-entries
- get-organization-entries-rss
- subscribe
- unsubscribe
- update-entry
- add-file-entry
- add-file-entry
- add-file-entry
- add-file-shortcut
- add-folder
- add-temp-file-entry
- add-temp-file-entry
- cancel-check-out
- check-in-file-entry
- check-in-file-entry
- check-out-file-entry
- check-out-file-entry
- copy-folder
- delete-file-entry
- delete-file-entry-by-title
- delete-file-shortcut
- delete-file-version
- delete-folder
- delete-folder
- delete-temp-file-entry
- get-file-entries
- get-file-entries
- get-file-entries
- get-file-entries
- get-file-entries
- get-file-entries
- get-file-entries-and-file-shortcuts
- get-file-entries-and-file-shortcuts-count
- get-file-entries-and-file-shortcuts-count
- get-file-entries-count
- get-file-entries-count
- get-file-entry
- get-file-entry
- get-file-entry-by-uuid-and-group-id
- get-file-shortcut
- get-folder
- get-folder
- get-folders
- get-folders
- get-folders
- get-folders
- get-folders
- get-folders
- get-folders-and-file-entries-and-file-shortcuts
- get-folders-and-file-entries-and-file-shortcuts
- get-folders-and-file-entries-and-file-shortcuts
- get-folders-and-file-entries-and-file-shortcuts-count
- get-folders-and-file-entries-and-file-shortcuts-count
- get-folders-count
- get-folders-count
- get-folders-file-entries-count
- get-group-file-entries
- get-group-file-entries
- get-group-file-entries
- get-group-file-entries
- get-group-file-entries
- get-group-file-entries-count
- get-group-file-entries-count
- get-group-file-entries-count
- get-mount-folders
- get-mount-folders
- get-mount-folders
- get-mount-folders-count
- get-subfolder-ids
- get-subfolder-ids
- get-subfolder-ids
- get-temp-file-entry-names
- lock-file-entry
- lock-file-entry
- lock-folder
- lock-folder
- move-file-entry
- move-folder
- refresh-file-entry-lock
- refresh-folder-lock
- revert-file-entry
- search
- search
- unlock-file-entry
- unlock-file-entry
- unlock-folder
- unlock-folder
- update-file-entry
- update-file-entry
- update-file-entry
- update-file-entry-and-check-in
- update-file-entry-and-check-in
- update-file-shortcut
- update-folder
- verify-file-entry-check-out
- verify-file-entry-lock
- verify-inheritable-lock
- add-file-entry
- cancel-check-out
- check-in-file-entry
- check-in-file-entry
- check-out-file-entry
- check-out-file-entry
- check-out-file-entry
- check-out-file-entry
- copy-file-entry
- delete-file-entry
- delete-file-entry
- delete-file-version
- fetch-file-entry-by-image-id
- get-file-as-stream
- get-file-as-stream
- get-file-entries
- get-file-entries
- get-file-entries
- get-file-entries-count
- get-file-entries-count
- get-file-entries-count
- get-file-entry
- get-file-entry
- get-file-entry-by-uuid-and-group-id
- get-file-entry-lock
- get-folders-file-entries-count
- get-group-file-entries
- get-group-file-entries
- get-group-file-entries-count
- get-group-file-entries-count
- has-file-entry-lock
- is-file-entry-checked-out
- move-file-entry
- refresh-file-entry-lock
- revert-file-entry
- update-file-entry
- verify-file-entry-check-out
- verify-file-entry-lock
- add-folder
- delete-folder
- delete-folder
- get-file-entries-and-file-shortcuts
- get-file-entries-and-file-shortcuts-count
- get-file-entries-and-file-shortcuts-count
- get-folder
- get-folder
- get-folder-ids
- get-folders
- get-folders
- get-folders-and-file-entries-and-file-shortcuts
- get-folders-and-file-entries-and-file-shortcuts
- get-folders-and-file-entries-and-file-shortcuts
- get-folders-and-file-entries-and-file-shortcuts-count
- get-folders-and-file-entries-and-file-shortcuts-count
- get-folders-count
- get-folders-count
- get-mount-folders
- get-mount-folders-count
- get-subfolder-ids
- get-subfolder-ids
- has-folder-lock
- has-inheritable-lock
- is-folder-locked
- lock-folder
- lock-folder
- move-folder
- refresh-folder-lock
- unlock-folder
- unlock-folder
- update-folder
- verify-inheritable-lock
- add-group
- add-group
- add-role-groups
- delete-group
- get-group
- get-group
- get-manageable-sites
- get-organizations-groups
- get-user-group
- get-user-groups-groups
- get-user-organizations-groups
- get-user-places
- get-user-places
- get-user-places
- get-user-sites
- has-user-group
- search
- search-count
- set-role-groups
- unset-role-groups
- update-friendly-url
- update-group
- update-group
- add-article
- add-article
- copy-article
- delete-article
- delete-article
- expire-article
- expire-article
- get-article
- get-article
- get-article
- get-article
- get-article-by-url-title
- get-article-content
- get-article-content
- get-articles-by-article-id
- get-articles-by-layout-uuid
- get-articles-count-by-article-id
- get-display-article-by-url-title
- get-latest-article
- get-latest-article
- get-latest-article
- remove-article-locale
- remove-article-locale
- search
- search
- search
- search-count
- search-count
- search-count
- subscribe
- unsubscribe
- update-article
- update-article
- update-article
- update-article-translation
- update-article-translation
- update-content
- update-status
- add-layout
- add-layout
- delete-layout
- delete-layout
- export-layouts
- export-layouts
- export-layouts-as-file
- export-portlet-info
- export-portlet-info-as-file
- get-ancestor-layouts
- get-default-plid
- get-default-plid
- get-layout-by-uuid-and-group-id
- get-layout-name
- get-layout-references
- get-layouts
- get-layouts
- get-layouts
- import-layouts
- import-layouts
- import-layouts
- import-portlet-info
- import-portlet-info
- schedule-publish-to-live
- schedule-publish-to-remote
- set-layouts
- unschedule-publish-to-live
- unschedule-publish-to-remote
- update-layout
- update-layout
- update-look-and-feel
- update-name
- update-name
- update-parent-layout-id
- update-parent-layout-id
- update-priority
- update-priority
- add-discussion-message
- add-message
- add-message
- add-message
- delete-discussion-message
- delete-message
- get-category-messages
- get-category-messages-count
- get-category-messages-rss
- get-company-messages-rss
- get-group-messages-count
- get-group-messages-rss
- get-group-messages-rss
- get-message
- get-message-display
- get-thread-answers-count
- get-thread-messages
- get-thread-messages-count
- get-thread-messages-rss
- subscribe-message
- unsubscribe-message
- update-answer
- update-discussion-message
- update-message
- add-group-organizations
- add-organization
- add-organization
- add-password-policy-organizations
- delete-logo
- delete-organization
- get-manageable-organizations
- get-organization
- get-organization-id
- get-organizations
- get-organizations
- get-organizations-count
- get-user-organizations
- set-group-organizations
- unset-group-organizations
- unset-password-policy-organizations
- update-organization
- update-organization
- check-permission
- check-permission
- check-permission
- has-group-permission
- has-user-permission
- has-user-permissions
- set-group-permissions
- set-group-permissions
- set-individual-permissions
- set-org-group-permissions
- set-role-permission
- set-role-permissions
- set-user-permissions
- unset-role-permission
- unset-role-permission
- unset-role-permissions
- unset-user-permissions
- add-company-scope-permission
- add-group-scope-permission
- add-individual-scope-permission
- remove-all-group-scope-permissions
- remove-company-scope-permission
- remove-group-scope-permission
- remove-individual-scope-permission
- set-company-scope-permissions
- set-group-scope-permissions
- set-individual-scope-permissions
- set-individual-scope-permissions
- add-group-users
- add-organization-users
- add-password-policy-users
- add-role-users
- add-team-users
- add-user
- add-user
- add-user-group-users
- add-user-with-workflow
- add-user-with-workflow
- delete-portrait
- delete-role-user
- delete-user
- get-company-users
- get-company-users-count
- get-default-user-id
- get-group-user-ids
- get-group-users
- get-organization-user-ids
- get-organization-users
- get-role-user-ids
- get-user-by-email-address
- get-user-by-id
- get-user-by-screen-name
- get-user-group-users
- get-user-id-by-email-address
- get-user-id-by-screen-name
- has-group-user
- has-role-user
- has-role-user
- set-role-users
- set-user-group-users
- unset-group-teams-users
- unset-group-users
- unset-organization-users
- unset-password-policy-users
- unset-role-users
- unset-team-users
- unset-user-group-users
- update-agreed-to-terms-of-use
- update-email-address
- update-incomplete-user
- update-lockout-by-id
- update-open-id
- update-organizations
- update-password
- update-portrait
- update-reminder-query
- update-screen-name
- update-status
- update-user
- update-user
- add-page
- add-page
- add-page-attachment
- add-page-attachment
- add-page-attachments
- add-temp-page-attachment
- change-parent
- delete-page
- delete-page
- delete-page-attachment
- delete-temp-page-attachment
- get-children
- get-draft-page
- get-node-pages
- get-node-pages-rss
- get-node-pages-rss
- get-orphans
- get-page
- get-page
- get-page
- get-page
- get-pages
- get-pages
- get-pages-count
- get-pages-count
- get-pages-rss
- get-pages-rss
- get-recent-changes
- get-recent-changes-count
- get-temp-page-attachment-names
- move-page
- revert-page
- subscribe-page
- unsubscribe-page
- update-page
/layout/add-layout
- Метод HTTP
- POST
Adds a layout with additional parameters.
This method handles the creation of the layout including its resources, metadata, and internal data structures. It is not necessary to make subsequent calls to any methods to setup default groups, resources, ... etc.
Parameters
authentication token used to validate the request
the primary key of the group
whether the layout is private to the group
the primary key of the parent layout (optionally {@link com.liferay.portal.model.LayoutConstants#DEFAULT_PARENT_LAYOUT_ID})
the layout's locales and localized names
the layout's locales and localized titles
the layout's locales and localized descriptions
the layout's locales and localized keywords
the layout's locales and localized robots
the layout's type (optionally {@link com.liferay.portal.model.LayoutConstants#TYPE_PORTLET}). The possible types can be found in {@link com.liferay.portal.model.LayoutConstants}.
whether the layout is hidden
the layout's friendly URL (optionally {@link com.liferay.portal.util.PropsValues#DEFAULT_USER_PRIVATE_LAYOUT_FRIENDLY_URL} or {@link com.liferay.portal.util.PropsValues#DEFAULT_USER_PUBLIC_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)}.
the service context. Must set the universally unique identifier (UUID) for the layout. Can set the creation date, modification date and the expando bridge attributes for the layout. For layouts that belong to a layout set prototype, an attribute named 'layoutUpdateable' can be used to specify whether site administrators can modify this page within their site.
Return Type
the layout