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