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