001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portal.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * Provides a wrapper for {@link LayoutLocalService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see LayoutLocalService
024     * @generated
025     */
026    @ProviderType
027    public class LayoutLocalServiceWrapper implements LayoutLocalService,
028            ServiceWrapper<LayoutLocalService> {
029            public LayoutLocalServiceWrapper(LayoutLocalService layoutLocalService) {
030                    _layoutLocalService = layoutLocalService;
031            }
032    
033            /**
034            * Adds the layout to the database. Also notifies the appropriate model listeners.
035            *
036            * @param layout the layout
037            * @return the layout that was added
038            */
039            @Override
040            public com.liferay.portal.model.Layout addLayout(
041                    com.liferay.portal.model.Layout layout) {
042                    return _layoutLocalService.addLayout(layout);
043            }
044    
045            /**
046            * Adds a layout with single entry maps for name, title, and description to
047            * the default locale.
048            *
049            * <p>
050            * This method handles the creation of the layout including its resources,
051            * metadata, and internal data structures. It is not necessary to make
052            * subsequent calls to any methods to setup default groups, resources, ...
053            * etc.
054            * </p>
055            *
056            * @param userId the primary key of the user
057            * @param groupId the primary key of the group
058            * @param privateLayout whether the layout is private to the group
059            * @param parentLayoutId the primary key of the parent layout (optionally
060            {@link LayoutConstants#DEFAULT_PARENT_LAYOUT_ID}). The possible
061            values can be found in {@link LayoutConstants}.
062            * @param name the layout's name (optionally {@link
063            PropsValues#DEFAULT_USER_PRIVATE_LAYOUT_NAME} or {@link
064            PropsValues#DEFAULT_USER_PUBLIC_LAYOUT_NAME}). The default values
065            can be overridden in <code>portal-ext.properties</code> by
066            specifying new values for the corresponding properties defined in
067            {@link PropsValues}
068            * @param title the layout's title
069            * @param description the layout's description
070            * @param type the layout's type (optionally {@link
071            LayoutConstants#TYPE_PORTLET}). The possible types can be found
072            in {@link LayoutConstants}.
073            * @param hidden whether the layout is hidden
074            * @param friendlyURL the friendly URL of the layout (optionally {@link
075            PropsValues#DEFAULT_USER_PRIVATE_LAYOUT_FRIENDLY_URL} or {@link
076            PropsValues#DEFAULT_USER_PUBLIC_LAYOUT_FRIENDLY_URL}). The
077            default values can be overridden in
078            <code>portal-ext.properties</code> by specifying new values for
079            the corresponding properties defined in {@link PropsValues}. To
080            see how the URL is normalized when accessed, see {@link
081            com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize(
082            String)}.
083            * @param serviceContext the service context to be applied. Must set the
084            UUID for the layout. Can set the creation date and modification
085            date for the layout. For layouts that belong to a layout set
086            prototype, an attribute named <code>layoutUpdateable</code> can
087            be set to specify whether site administrators can modify this
088            page within their site.
089            * @return the layout
090            */
091            @Override
092            public com.liferay.portal.model.Layout addLayout(long userId, long groupId,
093                    boolean privateLayout, long parentLayoutId, java.lang.String name,
094                    java.lang.String title, java.lang.String description,
095                    java.lang.String type, boolean hidden, java.lang.String friendlyURL,
096                    com.liferay.portal.service.ServiceContext serviceContext)
097                    throws com.liferay.portal.kernel.exception.PortalException {
098                    return _layoutLocalService.addLayout(userId, groupId, privateLayout,
099                            parentLayoutId, name, title, description, type, hidden,
100                            friendlyURL, serviceContext);
101            }
102    
103            /**
104            * Adds a layout.
105            *
106            * <p>
107            * This method handles the creation of the layout including its resources,
108            * metadata, and internal data structures. It is not necessary to make
109            * subsequent calls to any methods to setup default groups, resources, ...
110            * etc.
111            * </p>
112            *
113            * @param userId the primary key of the user
114            * @param groupId the primary key of the group
115            * @param privateLayout whether the layout is private to the group
116            * @param parentLayoutId the primary key of the parent layout
117            (optionally {@link LayoutConstants#DEFAULT_PARENT_LAYOUT_ID})
118            * @param nameMap the layout's locales and localized names
119            * @param titleMap the layout's locales and localized titles
120            * @param descriptionMap the layout's locales and localized
121            descriptions
122            * @param keywordsMap the layout's locales and localized keywords
123            * @param robotsMap the layout's locales and localized robots
124            * @param type the layout's type (optionally {@link
125            LayoutConstants#TYPE_PORTLET}). The possible types can be
126            found in {@link LayoutConstants}.
127            * @param hidden whether the layout is hidden
128            * @param friendlyURL the layout's friendly URL (optionally {@link
129            PropsValues#DEFAULT_USER_PRIVATE_LAYOUT_FRIENDLY_URL} or
130            {@link PropsValues#DEFAULT_USER_PUBLIC_LAYOUT_FRIENDLY_URL}).
131            The default values can be overridden in
132            <code>portal-ext.properties</code> by specifying new values
133            for the corresponding properties defined in {@link
134            PropsValues}. To see how the URL is normalized when accessed,
135            see {@link
136            com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize(
137            String)}.
138            * @param serviceContext the service context to be applied. Must set
139            the UUID for the layout. Can set the creation date,
140            modification date and the expando bridge attributes for the
141            layout. For layouts that belong to a layout set prototype, an
142            attribute named <code>layoutUpdateable</code> can be set to
143            specify whether site administrators can modify this page
144            within their site. For layouts that are created from a layout
145            prototype, attributes named <code>layoutPrototypeUuid</code>
146            and <code>layoutPrototypeLinkedEnabled</code> can be
147            specified to provide the unique identifier of the source
148            prototype and a boolean to determine whether a link to it
149            should be enabled to activate propagation of changes made to
150            the linked page in the prototype.
151            * @return the layout
152            * @deprecated As of 6.2.0, replaced by {@link #addLayout(long, long,
153            boolean, long, Map, Map, Map, Map, Map, String, String,
154            boolean, Map, ServiceContext)}
155            */
156            @Deprecated
157            @Override
158            public com.liferay.portal.model.Layout addLayout(long userId, long groupId,
159                    boolean privateLayout, long parentLayoutId,
160                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
161                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
162                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
163                    java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
164                    java.util.Map<java.util.Locale, java.lang.String> robotsMap,
165                    java.lang.String type, boolean hidden, java.lang.String friendlyURL,
166                    com.liferay.portal.service.ServiceContext serviceContext)
167                    throws com.liferay.portal.kernel.exception.PortalException {
168                    return _layoutLocalService.addLayout(userId, groupId, privateLayout,
169                            parentLayoutId, nameMap, titleMap, descriptionMap, keywordsMap,
170                            robotsMap, type, hidden, friendlyURL, serviceContext);
171            }
172    
173            /**
174            * Adds a layout with additional parameters.
175            *
176            * <p>
177            * This method handles the creation of the layout including its resources,
178            * metadata, and internal data structures. It is not necessary to make
179            * subsequent calls to any methods to setup default groups, resources, ...
180            * etc.
181            * </p>
182            *
183            * @param userId the primary key of the user
184            * @param groupId the primary key of the group
185            * @param privateLayout whether the layout is private to the group
186            * @param parentLayoutId the primary key of the parent layout (optionally
187            {@link LayoutConstants#DEFAULT_PARENT_LAYOUT_ID})
188            * @param nameMap the layout's locales and localized names
189            * @param titleMap the layout's locales and localized titles
190            * @param descriptionMap the layout's locales and localized descriptions
191            * @param keywordsMap the layout's locales and localized keywords
192            * @param robotsMap the layout's locales and localized robots
193            * @param type the layout's type (optionally {@link
194            LayoutConstants#TYPE_PORTLET}). The possible types can be found
195            in {@link LayoutConstants}.
196            * @param typeSettings the settings to load the unicode properties object.
197            See {@link UnicodeProperties #fastLoad(String)}.
198            * @param hidden whether the layout is hidden
199            * @param friendlyURLMap the layout's locales and localized friendly URLs.
200            To see how the URL is normalized when accessed, see {@link
201            com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize(
202            String)}.
203            * @param serviceContext the service context to be applied. Must set the
204            UUID for the layout. Can set the creation date, modification
205            date, and expando bridge attributes for the layout. For layouts
206            that belong to a layout set prototype, an attribute named
207            <code>layoutUpdateable</code> can be set to specify whether site
208            administrators can modify this page within their site. For
209            layouts that are created from a layout prototype, attributes
210            named <code>layoutPrototypeUuid</code> and
211            <code>layoutPrototypeLinkedEnabled</code> can be specified to
212            provide the unique identifier of the source prototype and a
213            boolean to determine whether a link to it should be enabled to
214            activate propagation of changes made to the linked page in the
215            prototype.
216            * @return the layout
217            */
218            @Override
219            public com.liferay.portal.model.Layout addLayout(long userId, long groupId,
220                    boolean privateLayout, long parentLayoutId,
221                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
222                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
223                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
224                    java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
225                    java.util.Map<java.util.Locale, java.lang.String> robotsMap,
226                    java.lang.String type, java.lang.String typeSettings, boolean hidden,
227                    java.util.Map<java.util.Locale, java.lang.String> friendlyURLMap,
228                    com.liferay.portal.service.ServiceContext serviceContext)
229                    throws com.liferay.portal.kernel.exception.PortalException {
230                    return _layoutLocalService.addLayout(userId, groupId, privateLayout,
231                            parentLayoutId, nameMap, titleMap, descriptionMap, keywordsMap,
232                            robotsMap, type, typeSettings, hidden, friendlyURLMap,
233                            serviceContext);
234            }
235    
236            /**
237            * Creates a new layout with the primary key. Does not add the layout to the database.
238            *
239            * @param plid the primary key for the new layout
240            * @return the new layout
241            */
242            @Override
243            public com.liferay.portal.model.Layout createLayout(long plid) {
244                    return _layoutLocalService.createLayout(plid);
245            }
246    
247            /**
248            * Deletes the layout with the primary key, also deleting the layout's child
249            * layouts, and associated resources.
250            *
251            * @param groupId the primary key of the group
252            * @param privateLayout whether the layout is private to the group
253            * @param layoutId the primary key of the layout
254            * @param serviceContext the service context to be applied
255            */
256            @Override
257            public void deleteLayout(long groupId, boolean privateLayout,
258                    long layoutId, com.liferay.portal.service.ServiceContext serviceContext)
259                    throws com.liferay.portal.kernel.exception.PortalException {
260                    _layoutLocalService.deleteLayout(groupId, privateLayout, layoutId,
261                            serviceContext);
262            }
263    
264            /**
265            * Deletes the layout from the database. Also notifies the appropriate model listeners.
266            *
267            * @param layout the layout
268            * @return the layout that was removed
269            */
270            @Override
271            public com.liferay.portal.model.Layout deleteLayout(
272                    com.liferay.portal.model.Layout layout) {
273                    return _layoutLocalService.deleteLayout(layout);
274            }
275    
276            /**
277            * Deletes the layout, its child layouts, and its associated resources.
278            *
279            * @param layout the layout
280            * @param updateLayoutSet whether the layout set's page counter needs to be
281            updated
282            * @param serviceContext the service context to be applied
283            */
284            @Override
285            public void deleteLayout(com.liferay.portal.model.Layout layout,
286                    boolean updateLayoutSet,
287                    com.liferay.portal.service.ServiceContext serviceContext)
288                    throws com.liferay.portal.kernel.exception.PortalException {
289                    _layoutLocalService.deleteLayout(layout, updateLayoutSet, serviceContext);
290            }
291    
292            /**
293            * Deletes the layout with the primary key from the database. Also notifies the appropriate model listeners.
294            *
295            * @param plid the primary key of the layout
296            * @return the layout that was removed
297            * @throws PortalException if a layout with the primary key could not be found
298            */
299            @Override
300            public com.liferay.portal.model.Layout deleteLayout(long plid)
301                    throws com.liferay.portal.kernel.exception.PortalException {
302                    return _layoutLocalService.deleteLayout(plid);
303            }
304    
305            /**
306            * Deletes the layout with the plid, also deleting the layout's child
307            * layouts, and associated resources.
308            *
309            * @param plid the primary key of the layout
310            * @param serviceContext the service context to be applied
311            */
312            @Override
313            public void deleteLayout(long plid,
314                    com.liferay.portal.service.ServiceContext serviceContext)
315                    throws com.liferay.portal.kernel.exception.PortalException {
316                    _layoutLocalService.deleteLayout(plid, serviceContext);
317            }
318    
319            /**
320            * Deletes the group's private or non-private layouts, also deleting the
321            * layouts' child layouts, and associated resources.
322            *
323            * @param groupId the primary key of the group
324            * @param privateLayout whether the layout is private to the group
325            * @param serviceContext the service context to be applied. The parent
326            layout set's page count will be updated by default, unless an
327            attribute named <code>updatePageCount</code> is set to
328            <code>false</code>.
329            */
330            @Override
331            public void deleteLayouts(long groupId, boolean privateLayout,
332                    com.liferay.portal.service.ServiceContext serviceContext)
333                    throws com.liferay.portal.kernel.exception.PortalException {
334                    _layoutLocalService.deleteLayouts(groupId, privateLayout, serviceContext);
335            }
336    
337            /**
338            * @throws PortalException
339            */
340            @Override
341            public com.liferay.portal.model.PersistedModel deletePersistedModel(
342                    com.liferay.portal.model.PersistedModel persistedModel)
343                    throws com.liferay.portal.kernel.exception.PortalException {
344                    return _layoutLocalService.deletePersistedModel(persistedModel);
345            }
346    
347            @Override
348            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
349                    return _layoutLocalService.dynamicQuery();
350            }
351    
352            /**
353            * Performs a dynamic query on the database and returns the matching rows.
354            *
355            * @param dynamicQuery the dynamic query
356            * @return the matching rows
357            */
358            @Override
359            public <T> java.util.List<T> dynamicQuery(
360                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
361                    return _layoutLocalService.dynamicQuery(dynamicQuery);
362            }
363    
364            /**
365            * Performs a dynamic query on the database and returns a range of the matching rows.
366            *
367            * <p>
368            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
369            * </p>
370            *
371            * @param dynamicQuery the dynamic query
372            * @param start the lower bound of the range of model instances
373            * @param end the upper bound of the range of model instances (not inclusive)
374            * @return the range of matching rows
375            */
376            @Override
377            public <T> java.util.List<T> dynamicQuery(
378                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
379                    int end) {
380                    return _layoutLocalService.dynamicQuery(dynamicQuery, start, end);
381            }
382    
383            /**
384            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
385            *
386            * <p>
387            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
388            * </p>
389            *
390            * @param dynamicQuery the dynamic query
391            * @param start the lower bound of the range of model instances
392            * @param end the upper bound of the range of model instances (not inclusive)
393            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
394            * @return the ordered range of matching rows
395            */
396            @Override
397            public <T> java.util.List<T> dynamicQuery(
398                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
399                    int end,
400                    com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
401                    return _layoutLocalService.dynamicQuery(dynamicQuery, start, end,
402                            orderByComparator);
403            }
404    
405            /**
406            * Returns the number of rows matching the dynamic query.
407            *
408            * @param dynamicQuery the dynamic query
409            * @return the number of rows matching the dynamic query
410            */
411            @Override
412            public long dynamicQueryCount(
413                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
414                    return _layoutLocalService.dynamicQueryCount(dynamicQuery);
415            }
416    
417            /**
418            * Returns the number of rows matching the dynamic query.
419            *
420            * @param dynamicQuery the dynamic query
421            * @param projection the projection to apply to the query
422            * @return the number of rows matching the dynamic query
423            */
424            @Override
425            public long dynamicQueryCount(
426                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
427                    com.liferay.portal.kernel.dao.orm.Projection projection) {
428                    return _layoutLocalService.dynamicQueryCount(dynamicQuery, projection);
429            }
430    
431            /**
432            * Exports layouts with the primary keys and criteria as a byte array.
433            *
434            * @param groupId the primary key of the group
435            * @param privateLayout whether the layout is private to the group
436            * @param layoutIds the primary keys of the layouts to be exported
437            * @param parameterMap the mapping of parameters indicating which
438            information to export. For information on the keys used in
439            the map see {@link
440            com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}.
441            * @param startDate the export's start date
442            * @param endDate the export's end date
443            * @return the layouts as a byte array
444            * @throws PortalException
445            * @deprecated As of 7.0.0, with no direct replacement
446            */
447            @Deprecated
448            @Override
449            public byte[] exportLayouts(long groupId, boolean privateLayout,
450                    long[] layoutIds,
451                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
452                    java.util.Date startDate, java.util.Date endDate)
453                    throws com.liferay.portal.kernel.exception.PortalException {
454                    return _layoutLocalService.exportLayouts(groupId, privateLayout,
455                            layoutIds, parameterMap, startDate, endDate);
456            }
457    
458            /**
459            * Exports all layouts that match the criteria as a byte array.
460            *
461            * @param groupId the primary key of the group
462            * @param privateLayout whether the layout is private to the group
463            * @param parameterMap the mapping of parameters indicating which
464            information to export. For information on the keys used in
465            the map see {@link
466            com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}.
467            * @param startDate the export's start date
468            * @param endDate the export's end date
469            * @return the layout as a byte array
470            * @throws PortalException
471            * @deprecated As of 7.0.0, with no direct replacement
472            */
473            @Deprecated
474            @Override
475            public byte[] exportLayouts(long groupId, boolean privateLayout,
476                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
477                    java.util.Date startDate, java.util.Date endDate)
478                    throws com.liferay.portal.kernel.exception.PortalException {
479                    return _layoutLocalService.exportLayouts(groupId, privateLayout,
480                            parameterMap, startDate, endDate);
481            }
482    
483            /**
484            * @throws PortalException
485            * @deprecated As of 7.0.0, replaced by {@link
486            com.liferay.portlet.exportimport.service.ExportImportLocalService#exportLayoutsAsFile(
487            ExportImportConfiguration)}
488            */
489            @Deprecated
490            @Override
491            public java.io.File exportLayoutsAsFile(
492                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
493                    throws com.liferay.portal.kernel.exception.PortalException {
494                    return _layoutLocalService.exportLayoutsAsFile(exportImportConfiguration);
495            }
496    
497            /**
498            * Exports the layouts that match the primary keys and criteria as a file.
499            *
500            * @param groupId the primary key of the group
501            * @param privateLayout whether the layout is private to the group
502            * @param layoutIds the primary keys of the layouts to be exported
503            (optionally <code>null</code>)
504            * @param parameterMap the mapping of parameters indicating which
505            information to export. For information on the keys used in
506            the map see {@link
507            com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}.
508            * @param startDate the export's start date
509            * @param endDate the export's end date
510            * @return the layouts as a File
511            * @throws PortalException
512            * @deprecated As of 7.0.0, with no direct replacement
513            */
514            @Deprecated
515            @Override
516            public java.io.File exportLayoutsAsFile(long groupId,
517                    boolean privateLayout, long[] layoutIds,
518                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
519                    java.util.Date startDate, java.util.Date endDate)
520                    throws com.liferay.portal.kernel.exception.PortalException {
521                    return _layoutLocalService.exportLayoutsAsFile(groupId, privateLayout,
522                            layoutIds, parameterMap, startDate, endDate);
523            }
524    
525            /**
526            * @throws PortalException
527            * @deprecated As of 7.0.0, replaced by {@link
528            com.liferay.portlet.exportimport.service.ExportImportLocalService#exportLayoutsAsFileInBackground(
529            long, ExportImportConfiguration)}
530            */
531            @Deprecated
532            @Override
533            public long exportLayoutsAsFileInBackground(long userId,
534                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
535                    throws com.liferay.portal.kernel.exception.PortalException {
536                    return _layoutLocalService.exportLayoutsAsFileInBackground(userId,
537                            exportImportConfiguration);
538            }
539    
540            /**
541            * @throws PortalException
542            * @deprecated As of 7.0.0, replaced by {@link
543            com.liferay.portlet.exportimport.service.ExportImportLocalService#exportLayoutsAsFileInBackground(
544            long, long)}
545            */
546            @Deprecated
547            @Override
548            public long exportLayoutsAsFileInBackground(long userId,
549                    long exportImportConfigurationId)
550                    throws com.liferay.portal.kernel.exception.PortalException {
551                    return _layoutLocalService.exportLayoutsAsFileInBackground(userId,
552                            exportImportConfigurationId);
553            }
554    
555            /**
556            * @throws PortalException
557            * @deprecated As of 7.0.0, with no direct replacement
558            */
559            @Deprecated
560            @Override
561            public long exportLayoutsAsFileInBackground(long userId,
562                    java.lang.String taskName, long groupId, boolean privateLayout,
563                    long[] layoutIds,
564                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
565                    java.util.Date startDate, java.util.Date endDate)
566                    throws com.liferay.portal.kernel.exception.PortalException {
567                    return _layoutLocalService.exportLayoutsAsFileInBackground(userId,
568                            taskName, groupId, privateLayout, layoutIds, parameterMap,
569                            startDate, endDate);
570            }
571    
572            /**
573            * @throws PortalException
574            * @deprecated As of 7.0.0, with no direct replacement
575            */
576            @Deprecated
577            @Override
578            public long exportLayoutsAsFileInBackground(long userId,
579                    java.lang.String taskName, long groupId, boolean privateLayout,
580                    long[] layoutIds,
581                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
582                    java.util.Date startDate, java.util.Date endDate,
583                    java.lang.String fileName)
584                    throws com.liferay.portal.kernel.exception.PortalException {
585                    return _layoutLocalService.exportLayoutsAsFileInBackground(userId,
586                            taskName, groupId, privateLayout, layoutIds, parameterMap,
587                            startDate, endDate, fileName);
588            }
589    
590            /**
591            * @throws PortalException
592            * @deprecated As of 7.0.0, with no direct replacement
593            */
594            @Deprecated
595            @Override
596            public byte[] exportPortletInfo(long companyId, java.lang.String portletId,
597                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
598                    java.util.Date startDate, java.util.Date endDate)
599                    throws com.liferay.portal.kernel.exception.PortalException {
600                    return _layoutLocalService.exportPortletInfo(companyId, portletId,
601                            parameterMap, startDate, endDate);
602            }
603    
604            /**
605            * Exports the portlet information (categories, permissions, ... etc.) as a
606            * byte array.
607            *
608            * @param plid the primary key of the layout
609            * @param groupId the primary key of the group
610            * @param portletId the primary key of the portlet
611            * @param parameterMap the mapping of parameters indicating which
612            information to export. For information on the keys used in
613            the map see {@link
614            com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}.
615            * @param startDate the export's start date
616            * @param endDate the export's end date
617            * @return the portlet information as a byte array
618            * @throws PortalException
619            * @deprecated As of 7.0.0, with no direct replacement
620            */
621            @Deprecated
622            @Override
623            public byte[] exportPortletInfo(long plid, long groupId,
624                    java.lang.String portletId,
625                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
626                    java.util.Date startDate, java.util.Date endDate)
627                    throws com.liferay.portal.kernel.exception.PortalException {
628                    return _layoutLocalService.exportPortletInfo(plid, groupId, portletId,
629                            parameterMap, startDate, endDate);
630            }
631    
632            /**
633            * @throws PortalException
634            * @deprecated As of 7.0.0, with no direct replacement
635            */
636            @Deprecated
637            @Override
638            public java.io.File exportPortletInfoAsFile(long companyId,
639                    java.lang.String portletId,
640                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
641                    java.util.Date startDate, java.util.Date endDate)
642                    throws com.liferay.portal.kernel.exception.PortalException {
643                    return _layoutLocalService.exportPortletInfoAsFile(companyId,
644                            portletId, parameterMap, startDate, endDate);
645            }
646    
647            /**
648            * @throws PortalException
649            * @deprecated As of 7.0.0, replaced by {@link
650            com.liferay.portlet.exportimport.service.ExportImportLocalService#exportPortletInfoAsFile(
651            ExportImportConfiguration)}}
652            */
653            @Deprecated
654            @Override
655            public java.io.File exportPortletInfoAsFile(
656                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
657                    throws com.liferay.portal.kernel.exception.PortalException {
658                    return _layoutLocalService.exportPortletInfoAsFile(exportImportConfiguration);
659            }
660    
661            /**
662            * Exports the portlet information (categories, permissions, ... etc.) as a
663            * file.
664            *
665            * @param plid the primary key of the layout
666            * @param groupId the primary key of the group
667            * @param portletId the primary key of the portlet
668            * @param parameterMap the mapping of parameters indicating which
669            information to export. For information on the keys used in
670            the map see {@link
671            com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}.
672            * @param startDate the export's start date
673            * @param endDate the export's end date
674            * @return the portlet information as a file
675            * @throws PortalException
676            * @deprecated As of 7.0.0, with no direct replacement
677            */
678            @Deprecated
679            @Override
680            public java.io.File exportPortletInfoAsFile(long plid, long groupId,
681                    java.lang.String portletId,
682                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
683                    java.util.Date startDate, java.util.Date endDate)
684                    throws com.liferay.portal.kernel.exception.PortalException {
685                    return _layoutLocalService.exportPortletInfoAsFile(plid, groupId,
686                            portletId, parameterMap, startDate, endDate);
687            }
688    
689            /**
690            * @throws PortalException
691            * @deprecated As of 7.0.0, replaced by {@link
692            com.liferay.portlet.exportimport.service.ExportImportLocalService#exportPortletInfoAsFileInBackground(
693            long, ExportImportConfiguration)}}
694            */
695            @Deprecated
696            @Override
697            public long exportPortletInfoAsFileInBackground(long userId,
698                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
699                    throws com.liferay.portal.kernel.exception.PortalException {
700                    return _layoutLocalService.exportPortletInfoAsFileInBackground(userId,
701                            exportImportConfiguration);
702            }
703    
704            /**
705            * @throws PortalException
706            * @deprecated As of 7.0.0, replaced by {@link
707            com.liferay.portlet.exportimport.service.ExportImportLocalService#exportPortletInfoAsFileInBackground(
708            long, long)}}
709            */
710            @Deprecated
711            @Override
712            public long exportPortletInfoAsFileInBackground(long userId,
713                    long exportImportConfigurationId)
714                    throws com.liferay.portal.kernel.exception.PortalException {
715                    return _layoutLocalService.exportPortletInfoAsFileInBackground(userId,
716                            exportImportConfigurationId);
717            }
718    
719            /**
720            * @throws PortalException
721            * @deprecated As of 7.0.0, with no direct replacement
722            */
723            @Deprecated
724            @Override
725            public long exportPortletInfoAsFileInBackground(long userId,
726                    java.lang.String taskName, long plid, long groupId,
727                    java.lang.String portletId,
728                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
729                    java.util.Date startDate, java.util.Date endDate,
730                    java.lang.String fileName)
731                    throws com.liferay.portal.kernel.exception.PortalException {
732                    return _layoutLocalService.exportPortletInfoAsFileInBackground(userId,
733                            taskName, plid, groupId, portletId, parameterMap, startDate,
734                            endDate, fileName);
735            }
736    
737            /**
738            * @throws PortalException
739            * @deprecated As of 7.0.0, with no direct replacement
740            */
741            @Deprecated
742            @Override
743            public long exportPortletInfoAsFileInBackground(long userId,
744                    java.lang.String taskName, java.lang.String portletId,
745                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
746                    java.util.Date startDate, java.util.Date endDate,
747                    java.lang.String fileName)
748                    throws com.liferay.portal.kernel.exception.PortalException {
749                    return _layoutLocalService.exportPortletInfoAsFileInBackground(userId,
750                            taskName, portletId, parameterMap, startDate, endDate, fileName);
751            }
752    
753            @Override
754            public com.liferay.portal.model.Layout fetchFirstLayout(long groupId,
755                    boolean privateLayout, long parentLayoutId) {
756                    return _layoutLocalService.fetchFirstLayout(groupId, privateLayout,
757                            parentLayoutId);
758            }
759    
760            @Override
761            public com.liferay.portal.model.Layout fetchLayout(long groupId,
762                    boolean privateLayout, long layoutId) {
763                    return _layoutLocalService.fetchLayout(groupId, privateLayout, layoutId);
764            }
765    
766            @Override
767            public com.liferay.portal.model.Layout fetchLayout(long plid) {
768                    return _layoutLocalService.fetchLayout(plid);
769            }
770    
771            @Override
772            public com.liferay.portal.model.Layout fetchLayoutByFriendlyURL(
773                    long groupId, boolean privateLayout, java.lang.String friendlyURL) {
774                    return _layoutLocalService.fetchLayoutByFriendlyURL(groupId,
775                            privateLayout, friendlyURL);
776            }
777    
778            /**
779            * Returns the layout matching the UUID, group, and privacy.
780            *
781            * @param uuid the layout's UUID
782            * @param groupId the primary key of the group
783            * @param privateLayout whether the layout is private to the group
784            * @return the matching layout, or <code>null</code> if a matching layout could not be found
785            */
786            @Override
787            public com.liferay.portal.model.Layout fetchLayoutByUuidAndGroupId(
788                    java.lang.String uuid, long groupId, boolean privateLayout) {
789                    return _layoutLocalService.fetchLayoutByUuidAndGroupId(uuid, groupId,
790                            privateLayout);
791            }
792    
793            @Override
794            public com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
795                    return _layoutLocalService.getActionableDynamicQuery();
796            }
797    
798            /**
799            * Returns the primary key of the default layout for the group
800            *
801            * @param groupId the primary key of the group
802            * @return the primary key of the default layout for the group (optionally
803            {@link LayoutConstants#DEFAULT_PLID})
804            */
805            @Override
806            public long getDefaultPlid(long groupId) {
807                    return _layoutLocalService.getDefaultPlid(groupId);
808            }
809    
810            /**
811            * Returns primary key of the matching default layout for the group
812            *
813            * @param groupId the primary key of the group
814            * @param privateLayout whether the layout is private to the group
815            * @return the primary key of the default layout for the group; {@link
816            LayoutConstants#DEFAULT_PLID}) otherwise
817            */
818            @Override
819            public long getDefaultPlid(long groupId, boolean privateLayout) {
820                    return _layoutLocalService.getDefaultPlid(groupId, privateLayout);
821            }
822    
823            /**
824            * Returns primary key of the default portlet layout for the group
825            *
826            * @param groupId the primary key of the group
827            * @param privateLayout whether the layout is private to the group
828            * @param portletId the primary key of the portlet
829            * @return the primary key of the default portlet layout for the group;
830            {@link LayoutConstants#DEFAULT_PLID} otherwise
831            * @throws PortalException
832            */
833            @Override
834            public long getDefaultPlid(long groupId, boolean privateLayout,
835                    java.lang.String portletId)
836                    throws com.liferay.portal.kernel.exception.PortalException {
837                    return _layoutLocalService.getDefaultPlid(groupId, privateLayout,
838                            portletId);
839            }
840    
841            @Override
842            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
843                    com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) {
844                    return _layoutLocalService.getExportActionableDynamicQuery(portletDataContext);
845            }
846    
847            /**
848            * Returns the layout for the friendly URL
849            *
850            * @param groupId the primary key of the group
851            * @param privateLayout whether the layout is private to the group
852            * @param friendlyURL the friendly URL of the layout
853            * @return the layout for the friendly URL
854            */
855            @Override
856            public com.liferay.portal.model.Layout getFriendlyURLLayout(long groupId,
857                    boolean privateLayout, java.lang.String friendlyURL)
858                    throws com.liferay.portal.kernel.exception.PortalException {
859                    return _layoutLocalService.getFriendlyURLLayout(groupId, privateLayout,
860                            friendlyURL);
861            }
862    
863            /**
864            * Returns the layout matching the primary key, group, and privacy; throws a
865            * {@link NoSuchLayoutException} otherwise.
866            *
867            * @param groupId the primary key of the group
868            * @param privateLayout whether the layout is private to the group
869            * @param layoutId the primary key of the layout
870            * @return the matching layout
871            */
872            @Override
873            public com.liferay.portal.model.Layout getLayout(long groupId,
874                    boolean privateLayout, long layoutId)
875                    throws com.liferay.portal.kernel.exception.PortalException {
876                    return _layoutLocalService.getLayout(groupId, privateLayout, layoutId);
877            }
878    
879            /**
880            * Returns the layout with the primary key.
881            *
882            * @param plid the primary key of the layout
883            * @return the layout
884            * @throws PortalException if a layout with the primary key could not be found
885            */
886            @Override
887            public com.liferay.portal.model.Layout getLayout(long plid)
888                    throws com.liferay.portal.kernel.exception.PortalException {
889                    return _layoutLocalService.getLayout(plid);
890            }
891    
892            /**
893            * Returns the layout for the icon image; throws a {@link
894            * NoSuchLayoutException} otherwise.
895            *
896            * @param iconImageId the primary key of the icon image
897            * @return Returns the layout for the icon image
898            */
899            @Override
900            public com.liferay.portal.model.Layout getLayoutByIconImageId(
901                    long iconImageId)
902                    throws com.liferay.portal.kernel.exception.PortalException {
903                    return _layoutLocalService.getLayoutByIconImageId(iconImageId);
904            }
905    
906            /**
907            * Returns the layout matching the UUID, group, and privacy.
908            *
909            * @param uuid the layout's UUID
910            * @param groupId the primary key of the group
911            * @param privateLayout whether the layout is private to the group
912            * @return the matching layout
913            * @throws PortalException if a matching layout could not be found
914            */
915            @Override
916            public com.liferay.portal.model.Layout getLayoutByUuidAndGroupId(
917                    java.lang.String uuid, long groupId, boolean privateLayout)
918                    throws com.liferay.portal.kernel.exception.PortalException {
919                    return _layoutLocalService.getLayoutByUuidAndGroupId(uuid, groupId,
920                            privateLayout);
921            }
922    
923            /**
924            * Returns the layout references for all the layouts that belong to the
925            * company and belong to the portlet that matches the preferences.
926            *
927            * @param companyId the primary key of the company
928            * @param portletId the primary key of the portlet
929            * @param preferencesKey the portlet's preference key
930            * @param preferencesValue the portlet's preference value
931            * @return the layout references of the matching layouts
932            */
933            @Override
934            public com.liferay.portal.model.LayoutReference[] getLayouts(
935                    long companyId, java.lang.String portletId,
936                    java.lang.String preferencesKey, java.lang.String preferencesValue) {
937                    return _layoutLocalService.getLayouts(companyId, portletId,
938                            preferencesKey, preferencesValue);
939            }
940    
941            /**
942            * Returns all the layouts belonging to the group.
943            *
944            * @param groupId the primary key of the group
945            * @param privateLayout whether the layout is private to the group
946            * @return the matching layouts, or <code>null</code> if no matches were
947            found
948            */
949            @Override
950            public java.util.List<com.liferay.portal.model.Layout> getLayouts(
951                    long groupId, boolean privateLayout) {
952                    return _layoutLocalService.getLayouts(groupId, privateLayout);
953            }
954    
955            /**
956            * Returns all the layouts that match the layout IDs and belong to the
957            * group.
958            *
959            * @param groupId the primary key of the group
960            * @param privateLayout whether the layout is private to the group
961            * @param layoutIds the primary keys of the layouts
962            * @return the matching layouts, or an empty list if no matches were found
963            */
964            @Override
965            public java.util.List<com.liferay.portal.model.Layout> getLayouts(
966                    long groupId, boolean privateLayout, long[] layoutIds)
967                    throws com.liferay.portal.kernel.exception.PortalException {
968                    return _layoutLocalService.getLayouts(groupId, privateLayout, layoutIds);
969            }
970    
971            /**
972            * Returns all the layouts belonging to the group that are children of the
973            * parent layout.
974            *
975            * @param groupId the primary key of the group
976            * @param privateLayout whether the layout is private to the group
977            * @param parentLayoutId the primary key of the parent layout
978            * @return the matching layouts, or <code>null</code> if no matches were
979            found
980            */
981            @Override
982            public java.util.List<com.liferay.portal.model.Layout> getLayouts(
983                    long groupId, boolean privateLayout, long parentLayoutId) {
984                    return _layoutLocalService.getLayouts(groupId, privateLayout,
985                            parentLayoutId);
986            }
987    
988            /**
989            * Returns a range of all the layouts belonging to the group that are
990            * children of the parent layout.
991            *
992            * <p>
993            * Useful when paginating results. Returns a maximum of <code>end -
994            * start</code> instances. <code>start</code> and <code>end</code> are not
995            * primary keys, they are indexes in the result set. Thus, <code>0</code>
996            * refers to the first result in the set. Setting both <code>start</code>
997            * and <code>end</code> to {@link QueryUtil#ALL_POS} will return the full
998            * result set.
999            * </p>
1000            *
1001            * @param groupId the primary key of the group
1002            * @param privateLayout whether the layout is private to the group
1003            * @param parentLayoutId the primary key of the parent layout
1004            * @param incomplete whether the layout is incomplete
1005            * @param start the lower bound of the range of layouts
1006            * @param end the upper bound of the range of layouts (not inclusive)
1007            * @return the matching layouts, or <code>null</code> if no matches were
1008            found
1009            */
1010            @Override
1011            public java.util.List<com.liferay.portal.model.Layout> getLayouts(
1012                    long groupId, boolean privateLayout, long parentLayoutId,
1013                    boolean incomplete, int start, int end) {
1014                    return _layoutLocalService.getLayouts(groupId, privateLayout,
1015                            parentLayoutId, incomplete, start, end);
1016            }
1017    
1018            /**
1019            * Returns all the layouts that match the type and belong to the group.
1020            *
1021            * @param groupId the primary key of the group
1022            * @param privateLayout whether the layout is private to the group
1023            * @param type the type of the layouts (optionally {@link
1024            LayoutConstants#TYPE_PORTLET})
1025            * @return the matching layouts, or <code>null</code> if no matches were
1026            found
1027            */
1028            @Override
1029            public java.util.List<com.liferay.portal.model.Layout> getLayouts(
1030                    long groupId, boolean privateLayout, java.lang.String type) {
1031                    return _layoutLocalService.getLayouts(groupId, privateLayout, type);
1032            }
1033    
1034            /**
1035            * Returns a range of all the layouts.
1036            *
1037            * <p>
1038            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portal.model.impl.LayoutModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
1039            * </p>
1040            *
1041            * @param start the lower bound of the range of layouts
1042            * @param end the upper bound of the range of layouts (not inclusive)
1043            * @return the range of layouts
1044            */
1045            @Override
1046            public java.util.List<com.liferay.portal.model.Layout> getLayouts(
1047                    int start, int end) {
1048                    return _layoutLocalService.getLayouts(start, end);
1049            }
1050    
1051            @Override
1052            public java.util.List<com.liferay.portal.model.Layout> getLayoutsByLayoutPrototypeUuid(
1053                    java.lang.String layoutPrototypeUuid) {
1054                    return _layoutLocalService.getLayoutsByLayoutPrototypeUuid(layoutPrototypeUuid);
1055            }
1056    
1057            @Override
1058            public int getLayoutsByLayoutPrototypeUuidCount(
1059                    java.lang.String layoutPrototypeUuid) {
1060                    return _layoutLocalService.getLayoutsByLayoutPrototypeUuidCount(layoutPrototypeUuid);
1061            }
1062    
1063            /**
1064            * Returns all the layouts matching the UUID and company.
1065            *
1066            * @param uuid the UUID of the layouts
1067            * @param companyId the primary key of the company
1068            * @return the matching layouts, or an empty list if no matches were found
1069            */
1070            @Override
1071            public java.util.List<com.liferay.portal.model.Layout> getLayoutsByUuidAndCompanyId(
1072                    java.lang.String uuid, long companyId) {
1073                    return _layoutLocalService.getLayoutsByUuidAndCompanyId(uuid, companyId);
1074            }
1075    
1076            /**
1077            * Returns a range of layouts matching the UUID and company.
1078            *
1079            * @param uuid the UUID of the layouts
1080            * @param companyId the primary key of the company
1081            * @param start the lower bound of the range of layouts
1082            * @param end the upper bound of the range of layouts (not inclusive)
1083            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1084            * @return the range of matching layouts, or an empty list if no matches were found
1085            */
1086            @Override
1087            public java.util.List<com.liferay.portal.model.Layout> getLayoutsByUuidAndCompanyId(
1088                    java.lang.String uuid, long companyId, int start, int end,
1089                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.Layout> orderByComparator) {
1090                    return _layoutLocalService.getLayoutsByUuidAndCompanyId(uuid,
1091                            companyId, start, end, orderByComparator);
1092            }
1093    
1094            /**
1095            * Returns the number of layouts.
1096            *
1097            * @return the number of layouts
1098            */
1099            @Override
1100            public int getLayoutsCount() {
1101                    return _layoutLocalService.getLayoutsCount();
1102            }
1103    
1104            @Override
1105            public int getLayoutsCount(com.liferay.portal.model.Group group,
1106                    boolean privateLayout)
1107                    throws com.liferay.portal.kernel.exception.PortalException {
1108                    return _layoutLocalService.getLayoutsCount(group, privateLayout);
1109            }
1110    
1111            @Override
1112            public int getLayoutsCount(com.liferay.portal.model.Group group,
1113                    boolean privateLayout, boolean includeUserGroups)
1114                    throws com.liferay.portal.kernel.exception.PortalException {
1115                    return _layoutLocalService.getLayoutsCount(group, privateLayout,
1116                            includeUserGroups);
1117            }
1118    
1119            @Override
1120            public int getLayoutsCount(com.liferay.portal.model.Group group,
1121                    boolean privateLayout, long parentLayoutId) {
1122                    return _layoutLocalService.getLayoutsCount(group, privateLayout,
1123                            parentLayoutId);
1124            }
1125    
1126            @Override
1127            public int getLayoutsCount(com.liferay.portal.model.User user,
1128                    boolean privateLayout)
1129                    throws com.liferay.portal.kernel.exception.PortalException {
1130                    return _layoutLocalService.getLayoutsCount(user, privateLayout);
1131            }
1132    
1133            @Override
1134            public int getLayoutsCount(com.liferay.portal.model.User user,
1135                    boolean privateLayout, boolean includeUserGroups)
1136                    throws com.liferay.portal.kernel.exception.PortalException {
1137                    return _layoutLocalService.getLayoutsCount(user, privateLayout,
1138                            includeUserGroups);
1139            }
1140    
1141            /**
1142            * Returns the primary key to use for the next layout.
1143            *
1144            * @param groupId the primary key of the group
1145            * @param privateLayout whether the layout is private to the group
1146            * @return the primary key to use for the next layout
1147            */
1148            @Override
1149            public long getNextLayoutId(long groupId, boolean privateLayout) {
1150                    return _layoutLocalService.getNextLayoutId(groupId, privateLayout);
1151            }
1152    
1153            /**
1154            * Returns all the layouts without resource permissions
1155            *
1156            * @param roleId the primary key of the role
1157            * @return all the layouts without resource permissions
1158            */
1159            @Override
1160            public java.util.List<com.liferay.portal.model.Layout> getNoPermissionLayouts(
1161                    long roleId) {
1162                    return _layoutLocalService.getNoPermissionLayouts(roleId);
1163            }
1164    
1165            /**
1166            * Returns all the layouts whose friendly URLs are <code>null</code>
1167            *
1168            * @return all the layouts whose friendly URLs are <code>null</code>
1169            */
1170            @Override
1171            public java.util.List<com.liferay.portal.model.Layout> getNullFriendlyURLLayouts() {
1172                    return _layoutLocalService.getNullFriendlyURLLayouts();
1173            }
1174    
1175            /**
1176            * Returns the OSGi service identifier.
1177            *
1178            * @return the OSGi service identifier
1179            */
1180            @Override
1181            public java.lang.String getOSGiServiceIdentifier() {
1182                    return _layoutLocalService.getOSGiServiceIdentifier();
1183            }
1184    
1185            @Override
1186            public com.liferay.portal.model.Layout getParentLayout(
1187                    com.liferay.portal.model.Layout layout)
1188                    throws com.liferay.portal.kernel.exception.PortalException {
1189                    return _layoutLocalService.getParentLayout(layout);
1190            }
1191    
1192            @Override
1193            public com.liferay.portal.model.PersistedModel getPersistedModel(
1194                    java.io.Serializable primaryKeyObj)
1195                    throws com.liferay.portal.kernel.exception.PortalException {
1196                    return _layoutLocalService.getPersistedModel(primaryKeyObj);
1197            }
1198    
1199            /**
1200            * Returns all the layouts within scope of the group
1201            *
1202            * @param groupId the primary key of the group
1203            * @param privateLayout whether the layout is private to the group
1204            * @return the layouts within scope of the group
1205            */
1206            @Override
1207            public java.util.List<com.liferay.portal.model.Layout> getScopeGroupLayouts(
1208                    long groupId, boolean privateLayout) {
1209                    return _layoutLocalService.getScopeGroupLayouts(groupId, privateLayout);
1210            }
1211    
1212            @Override
1213            public boolean hasLayoutSetPrototypeLayout(long layoutSetPrototypeId,
1214                    java.lang.String layoutUuid)
1215                    throws com.liferay.portal.kernel.exception.PortalException {
1216                    return _layoutLocalService.hasLayoutSetPrototypeLayout(layoutSetPrototypeId,
1217                            layoutUuid);
1218            }
1219    
1220            @Override
1221            public boolean hasLayoutSetPrototypeLayout(
1222                    java.lang.String layoutSetPrototypeUuid, long companyId,
1223                    java.lang.String layoutUuid)
1224                    throws com.liferay.portal.kernel.exception.PortalException {
1225                    return _layoutLocalService.hasLayoutSetPrototypeLayout(layoutSetPrototypeUuid,
1226                            companyId, layoutUuid);
1227            }
1228    
1229            @Override
1230            public boolean hasLayouts(com.liferay.portal.model.Group group)
1231                    throws com.liferay.portal.kernel.exception.PortalException {
1232                    return _layoutLocalService.hasLayouts(group);
1233            }
1234    
1235            @Override
1236            public boolean hasLayouts(com.liferay.portal.model.Group group,
1237                    boolean privateLayout)
1238                    throws com.liferay.portal.kernel.exception.PortalException {
1239                    return _layoutLocalService.hasLayouts(group, privateLayout);
1240            }
1241    
1242            @Override
1243            public boolean hasLayouts(com.liferay.portal.model.Group group,
1244                    boolean privateLayout, boolean includeUserGroups)
1245                    throws com.liferay.portal.kernel.exception.PortalException {
1246                    return _layoutLocalService.hasLayouts(group, privateLayout,
1247                            includeUserGroups);
1248            }
1249    
1250            /**
1251            * Returns <code>true</code> if the group has any layouts;
1252            * <code>false</code> otherwise.
1253            *
1254            * @param groupId the primary key of the group
1255            * @param privateLayout whether the layout is private to the group
1256            * @param parentLayoutId the primary key of the parent layout
1257            * @return <code>true</code> if the group has any layouts;
1258            <code>false</code> otherwise
1259            */
1260            @Override
1261            public boolean hasLayouts(long groupId, boolean privateLayout,
1262                    long parentLayoutId) {
1263                    return _layoutLocalService.hasLayouts(groupId, privateLayout,
1264                            parentLayoutId);
1265            }
1266    
1267            @Override
1268            public boolean hasLayouts(com.liferay.portal.model.User user,
1269                    boolean privateLayout)
1270                    throws com.liferay.portal.kernel.exception.PortalException {
1271                    return _layoutLocalService.hasLayouts(user, privateLayout);
1272            }
1273    
1274            @Override
1275            public boolean hasLayouts(com.liferay.portal.model.User user,
1276                    boolean privateLayout, boolean includeUserGroups)
1277                    throws com.liferay.portal.kernel.exception.PortalException {
1278                    return _layoutLocalService.hasLayouts(user, privateLayout,
1279                            includeUserGroups);
1280            }
1281    
1282            /**
1283            * @throws PortalException
1284            * @deprecated As of 7.0.0, replaced by {@link
1285            com.liferay.portlet.exportimport.service.ExportImportLocalService#importLayouts(
1286            ExportImportConfiguration, File)}}
1287            */
1288            @Deprecated
1289            @Override
1290            public void importLayouts(
1291                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
1292                    java.io.File file)
1293                    throws com.liferay.portal.kernel.exception.PortalException {
1294                    _layoutLocalService.importLayouts(exportImportConfiguration, file);
1295            }
1296    
1297            /**
1298            * @throws PortalException
1299            * @deprecated As of 7.0.0, replaced by {@link
1300            com.liferay.portlet.exportimport.service.ExportImportLocalService#importLayouts(
1301            ExportImportConfiguration, InputStream)}}
1302            */
1303            @Deprecated
1304            @Override
1305            public void importLayouts(
1306                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
1307                    java.io.InputStream is)
1308                    throws com.liferay.portal.kernel.exception.PortalException {
1309                    _layoutLocalService.importLayouts(exportImportConfiguration, is);
1310            }
1311    
1312            /**
1313            * Imports the layouts from the byte array.
1314            *
1315            * @param userId the primary key of the user
1316            * @param groupId the primary key of the group
1317            * @param privateLayout whether the layout is private to the group
1318            * @param parameterMap the mapping of parameters indicating which
1319            information will be imported. For information on the keys
1320            used in the map see {@link
1321            com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}.
1322            * @param bytes the byte array with the data
1323            * @throws PortalException
1324            * @see com.liferay.portlet.exportimport.lar.LayoutImporter
1325            * @deprecated As of 7.0.0, with no direct replacement
1326            */
1327            @Deprecated
1328            @Override
1329            public void importLayouts(long userId, long groupId, boolean privateLayout,
1330                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1331                    byte[] bytes)
1332                    throws com.liferay.portal.kernel.exception.PortalException {
1333                    _layoutLocalService.importLayouts(userId, groupId, privateLayout,
1334                            parameterMap, bytes);
1335            }
1336    
1337            /**
1338            * Imports the layouts from the file.
1339            *
1340            * @param userId the primary key of the user
1341            * @param groupId the primary key of the group
1342            * @param privateLayout whether the layout is private to the group
1343            * @param parameterMap the mapping of parameters indicating which
1344            information will be imported. For information on the keys
1345            used in the map see {@link
1346            com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}.
1347            * @param file the LAR file with the data
1348            * @throws PortalException
1349            * @see com.liferay.portlet.exportimport.lar.LayoutImporter
1350            * @deprecated As of 7.0.0, with no direct replacement
1351            */
1352            @Deprecated
1353            @Override
1354            public void importLayouts(long userId, long groupId, boolean privateLayout,
1355                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1356                    java.io.File file)
1357                    throws com.liferay.portal.kernel.exception.PortalException {
1358                    _layoutLocalService.importLayouts(userId, groupId, privateLayout,
1359                            parameterMap, file);
1360            }
1361    
1362            /**
1363            * Imports the layouts from the input stream.
1364            *
1365            * @param userId the primary key of the user
1366            * @param groupId the primary key of the group
1367            * @param privateLayout whether the layout is private to the group
1368            * @param parameterMap the mapping of parameters indicating which
1369            information will be imported. For information on the keys
1370            used in the map see {@link
1371            com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}.
1372            * @param is the input stream
1373            * @throws PortalException
1374            * @see com.liferay.portlet.exportimport.lar.LayoutImporter
1375            * @deprecated As of 7.0.0, with no direct replacement
1376            */
1377            @Deprecated
1378            @Override
1379            public void importLayouts(long userId, long groupId, boolean privateLayout,
1380                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1381                    java.io.InputStream is)
1382                    throws com.liferay.portal.kernel.exception.PortalException {
1383                    _layoutLocalService.importLayouts(userId, groupId, privateLayout,
1384                            parameterMap, is);
1385            }
1386    
1387            /**
1388            * @throws PortalException
1389            * @deprecated As of 7.0.0, replaced by {@link
1390            com.liferay.portlet.exportimport.service.ExportImportLocalService#importLayoutsDataDeletions(
1391            ExportImportConfiguration, File)}
1392            */
1393            @Deprecated
1394            @Override
1395            public void importLayoutsDataDeletions(
1396                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
1397                    java.io.File file)
1398                    throws com.liferay.portal.kernel.exception.PortalException {
1399                    _layoutLocalService.importLayoutsDataDeletions(exportImportConfiguration,
1400                            file);
1401            }
1402    
1403            /**
1404            * @throws PortalException
1405            * @deprecated As of 7.0.0, replaced by {@link
1406            com.liferay.portlet.exportimport.service.ExportImportLocalService#importLayoutsInBackground(
1407            long, ExportImportConfiguration, File)}
1408            */
1409            @Deprecated
1410            @Override
1411            public long importLayoutsInBackground(long userId,
1412                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
1413                    java.io.File file)
1414                    throws com.liferay.portal.kernel.exception.PortalException {
1415                    return _layoutLocalService.importLayoutsInBackground(userId,
1416                            exportImportConfiguration, file);
1417            }
1418    
1419            /**
1420            * @throws PortalException
1421            * @deprecated As of 7.0.0, replaced by {@link
1422            com.liferay.portlet.exportimport.service.ExportImportLocalService#importLayoutsInBackground(
1423            long, long, File)}
1424            */
1425            @Deprecated
1426            @Override
1427            public long importLayoutsInBackground(long userId,
1428                    long exportImportConfigurationId, java.io.File file)
1429                    throws com.liferay.portal.kernel.exception.PortalException {
1430                    return _layoutLocalService.importLayoutsInBackground(userId,
1431                            exportImportConfigurationId, file);
1432            }
1433    
1434            /**
1435            * @throws PortalException
1436            * @deprecated As of 7.0.0, with no direct replacement
1437            */
1438            @Deprecated
1439            @Override
1440            public long importLayoutsInBackground(long userId,
1441                    java.lang.String taskName, long groupId, boolean privateLayout,
1442                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1443                    java.io.File file)
1444                    throws com.liferay.portal.kernel.exception.PortalException {
1445                    return _layoutLocalService.importLayoutsInBackground(userId, taskName,
1446                            groupId, privateLayout, parameterMap, file);
1447            }
1448    
1449            /**
1450            * @throws PortalException
1451            * @deprecated As of 7.0.0, with no direct replacement
1452            */
1453            @Deprecated
1454            @Override
1455            public long importLayoutsInBackground(long userId,
1456                    java.lang.String taskName, long groupId, boolean privateLayout,
1457                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1458                    java.io.InputStream is)
1459                    throws com.liferay.portal.kernel.exception.PortalException {
1460                    return _layoutLocalService.importLayoutsInBackground(userId, taskName,
1461                            groupId, privateLayout, parameterMap, is);
1462            }
1463    
1464            /**
1465            * @throws PortalException
1466            * @deprecated As of 7.0.0, replaced by {@link
1467            com.liferay.portlet.exportimport.service.ExportImportLocalService#importPortletDataDeletions(
1468            ExportImportConfiguration, File)}
1469            */
1470            @Deprecated
1471            @Override
1472            public void importPortletDataDeletions(
1473                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
1474                    java.io.File file)
1475                    throws com.liferay.portal.kernel.exception.PortalException {
1476                    _layoutLocalService.importPortletDataDeletions(exportImportConfiguration,
1477                            file);
1478            }
1479    
1480            /**
1481            * @throws PortalException
1482            * @deprecated As of 7.0.0, replaced by {@link
1483            com.liferay.portlet.exportimport.service.ExportImportLocalService#importPortletInfo(
1484            ExportImportConfiguration, File)}
1485            */
1486            @Deprecated
1487            @Override
1488            public void importPortletInfo(
1489                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
1490                    java.io.File file)
1491                    throws com.liferay.portal.kernel.exception.PortalException {
1492                    _layoutLocalService.importPortletInfo(exportImportConfiguration, file);
1493            }
1494    
1495            /**
1496            * @throws PortalException
1497            * @deprecated As of 7.0.0, replaced by {@link
1498            com.liferay.portlet.exportimport.service.ExportImportLocalService#importPortletInfo(
1499            ExportImportConfiguration, InputStream)}
1500            */
1501            @Deprecated
1502            @Override
1503            public void importPortletInfo(
1504                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
1505                    java.io.InputStream is)
1506                    throws com.liferay.portal.kernel.exception.PortalException {
1507                    _layoutLocalService.importPortletInfo(exportImportConfiguration, is);
1508            }
1509    
1510            /**
1511            * Imports the portlet information (categories, permissions, ... etc.) from
1512            * the file.
1513            *
1514            * @param userId the primary key of the user
1515            * @param plid the primary key of the target layout
1516            * @param groupId the primary key of the target group
1517            * @param portletId the primary key of the portlet
1518            * @param parameterMap the mapping of parameters indicating which
1519            information will be imported. For information on the keys
1520            used in the map see {@link
1521            com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}.
1522            * @param file the LAR file with the data
1523            * @throws PortalException
1524            * @deprecated As of 7.0.0, with no direct replacement
1525            */
1526            @Deprecated
1527            @Override
1528            public void importPortletInfo(long userId, long plid, long groupId,
1529                    java.lang.String portletId,
1530                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1531                    java.io.File file)
1532                    throws com.liferay.portal.kernel.exception.PortalException {
1533                    _layoutLocalService.importPortletInfo(userId, plid, groupId, portletId,
1534                            parameterMap, file);
1535            }
1536    
1537            /**
1538            * Imports the portlet information (categories, permissions, ... etc.) from
1539            * the input stream.
1540            *
1541            * @param userId the primary key of the user
1542            * @param plid the primary key of the layout
1543            * @param groupId the primary key of the group
1544            * @param portletId the primary key of the portlet
1545            * @param parameterMap the mapping of parameters indicating which
1546            information will be imported. For information on the keys
1547            used in the map see {@link
1548            com.liferay.portlet.exportimport.lar.PortletDataHandlerKeys}.
1549            * @param is the input stream
1550            * @throws PortalException
1551            * @deprecated As of 7.0.0, with no direct replacement
1552            */
1553            @Deprecated
1554            @Override
1555            public void importPortletInfo(long userId, long plid, long groupId,
1556                    java.lang.String portletId,
1557                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1558                    java.io.InputStream is)
1559                    throws com.liferay.portal.kernel.exception.PortalException {
1560                    _layoutLocalService.importPortletInfo(userId, plid, groupId, portletId,
1561                            parameterMap, is);
1562            }
1563    
1564            /**
1565            * @throws PortalException
1566            * @deprecated As of 7.0.0, with no direct replacement
1567            */
1568            @Deprecated
1569            @Override
1570            public void importPortletInfo(long userId, java.lang.String portletId,
1571                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1572                    java.io.File file)
1573                    throws com.liferay.portal.kernel.exception.PortalException {
1574                    _layoutLocalService.importPortletInfo(userId, portletId, parameterMap,
1575                            file);
1576            }
1577    
1578            /**
1579            * @throws PortalException
1580            * @deprecated As of 7.0.0, with no direct replacement
1581            */
1582            @Deprecated
1583            @Override
1584            public void importPortletInfo(long userId, java.lang.String portletId,
1585                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1586                    java.io.InputStream is)
1587                    throws com.liferay.portal.kernel.exception.PortalException {
1588                    _layoutLocalService.importPortletInfo(userId, portletId, parameterMap,
1589                            is);
1590            }
1591    
1592            /**
1593            * @throws PortalException
1594            * @deprecated As of 7.0.0, replaced by {@link
1595            com.liferay.portlet.exportimport.service.ExportImportLocalService#importPortletInfoInBackground(
1596            long, ExportImportConfiguration, File)}
1597            */
1598            @Deprecated
1599            @Override
1600            public long importPortletInfoInBackground(long userId,
1601                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
1602                    java.io.File file)
1603                    throws com.liferay.portal.kernel.exception.PortalException {
1604                    return _layoutLocalService.importPortletInfoInBackground(userId,
1605                            exportImportConfiguration, file);
1606            }
1607    
1608            /**
1609            * @throws PortalException
1610            * @deprecated As of 7.0.0, replaced by {@link
1611            com.liferay.portlet.exportimport.service.ExportImportLocalService#importPortletInfoInBackground(
1612            long, long, File)}
1613            */
1614            @Deprecated
1615            @Override
1616            public long importPortletInfoInBackground(long userId,
1617                    long exportImportConfigurationId, java.io.File file)
1618                    throws com.liferay.portal.kernel.exception.PortalException {
1619                    return _layoutLocalService.importPortletInfoInBackground(userId,
1620                            exportImportConfigurationId, file);
1621            }
1622    
1623            /**
1624            * @throws PortalException
1625            * @deprecated As of 7.0.0, with no direct replacement
1626            */
1627            @Deprecated
1628            @Override
1629            public long importPortletInfoInBackground(long userId,
1630                    java.lang.String taskName, long plid, long groupId,
1631                    java.lang.String portletId,
1632                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1633                    java.io.File file)
1634                    throws com.liferay.portal.kernel.exception.PortalException {
1635                    return _layoutLocalService.importPortletInfoInBackground(userId,
1636                            taskName, plid, groupId, portletId, parameterMap, file);
1637            }
1638    
1639            /**
1640            * @throws PortalException
1641            * @deprecated As of 7.0.0, with no direct replacement
1642            */
1643            @Deprecated
1644            @Override
1645            public long importPortletInfoInBackground(long userId,
1646                    java.lang.String taskName, long plid, long groupId,
1647                    java.lang.String portletId,
1648                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1649                    java.io.InputStream is)
1650                    throws com.liferay.portal.kernel.exception.PortalException {
1651                    return _layoutLocalService.importPortletInfoInBackground(userId,
1652                            taskName, plid, groupId, portletId, parameterMap, is);
1653            }
1654    
1655            /**
1656            * @throws PortalException
1657            * @deprecated As of 7.0.0, with no direct replacement
1658            */
1659            @Deprecated
1660            @Override
1661            public long importPortletInfoInBackground(long userId,
1662                    java.lang.String taskName, java.lang.String portletId,
1663                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1664                    java.io.File file)
1665                    throws com.liferay.portal.kernel.exception.PortalException {
1666                    return _layoutLocalService.importPortletInfoInBackground(userId,
1667                            taskName, portletId, parameterMap, file);
1668            }
1669    
1670            /**
1671            * @throws PortalException
1672            * @deprecated As of 7.0.0, with no direct replacement
1673            */
1674            @Deprecated
1675            @Override
1676            public long importPortletInfoInBackground(long userId,
1677                    java.lang.String taskName, java.lang.String portletId,
1678                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1679                    java.io.InputStream is)
1680                    throws com.liferay.portal.kernel.exception.PortalException {
1681                    return _layoutLocalService.importPortletInfoInBackground(userId,
1682                            taskName, portletId, parameterMap, is);
1683            }
1684    
1685            /**
1686            * Sets the layouts for the group, replacing and prioritizing all layouts of
1687            * the parent layout.
1688            *
1689            * @param groupId the primary key of the group
1690            * @param privateLayout whether the layout is private to the group
1691            * @param parentLayoutId the primary key of the parent layout
1692            * @param layoutIds the primary keys of the layouts
1693            * @param serviceContext the service context to be applied
1694            */
1695            @Override
1696            public void setLayouts(long groupId, boolean privateLayout,
1697                    long parentLayoutId, long[] layoutIds,
1698                    com.liferay.portal.service.ServiceContext serviceContext)
1699                    throws com.liferay.portal.kernel.exception.PortalException {
1700                    _layoutLocalService.setLayouts(groupId, privateLayout, parentLayoutId,
1701                            layoutIds, serviceContext);
1702            }
1703    
1704            @Override
1705            public void updateAsset(long userId,
1706                    com.liferay.portal.model.Layout layout, long[] assetCategoryIds,
1707                    java.lang.String[] assetTagNames)
1708                    throws com.liferay.portal.kernel.exception.PortalException {
1709                    _layoutLocalService.updateAsset(userId, layout, assetCategoryIds,
1710                            assetTagNames);
1711            }
1712    
1713            /**
1714            * Updates the friendly URL of the layout.
1715            *
1716            * @param plid the primary key of the layout
1717            * @param friendlyURL the friendly URL to be assigned
1718            * @param languageId the primary key of the language
1719            * @return the updated layout
1720            * @deprecated As of 7.0.0, replaced by {@link #updateFriendlyURL(long,
1721            long, String, String)}
1722            */
1723            @Deprecated
1724            @Override
1725            public com.liferay.portal.model.Layout updateFriendlyURL(long plid,
1726                    java.lang.String friendlyURL, java.lang.String languageId)
1727                    throws com.liferay.portal.kernel.exception.PortalException {
1728                    return _layoutLocalService.updateFriendlyURL(plid, friendlyURL,
1729                            languageId);
1730            }
1731    
1732            /**
1733            * Updates the friendly URL of the layout.
1734            *
1735            * @param userId the primary key of the user
1736            * @param plid the primary key of the layout
1737            * @param friendlyURL the friendly URL to be assigned
1738            * @param languageId the primary key of the language
1739            * @return the updated layout
1740            */
1741            @Override
1742            public com.liferay.portal.model.Layout updateFriendlyURL(long userId,
1743                    long plid, java.lang.String friendlyURL, java.lang.String languageId)
1744                    throws com.liferay.portal.kernel.exception.PortalException {
1745                    return _layoutLocalService.updateFriendlyURL(userId, plid, friendlyURL,
1746                            languageId);
1747            }
1748    
1749            @Override
1750            public com.liferay.portal.model.Layout updateIconImage(long plid,
1751                    byte[] bytes)
1752                    throws com.liferay.portal.kernel.exception.PortalException {
1753                    return _layoutLocalService.updateIconImage(plid, bytes);
1754            }
1755    
1756            /**
1757            * Updates the layout.
1758            *
1759            * @param groupId the primary key of the group
1760            * @param privateLayout whether the layout is private to the group
1761            * @param layoutId the primary key of the layout
1762            * @param parentLayoutId the primary key of the layout's new parent
1763            layout
1764            * @param nameMap the locales and localized names to merge (optionally
1765            <code>null</code>)
1766            * @param titleMap the locales and localized titles to merge
1767            (optionally <code>null</code>)
1768            * @param descriptionMap the locales and localized descriptions to
1769            merge (optionally <code>null</code>)
1770            * @param keywordsMap the locales and localized keywords to merge
1771            (optionally <code>null</code>)
1772            * @param robotsMap the locales and localized robots to merge
1773            (optionally <code>null</code>)
1774            * @param type the layout's new type (optionally {@link
1775            LayoutConstants#TYPE_PORTLET})
1776            * @param hidden whether the layout is hidden
1777            * @param friendlyURL the layout's new friendly URL (optionally {@link
1778            PropsValues#DEFAULT_USER_PRIVATE_LAYOUT_FRIENDLY_URL} or
1779            {@link
1780            PropsValues#DEFAULT_USER_PRIVATE_LAYOUT_FRIENDLY_URL}). The
1781            default values can be overridden in
1782            <code>portal-ext.properties</code> by specifying new values
1783            for the corresponding properties defined in {@link
1784            PropsValues}. To see how the URL is normalized when accessed,
1785            see {@link
1786            com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize(
1787            String)}.
1788            * @param iconImage whether the icon image will be updated
1789            * @param iconBytes the byte array of the layout's new icon image
1790            * @param serviceContext the service context to be applied. Can set the
1791            modification date and expando bridge attributes for the
1792            layout. For layouts that are linked to a layout prototype,
1793            attributes named <code>layoutPrototypeUuid</code> and
1794            <code>layoutPrototypeLinkedEnabled</code> can be specified to
1795            provide the unique identifier of the source prototype and a
1796            boolean to determine whether a link to it should be enabled
1797            to activate propagation of changes made to the linked page in
1798            the prototype.
1799            * @return the updated layout
1800            * @deprecated As of 6.2.0, replaced by {@link #updateLayout(long, boolean,
1801            long, long, Map, Map, Map, Map, Map, String, boolean, Map,
1802            boolean, byte[], ServiceContext)}
1803            */
1804            @Deprecated
1805            @Override
1806            public com.liferay.portal.model.Layout updateLayout(long groupId,
1807                    boolean privateLayout, long layoutId, long parentLayoutId,
1808                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
1809                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
1810                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1811                    java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
1812                    java.util.Map<java.util.Locale, java.lang.String> robotsMap,
1813                    java.lang.String type, boolean hidden, java.lang.String friendlyURL,
1814                    java.lang.Boolean iconImage, byte[] iconBytes,
1815                    com.liferay.portal.service.ServiceContext serviceContext)
1816                    throws com.liferay.portal.kernel.exception.PortalException {
1817                    return _layoutLocalService.updateLayout(groupId, privateLayout,
1818                            layoutId, parentLayoutId, nameMap, titleMap, descriptionMap,
1819                            keywordsMap, robotsMap, type, hidden, friendlyURL, iconImage,
1820                            iconBytes, serviceContext);
1821            }
1822    
1823            /**
1824            * Updates the layout.
1825            *
1826            * @param groupId the primary key of the group
1827            * @param privateLayout whether the layout is private to the group
1828            * @param layoutId the primary key of the layout
1829            * @param parentLayoutId the primary key of the layout's new parent layout
1830            * @param nameMap the locales and localized names to merge (optionally
1831            <code>null</code>)
1832            * @param titleMap the locales and localized titles to merge (optionally
1833            <code>null</code>)
1834            * @param descriptionMap the locales and localized descriptions to merge
1835            (optionally <code>null</code>)
1836            * @param keywordsMap the locales and localized keywords to merge
1837            (optionally <code>null</code>)
1838            * @param robotsMap the locales and localized robots to merge (optionally
1839            <code>null</code>)
1840            * @param type the layout's new type (optionally {@link
1841            LayoutConstants#TYPE_PORTLET})
1842            * @param hidden whether the layout is hidden
1843            * @param friendlyURLMap the layout's locales and localized friendly URLs.
1844            To see how the URL is normalized when accessed, see {@link
1845            com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize(
1846            String)}.
1847            * @param iconImage whether the icon image will be updated
1848            * @param iconBytes the byte array of the layout's new icon image
1849            * @param serviceContext the service context to be applied. Can set the
1850            modification date and expando bridge attributes for the layout.
1851            For layouts that are linked to a layout prototype, attributes
1852            named <code>layoutPrototypeUuid</code> and
1853            <code>layoutPrototypeLinkedEnabled</code> can be specified to
1854            provide the unique identifier of the source prototype and a
1855            boolean to determine whether a link to it should be enabled to
1856            activate propagation of changes made to the linked page in the
1857            prototype.
1858            * @return the updated layout
1859            */
1860            @Override
1861            public com.liferay.portal.model.Layout updateLayout(long groupId,
1862                    boolean privateLayout, long layoutId, long parentLayoutId,
1863                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
1864                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
1865                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1866                    java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
1867                    java.util.Map<java.util.Locale, java.lang.String> robotsMap,
1868                    java.lang.String type, boolean hidden,
1869                    java.util.Map<java.util.Locale, java.lang.String> friendlyURLMap,
1870                    boolean iconImage, byte[] iconBytes,
1871                    com.liferay.portal.service.ServiceContext serviceContext)
1872                    throws com.liferay.portal.kernel.exception.PortalException {
1873                    return _layoutLocalService.updateLayout(groupId, privateLayout,
1874                            layoutId, parentLayoutId, nameMap, titleMap, descriptionMap,
1875                            keywordsMap, robotsMap, type, hidden, friendlyURLMap, iconImage,
1876                            iconBytes, serviceContext);
1877            }
1878    
1879            /**
1880            * Updates the layout replacing its type settings.
1881            *
1882            * @param groupId the primary key of the group
1883            * @param privateLayout whether the layout is private to the group
1884            * @param layoutId the primary key of the layout
1885            * @param typeSettings the settings to load the unicode properties object.
1886            See {@link UnicodeProperties #fastLoad(String)}.
1887            * @return the updated layout
1888            */
1889            @Override
1890            public com.liferay.portal.model.Layout updateLayout(long groupId,
1891                    boolean privateLayout, long layoutId, java.lang.String typeSettings)
1892                    throws com.liferay.portal.kernel.exception.PortalException {
1893                    return _layoutLocalService.updateLayout(groupId, privateLayout,
1894                            layoutId, typeSettings);
1895            }
1896    
1897            /**
1898            * Updates the layout in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
1899            *
1900            * @param layout the layout
1901            * @return the layout that was updated
1902            */
1903            @Override
1904            public com.liferay.portal.model.Layout updateLayout(
1905                    com.liferay.portal.model.Layout layout) {
1906                    return _layoutLocalService.updateLayout(layout);
1907            }
1908    
1909            /**
1910            * Updates the look and feel of the layout.
1911            *
1912            * @param groupId the primary key of the group
1913            * @param privateLayout whether the layout is private to the group
1914            * @param layoutId the primary key of the layout
1915            * @param themeId the primary key of the layout's new theme
1916            * @param colorSchemeId the primary key of the layout's new color scheme
1917            * @param css the layout's new CSS
1918            * @param wapTheme whether the theme is for WAP browsers
1919            * @return the updated layout
1920            */
1921            @Override
1922            public com.liferay.portal.model.Layout updateLookAndFeel(long groupId,
1923                    boolean privateLayout, long layoutId, java.lang.String themeId,
1924                    java.lang.String colorSchemeId, java.lang.String css, boolean wapTheme)
1925                    throws com.liferay.portal.kernel.exception.PortalException {
1926                    return _layoutLocalService.updateLookAndFeel(groupId, privateLayout,
1927                            layoutId, themeId, colorSchemeId, css, wapTheme);
1928            }
1929    
1930            /**
1931            * Updates the name of the layout matching the group, layout ID, and
1932            * privacy.
1933            *
1934            * @param groupId the primary key of the group
1935            * @param privateLayout whether the layout is private to the group
1936            * @param layoutId the primary key of the layout
1937            * @param name the layout's new name
1938            * @param languageId the primary key of the language. For more information
1939            see {@link Locale}.
1940            * @return the updated layout
1941            */
1942            @Override
1943            public com.liferay.portal.model.Layout updateName(long groupId,
1944                    boolean privateLayout, long layoutId, java.lang.String name,
1945                    java.lang.String languageId)
1946                    throws com.liferay.portal.kernel.exception.PortalException {
1947                    return _layoutLocalService.updateName(groupId, privateLayout, layoutId,
1948                            name, languageId);
1949            }
1950    
1951            /**
1952            * Updates the name of the layout.
1953            *
1954            * @param layout the layout to be updated
1955            * @param name the layout's new name
1956            * @param languageId the primary key of the language. For more information
1957            see {@link Locale}.
1958            * @return the updated layout
1959            */
1960            @Override
1961            public com.liferay.portal.model.Layout updateName(
1962                    com.liferay.portal.model.Layout layout, java.lang.String name,
1963                    java.lang.String languageId)
1964                    throws com.liferay.portal.kernel.exception.PortalException {
1965                    return _layoutLocalService.updateName(layout, name, languageId);
1966            }
1967    
1968            /**
1969            * Updates the name of the layout matching the primary key.
1970            *
1971            * @param plid the primary key of the layout
1972            * @param name the name to be assigned
1973            * @param languageId the primary key of the language. For more information
1974            see {@link Locale}.
1975            * @return the updated layout
1976            */
1977            @Override
1978            public com.liferay.portal.model.Layout updateName(long plid,
1979                    java.lang.String name, java.lang.String languageId)
1980                    throws com.liferay.portal.kernel.exception.PortalException {
1981                    return _layoutLocalService.updateName(plid, name, languageId);
1982            }
1983    
1984            /**
1985            * Updates the parent layout ID of the layout matching the group, layout ID,
1986            * and privacy.
1987            *
1988            * @param groupId the primary key of the group
1989            * @param privateLayout whether the layout is private to the group
1990            * @param layoutId the primary key of the layout
1991            * @param parentLayoutId the primary key to be assigned to the parent
1992            layout
1993            * @return the matching layout
1994            */
1995            @Override
1996            public com.liferay.portal.model.Layout updateParentLayoutId(long groupId,
1997                    boolean privateLayout, long layoutId, long parentLayoutId)
1998                    throws com.liferay.portal.kernel.exception.PortalException {
1999                    return _layoutLocalService.updateParentLayoutId(groupId, privateLayout,
2000                            layoutId, parentLayoutId);
2001            }
2002    
2003            /**
2004            * Updates the parent layout ID of the layout matching the primary key. If a
2005            * layout matching the parent primary key is found, the layout ID of that
2006            * layout is assigned, otherwise {@link
2007            * LayoutConstants#DEFAULT_PARENT_LAYOUT_ID} is assigned.
2008            *
2009            * @param plid the primary key of the layout
2010            * @param parentPlid the primary key of the parent layout
2011            * @return the layout matching the primary key
2012            */
2013            @Override
2014            public com.liferay.portal.model.Layout updateParentLayoutId(long plid,
2015                    long parentPlid)
2016                    throws com.liferay.portal.kernel.exception.PortalException {
2017                    return _layoutLocalService.updateParentLayoutId(plid, parentPlid);
2018            }
2019    
2020            /**
2021            * Updates the parent layout ID and priority of the layout.
2022            *
2023            * @param plid the primary key of the layout
2024            * @param parentPlid the primary key of the parent layout
2025            * @param priority the layout's new priority
2026            * @return the layout matching the primary key
2027            */
2028            @Override
2029            public com.liferay.portal.model.Layout updateParentLayoutIdAndPriority(
2030                    long plid, long parentPlid, int priority)
2031                    throws com.liferay.portal.kernel.exception.PortalException {
2032                    return _layoutLocalService.updateParentLayoutIdAndPriority(plid,
2033                            parentPlid, priority);
2034            }
2035    
2036            /**
2037            * Updates the priorities of the layouts.
2038            *
2039            * @param groupId the primary key of the group
2040            * @param privateLayout whether the layout is private to the group
2041            * @throws PortalException
2042            */
2043            @Override
2044            public void updatePriorities(long groupId, boolean privateLayout)
2045                    throws com.liferay.portal.kernel.exception.PortalException {
2046                    _layoutLocalService.updatePriorities(groupId, privateLayout);
2047            }
2048    
2049            /**
2050            * Updates the priority of the layout matching the group, layout ID, and
2051            * privacy, setting the layout's priority based on the priorities of the
2052            * next and previous layouts.
2053            *
2054            * @param groupId the primary key of the group
2055            * @param privateLayout whether the layout is private to the group
2056            * @param layoutId the primary key of the layout
2057            * @param nextLayoutId the primary key of the next layout
2058            * @param previousLayoutId the primary key of the previous layout
2059            * @return the updated layout
2060            */
2061            @Override
2062            public com.liferay.portal.model.Layout updatePriority(long groupId,
2063                    boolean privateLayout, long layoutId, long nextLayoutId,
2064                    long previousLayoutId)
2065                    throws com.liferay.portal.kernel.exception.PortalException {
2066                    return _layoutLocalService.updatePriority(groupId, privateLayout,
2067                            layoutId, nextLayoutId, previousLayoutId);
2068            }
2069    
2070            /**
2071            * Updates the priority of the layout matching the group, layout ID, and
2072            * privacy.
2073            *
2074            * @param groupId the primary key of the group
2075            * @param privateLayout whether the layout is private to the group
2076            * @param layoutId the primary key of the layout
2077            * @param priority the layout's new priority
2078            * @return the updated layout
2079            */
2080            @Override
2081            public com.liferay.portal.model.Layout updatePriority(long groupId,
2082                    boolean privateLayout, long layoutId, int priority)
2083                    throws com.liferay.portal.kernel.exception.PortalException {
2084                    return _layoutLocalService.updatePriority(groupId, privateLayout,
2085                            layoutId, priority);
2086            }
2087    
2088            /**
2089            * Updates the priority of the layout.
2090            *
2091            * @param layout the layout to be updated
2092            * @param priority the layout's new priority
2093            * @return the updated layout
2094            */
2095            @Override
2096            public com.liferay.portal.model.Layout updatePriority(
2097                    com.liferay.portal.model.Layout layout, int priority)
2098                    throws com.liferay.portal.kernel.exception.PortalException {
2099                    return _layoutLocalService.updatePriority(layout, priority);
2100            }
2101    
2102            /**
2103            * Updates the priority of the layout matching the primary key.
2104            *
2105            * @param plid the primary key of the layout
2106            * @param priority the layout's new priority
2107            * @return the updated layout
2108            */
2109            @Override
2110            public com.liferay.portal.model.Layout updatePriority(long plid,
2111                    int priority)
2112                    throws com.liferay.portal.kernel.exception.PortalException {
2113                    return _layoutLocalService.updatePriority(plid, priority);
2114            }
2115    
2116            /**
2117            * Updates the names of the portlets within scope of the group, the scope of
2118            * the layout's UUID, and the privacy.
2119            *
2120            * @param groupId the primary key of the group
2121            * @param privateLayout whether the layout is private to the group
2122            * @param layoutId the primary key of the layout whose UUID to match
2123            * @param name the new name for the portlets
2124            * @param languageId the primary key of the language
2125            * @throws PortalException
2126            * @see com.liferay.portlet.portletconfiguration.action.EditScopeAction
2127            * @deprecated As of 6.2.0, with no direct replacement
2128            */
2129            @Deprecated
2130            @Override
2131            public void updateScopedPortletNames(long groupId, boolean privateLayout,
2132                    long layoutId, java.lang.String name, java.lang.String languageId)
2133                    throws com.liferay.portal.kernel.exception.PortalException {
2134                    _layoutLocalService.updateScopedPortletNames(groupId, privateLayout,
2135                            layoutId, name, languageId);
2136            }
2137    
2138            /**
2139            * @deprecated As of 6.2.0, with no direct replacement
2140            */
2141            @Deprecated
2142            @Override
2143            public void updateScopedPortletNames(long groupId, boolean privateLayout,
2144                    long layoutId,
2145                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
2146                    java.util.List<java.util.Locale> nameMapModifiedLocales)
2147                    throws com.liferay.portal.kernel.exception.PortalException {
2148                    _layoutLocalService.updateScopedPortletNames(groupId, privateLayout,
2149                            layoutId, nameMap, nameMapModifiedLocales);
2150            }
2151    
2152            /**
2153            * @throws PortalException
2154            * @deprecated As of 7.0.0, replaced by {@link
2155            com.liferay.portlet.exportimport.service.ExportImportLocalService#validateImportLayoutsFile(
2156            ExportImportConfiguration, File)}
2157            */
2158            @Deprecated
2159            @Override
2160            public com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile(
2161                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
2162                    java.io.File file)
2163                    throws com.liferay.portal.kernel.exception.PortalException {
2164                    return _layoutLocalService.validateImportLayoutsFile(exportImportConfiguration,
2165                            file);
2166            }
2167    
2168            /**
2169            * @throws PortalException
2170            * @deprecated As of 7.0.0, replaced by {@link
2171            com.liferay.portlet.exportimport.service.ExportImportLocalService#validateImportLayoutsFile(
2172            ExportImportConfiguration, InputStream)}
2173            */
2174            @Deprecated
2175            @Override
2176            public com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile(
2177                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
2178                    java.io.InputStream inputStream)
2179                    throws com.liferay.portal.kernel.exception.PortalException {
2180                    return _layoutLocalService.validateImportLayoutsFile(exportImportConfiguration,
2181                            inputStream);
2182            }
2183    
2184            /**
2185            * @throws PortalException
2186            * @deprecated As of 7.0.0, with no direct replacement
2187            */
2188            @Deprecated
2189            @Override
2190            public com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile(
2191                    long userId, long groupId, boolean privateLayout,
2192                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
2193                    java.io.File file)
2194                    throws com.liferay.portal.kernel.exception.PortalException {
2195                    return _layoutLocalService.validateImportLayoutsFile(userId, groupId,
2196                            privateLayout, parameterMap, file);
2197            }
2198    
2199            /**
2200            * @throws PortalException
2201            * @deprecated As of 7.0.0, with no direct replacement
2202            */
2203            @Deprecated
2204            @Override
2205            public com.liferay.portlet.exportimport.lar.MissingReferences validateImportLayoutsFile(
2206                    long userId, long groupId, boolean privateLayout,
2207                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
2208                    java.io.InputStream inputStream)
2209                    throws com.liferay.portal.kernel.exception.PortalException {
2210                    return _layoutLocalService.validateImportLayoutsFile(userId, groupId,
2211                            privateLayout, parameterMap, inputStream);
2212            }
2213    
2214            /**
2215            * @throws PortalException
2216            * @deprecated As of 7.0.0, replaced by {@link
2217            com.liferay.portlet.exportimport.service.ExportImportLocalService#validateImportPortletInfo(
2218            ExportImportConfiguration, File)}
2219            */
2220            @Deprecated
2221            @Override
2222            public com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo(
2223                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
2224                    java.io.File file)
2225                    throws com.liferay.portal.kernel.exception.PortalException {
2226                    return _layoutLocalService.validateImportPortletInfo(exportImportConfiguration,
2227                            file);
2228            }
2229    
2230            /**
2231            * @throws PortalException
2232            * @deprecated As of 7.0.0, replaced by {@link
2233            com.liferay.portlet.exportimport.service.ExportImportLocalService#validateImportPortletInfo(
2234            ExportImportConfiguration, InputStream)}
2235            */
2236            @Deprecated
2237            @Override
2238            public com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo(
2239                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration,
2240                    java.io.InputStream inputStream)
2241                    throws com.liferay.portal.kernel.exception.PortalException {
2242                    return _layoutLocalService.validateImportPortletInfo(exportImportConfiguration,
2243                            inputStream);
2244            }
2245    
2246            /**
2247            * @throws PortalException
2248            * @deprecated As of 7.0.0, with no direct replacement
2249            */
2250            @Deprecated
2251            @Override
2252            public com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo(
2253                    long userId, long plid, long groupId, java.lang.String portletId,
2254                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
2255                    java.io.File file)
2256                    throws com.liferay.portal.kernel.exception.PortalException {
2257                    return _layoutLocalService.validateImportPortletInfo(userId, plid,
2258                            groupId, portletId, parameterMap, file);
2259            }
2260    
2261            /**
2262            * @throws PortalException
2263            * @deprecated As of 7.0.0, with no direct replacement
2264            */
2265            @Deprecated
2266            @Override
2267            public com.liferay.portlet.exportimport.lar.MissingReferences validateImportPortletInfo(
2268                    long userId, long plid, long groupId, java.lang.String portletId,
2269                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
2270                    java.io.InputStream inputStream)
2271                    throws com.liferay.portal.kernel.exception.PortalException {
2272                    return _layoutLocalService.validateImportPortletInfo(userId, plid,
2273                            groupId, portletId, parameterMap, inputStream);
2274            }
2275    
2276            /**
2277             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
2278             */
2279            @Deprecated
2280            public LayoutLocalService getWrappedLayoutLocalService() {
2281                    return _layoutLocalService;
2282            }
2283    
2284            /**
2285             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
2286             */
2287            @Deprecated
2288            public void setWrappedLayoutLocalService(
2289                    LayoutLocalService layoutLocalService) {
2290                    _layoutLocalService = layoutLocalService;
2291            }
2292    
2293            @Override
2294            public LayoutLocalService getWrappedService() {
2295                    return _layoutLocalService;
2296            }
2297    
2298            @Override
2299            public void setWrappedService(LayoutLocalService layoutLocalService) {
2300                    _layoutLocalService = layoutLocalService;
2301            }
2302    
2303            private LayoutLocalService _layoutLocalService;
2304    }