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.kernel.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * Provides a wrapper for {@link LayoutService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see LayoutService
024     * @generated
025     */
026    @ProviderType
027    public class LayoutServiceWrapper implements LayoutService,
028            ServiceWrapper<LayoutService> {
029            public LayoutServiceWrapper(LayoutService layoutService) {
030                    _layoutService = layoutService;
031            }
032    
033            /**
034            * Adds a layout with additional parameters.
035            *
036            * <p>
037            * This method handles the creation of the layout including its resources,
038            * metadata, and internal data structures. It is not necessary to make
039            * subsequent calls to any methods to setup default groups, resources, ...
040            * etc.
041            * </p>
042            *
043            * @param groupId the primary key of the group
044            * @param privateLayout whether the layout is private to the group
045            * @param parentLayoutId the primary key of the parent layout (optionally
046            {@link LayoutConstants#DEFAULT_PARENT_LAYOUT_ID})
047            * @param localeNamesMap the layout's locales and localized names
048            * @param localeTitlesMap the layout's locales and localized titles
049            * @param descriptionMap the layout's locales and localized descriptions
050            * @param keywordsMap the layout's locales and localized keywords
051            * @param robotsMap the layout's locales and localized robots
052            * @param type the layout's type (optionally {@link
053            LayoutConstants#TYPE_PORTLET}). The possible types can be found
054            in {@link LayoutConstants}.
055            * @param typeSettings the settings to load the unicode properties object.
056            See {@link com.liferay.portal.kernel.util.UnicodeProperties
057            #fastLoad(String)}.
058            * @param hidden whether the layout is hidden
059            * @param friendlyURLMap the layout's locales and localized friendly URLs.
060            To see how the URL is normalized when accessed, see {@link
061            com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize(
062            String)}.
063            * @param serviceContext the service context to be applied. Must set the
064            UUID for the layout. Can set the creation date, modification
065            date, and expando bridge attributes for the layout. For layouts
066            that belong to a layout set prototype, an attribute named
067            <code>layoutUpdateable</code> can be used to specify whether site
068            administrators can modify this page within their site.
069            * @return the layout
070            */
071            @Override
072            public com.liferay.portal.kernel.model.Layout addLayout(long groupId,
073                    boolean privateLayout, long parentLayoutId,
074                    java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
075                    java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
076                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
077                    java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
078                    java.util.Map<java.util.Locale, java.lang.String> robotsMap,
079                    java.lang.String type, java.lang.String typeSettings, boolean hidden,
080                    java.util.Map<java.util.Locale, java.lang.String> friendlyURLMap,
081                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
082                    throws com.liferay.portal.kernel.exception.PortalException {
083                    return _layoutService.addLayout(groupId, privateLayout, parentLayoutId,
084                            localeNamesMap, localeTitlesMap, descriptionMap, keywordsMap,
085                            robotsMap, type, typeSettings, hidden, friendlyURLMap,
086                            serviceContext);
087            }
088    
089            /**
090            * Adds a layout with single entry maps for name, title, and description to
091            * the default locale.
092            *
093            * <p>
094            * This method handles the creation of the layout including its resources,
095            * metadata, and internal data structures. It is not necessary to make
096            * subsequent calls to any methods to setup default groups, resources, ...
097            * etc.
098            * </p>
099            *
100            * @param groupId the primary key of the group
101            * @param privateLayout whether the layout is private to the group
102            * @param parentLayoutId the primary key of the parent layout (optionally
103            {@link LayoutConstants#DEFAULT_PARENT_LAYOUT_ID})
104            * @param name the layout's locales and localized names
105            * @param title the layout's locales and localized titles
106            * @param description the layout's locales and localized descriptions
107            * @param type the layout's type (optionally {@link
108            LayoutConstants#TYPE_PORTLET}). The possible types can be found
109            in {@link LayoutConstants}.
110            * @param hidden whether the layout is hidden
111            * @param friendlyURL the layout's locales and localized friendly URLs. To
112            see how the URL is normalized when accessed, see {@link
113            com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize(
114            String)}.
115            * @param serviceContext the service context to be applied. Must set the
116            UUID for the layout. Can specify the creation date, modification
117            date, and expando bridge attributes for the layout. For layouts
118            that belong to a layout set prototype, an attribute named
119            <code>layoutUpdateable</code> can be used to specify whether site
120            administrators can modify this page within their site.
121            * @return the layout
122            */
123            @Override
124            public com.liferay.portal.kernel.model.Layout addLayout(long groupId,
125                    boolean privateLayout, long parentLayoutId, java.lang.String name,
126                    java.lang.String title, java.lang.String description,
127                    java.lang.String type, boolean hidden, java.lang.String friendlyURL,
128                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
129                    throws com.liferay.portal.kernel.exception.PortalException {
130                    return _layoutService.addLayout(groupId, privateLayout, parentLayoutId,
131                            name, title, description, type, hidden, friendlyURL, serviceContext);
132            }
133    
134            @Override
135            public com.liferay.portal.kernel.repository.model.FileEntry addTempFileEntry(
136                    long groupId, java.lang.String folderName, java.lang.String fileName,
137                    java.io.InputStream inputStream, java.lang.String mimeType)
138                    throws com.liferay.portal.kernel.exception.PortalException {
139                    return _layoutService.addTempFileEntry(groupId, folderName, fileName,
140                            inputStream, mimeType);
141            }
142    
143            /**
144            * Deletes the layout with the primary key, also deleting the layout's child
145            * layouts, and associated resources.
146            *
147            * @param groupId the primary key of the group
148            * @param privateLayout whether the layout is private to the group
149            * @param layoutId the primary key of the layout
150            * @param serviceContext the service context to be applied
151            */
152            @Override
153            public void deleteLayout(long groupId, boolean privateLayout,
154                    long layoutId,
155                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
156                    throws com.liferay.portal.kernel.exception.PortalException {
157                    _layoutService.deleteLayout(groupId, privateLayout, layoutId,
158                            serviceContext);
159            }
160    
161            /**
162            * Deletes the layout with the plid, also deleting the layout's child
163            * layouts, and associated resources.
164            *
165            * @param plid the primary key of the layout
166            * @param serviceContext the service context to be applied
167            */
168            @Override
169            public void deleteLayout(long plid,
170                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
171                    throws com.liferay.portal.kernel.exception.PortalException {
172                    _layoutService.deleteLayout(plid, serviceContext);
173            }
174    
175            @Override
176            public void deleteTempFileEntry(long groupId, java.lang.String folderName,
177                    java.lang.String fileName)
178                    throws com.liferay.portal.kernel.exception.PortalException {
179                    _layoutService.deleteTempFileEntry(groupId, folderName, fileName);
180            }
181    
182            /**
183            * Exports the layouts that match the primary keys and the criteria as a
184            * byte array.
185            *
186            * @param groupId the primary key of the group
187            * @param privateLayout whether the layout is private to the group
188            * @param layoutIds the primary keys of the layouts to be exported
189            * @param parameterMap the mapping of parameters indicating which
190            information to export. For information on the keys used in
191            the map see {@link
192            com.liferay.exportimport.kernel.lar.PortletDataHandlerKeys}.
193            * @param startDate the export's start date
194            * @param endDate the export's end date
195            * @return the layouts as a byte array
196            * @deprecated As of 7.0.0, with no direct replacement
197            */
198            @Deprecated
199            @Override
200            public byte[] exportLayouts(long groupId, boolean privateLayout,
201                    long[] layoutIds,
202                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
203                    java.util.Date startDate, java.util.Date endDate)
204                    throws com.liferay.portal.kernel.exception.PortalException {
205                    return _layoutService.exportLayouts(groupId, privateLayout, layoutIds,
206                            parameterMap, startDate, endDate);
207            }
208    
209            /**
210            * Exports all layouts that match the criteria as a byte array.
211            *
212            * @param groupId the primary key of the group
213            * @param privateLayout whether the layout is private to the group
214            * @param parameterMap the mapping of parameters indicating which
215            information to export. For information on the keys used in
216            the map see {@link
217            com.liferay.exportimport.kernel.lar.PortletDataHandlerKeys}.
218            * @param startDate the export's start date
219            * @param endDate the export's end date
220            * @return the layout as a byte array
221            * @deprecated As of 7.0.0, with no direct replacement
222            */
223            @Deprecated
224            @Override
225            public byte[] exportLayouts(long groupId, boolean privateLayout,
226                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
227                    java.util.Date startDate, java.util.Date endDate)
228                    throws com.liferay.portal.kernel.exception.PortalException {
229                    return _layoutService.exportLayouts(groupId, privateLayout,
230                            parameterMap, startDate, endDate);
231            }
232    
233            /**
234            * @deprecated As of 7.0.0, replaced by {@link
235            com.liferay.exportimport.kernel.service.ExportImportService#exportLayoutsAsFile(
236            ExportImportConfiguration)}
237            */
238            @Deprecated
239            @Override
240            public java.io.File exportLayoutsAsFile(
241                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration)
242                    throws com.liferay.portal.kernel.exception.PortalException {
243                    return _layoutService.exportLayoutsAsFile(exportImportConfiguration);
244            }
245    
246            /**
247            * Exports all layouts that match the primary keys and criteria as a file.
248            *
249            * @param groupId the primary key of the group
250            * @param privateLayout whether the layout is private to the group
251            * @param layoutIds the primary keys of the layouts to be exported
252            (optionally <code>null</code>)
253            * @param parameterMap the mapping of parameters indicating which
254            information to export. For information on the keys used in
255            the map see {@link
256            com.liferay.exportimport.kernel.lar.PortletDataHandlerKeys}.
257            * @param startDate the export's start date
258            * @param endDate the export's end date
259            * @return the layouts as a File
260            * @deprecated As of 7.0.0, with no direct replacement
261            */
262            @Deprecated
263            @Override
264            public java.io.File exportLayoutsAsFile(long groupId,
265                    boolean privateLayout, long[] layoutIds,
266                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
267                    java.util.Date startDate, java.util.Date endDate)
268                    throws com.liferay.portal.kernel.exception.PortalException {
269                    return _layoutService.exportLayoutsAsFile(groupId, privateLayout,
270                            layoutIds, parameterMap, startDate, endDate);
271            }
272    
273            /**
274            * @deprecated As of 7.0.0, replaced by {@link
275            com.liferay.exportimport.kernel.service.ExportImportService#exportLayoutsAsFileInBackground(
276            ExportImportConfiguration)}
277            */
278            @Deprecated
279            @Override
280            public long exportLayoutsAsFileInBackground(
281                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration)
282                    throws com.liferay.portal.kernel.exception.PortalException {
283                    return _layoutService.exportLayoutsAsFileInBackground(exportImportConfiguration);
284            }
285    
286            /**
287            * @deprecated As of 7.0.0, replaced by {@link
288            com.liferay.exportimport.kernel.service.ExportImportService#exportLayoutsAsFileInBackground(
289            long)}
290            */
291            @Deprecated
292            @Override
293            public long exportLayoutsAsFileInBackground(
294                    long exportImportConfigurationId)
295                    throws com.liferay.portal.kernel.exception.PortalException {
296                    return _layoutService.exportLayoutsAsFileInBackground(exportImportConfigurationId);
297            }
298    
299            /**
300            * @deprecated As of 7.0.0, with no direct replacement
301            */
302            @Deprecated
303            @Override
304            public long exportLayoutsAsFileInBackground(java.lang.String taskName,
305                    long groupId, boolean privateLayout, long[] layoutIds,
306                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
307                    java.util.Date startDate, java.util.Date endDate)
308                    throws com.liferay.portal.kernel.exception.PortalException {
309                    return _layoutService.exportLayoutsAsFileInBackground(taskName,
310                            groupId, privateLayout, layoutIds, parameterMap, startDate, endDate);
311            }
312    
313            /**
314            * @deprecated As of 7.0.0, with no direct replacement
315            */
316            @Deprecated
317            @Override
318            public long exportLayoutsAsFileInBackground(java.lang.String taskName,
319                    long groupId, boolean privateLayout, long[] layoutIds,
320                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
321                    java.util.Date startDate, java.util.Date endDate,
322                    java.lang.String fileName)
323                    throws com.liferay.portal.kernel.exception.PortalException {
324                    return _layoutService.exportLayoutsAsFileInBackground(taskName,
325                            groupId, privateLayout, layoutIds, parameterMap, startDate,
326                            endDate, fileName);
327            }
328    
329            /**
330            * @deprecated As of 7.0.0, with no direct replacement
331            */
332            @Deprecated
333            @Override
334            public byte[] exportPortletInfo(long companyId, java.lang.String portletId,
335                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
336                    java.util.Date startDate, java.util.Date endDate)
337                    throws com.liferay.portal.kernel.exception.PortalException {
338                    return _layoutService.exportPortletInfo(companyId, portletId,
339                            parameterMap, startDate, endDate);
340            }
341    
342            /**
343            * Exports the portlet information (categories, permissions, ... etc.) as a
344            * byte array.
345            *
346            * @param plid the primary key of the layout
347            * @param groupId the primary key of the group
348            * @param portletId the primary key of the portlet
349            * @param parameterMap the mapping of parameters indicating which
350            information to export. For information on the keys used in
351            the map see {@link
352            com.liferay.exportimport.kernel.lar.PortletDataHandlerKeys}.
353            * @param startDate the export's start date
354            * @param endDate the export's end date
355            * @return the portlet information as a byte array
356            * @deprecated As of 7.0.0, with no direct replacement
357            */
358            @Deprecated
359            @Override
360            public byte[] exportPortletInfo(long plid, long groupId,
361                    java.lang.String portletId,
362                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
363                    java.util.Date startDate, java.util.Date endDate)
364                    throws com.liferay.portal.kernel.exception.PortalException {
365                    return _layoutService.exportPortletInfo(plid, groupId, portletId,
366                            parameterMap, startDate, endDate);
367            }
368    
369            /**
370            * @deprecated As of 7.0.0, replaced by {@link
371            com.liferay.exportimport.kernel.service.ExportImportService#exportPortletInfoAsFile(
372            ExportImportConfiguration)}
373            */
374            @Deprecated
375            @Override
376            public java.io.File exportPortletInfoAsFile(
377                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration)
378                    throws com.liferay.portal.kernel.exception.PortalException {
379                    return _layoutService.exportPortletInfoAsFile(exportImportConfiguration);
380            }
381    
382            /**
383            * Exports the portlet information (categories, permissions, ... etc.) as a
384            * file.
385            *
386            * @param plid the primary key of the layout
387            * @param groupId the primary key of the group
388            * @param portletId the primary key of the portlet
389            * @param parameterMap the mapping of parameters indicating which
390            information to export. For information on the keys used in
391            the map see {@link
392            com.liferay.exportimport.kernel.lar.PortletDataHandlerKeys}.
393            * @param startDate the export's start date
394            * @param endDate the export's end date
395            * @return the portlet information as a file
396            * @deprecated As of 7.0.0, with no direct replacement
397            */
398            @Deprecated
399            @Override
400            public java.io.File exportPortletInfoAsFile(long plid, long groupId,
401                    java.lang.String portletId,
402                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
403                    java.util.Date startDate, java.util.Date endDate)
404                    throws com.liferay.portal.kernel.exception.PortalException {
405                    return _layoutService.exportPortletInfoAsFile(plid, groupId, portletId,
406                            parameterMap, startDate, endDate);
407            }
408    
409            /**
410            * @deprecated As of 7.0.0, with no direct replacement
411            */
412            @Deprecated
413            @Override
414            public java.io.File exportPortletInfoAsFile(java.lang.String portletId,
415                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
416                    java.util.Date startDate, java.util.Date endDate)
417                    throws com.liferay.portal.kernel.exception.PortalException {
418                    return _layoutService.exportPortletInfoAsFile(portletId, parameterMap,
419                            startDate, endDate);
420            }
421    
422            /**
423            * @deprecated As of 7.0.0, with no direct replacement
424            */
425            @Deprecated
426            @Override
427            public long exportPortletInfoAsFileInBackground(java.lang.String taskName,
428                    long plid, long groupId, java.lang.String portletId,
429                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
430                    java.util.Date startDate, java.util.Date endDate,
431                    java.lang.String fileName)
432                    throws com.liferay.portal.kernel.exception.PortalException {
433                    return _layoutService.exportPortletInfoAsFileInBackground(taskName,
434                            plid, groupId, portletId, parameterMap, startDate, endDate, fileName);
435            }
436    
437            /**
438            * @deprecated As of 7.0.0, with no direct replacement
439            */
440            @Deprecated
441            @Override
442            public long exportPortletInfoAsFileInBackground(java.lang.String taskName,
443                    java.lang.String portletId,
444                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
445                    java.util.Date startDate, java.util.Date endDate,
446                    java.lang.String fileName)
447                    throws com.liferay.portal.kernel.exception.PortalException {
448                    return _layoutService.exportPortletInfoAsFileInBackground(taskName,
449                            portletId, parameterMap, startDate, endDate, fileName);
450            }
451    
452            /**
453            * Returns all the ancestor layouts of the layout.
454            *
455            * @param plid the primary key of the layout
456            * @return the ancestor layouts of the layout
457            */
458            @Override
459            public java.util.List<com.liferay.portal.kernel.model.Layout> getAncestorLayouts(
460                    long plid) throws com.liferay.portal.kernel.exception.PortalException {
461                    return _layoutService.getAncestorLayouts(plid);
462            }
463    
464            @Override
465            public long getDefaultPlid(long groupId, long scopeGroupId,
466                    java.lang.String portletId)
467                    throws com.liferay.portal.kernel.exception.PortalException {
468                    return _layoutService.getDefaultPlid(groupId, scopeGroupId, portletId);
469            }
470    
471            /**
472            * Returns the primary key of the default layout for the group.
473            *
474            * @param groupId the primary key of the group
475            * @param scopeGroupId the primary key of the scope group. See {@link
476            ServiceContext#getScopeGroupId()}.
477            * @param privateLayout whether the layout is private to the group
478            * @param portletId the primary key of the portlet
479            * @return Returns the primary key of the default layout group; {@link
480            LayoutConstants#DEFAULT_PLID} otherwise
481            */
482            @Override
483            public long getDefaultPlid(long groupId, long scopeGroupId,
484                    boolean privateLayout, java.lang.String portletId)
485                    throws com.liferay.portal.kernel.exception.PortalException {
486                    return _layoutService.getDefaultPlid(groupId, scopeGroupId,
487                            privateLayout, portletId);
488            }
489    
490            /**
491            * Returns the layout matching the UUID, group, and privacy.
492            *
493            * @param uuid the layout's UUID
494            * @param groupId the primary key of the group
495            * @param privateLayout whether the layout is private to the group
496            * @return the matching layout
497            */
498            @Override
499            public com.liferay.portal.kernel.model.Layout getLayoutByUuidAndGroupId(
500                    java.lang.String uuid, long groupId, boolean privateLayout)
501                    throws com.liferay.portal.kernel.exception.PortalException {
502                    return _layoutService.getLayoutByUuidAndGroupId(uuid, groupId,
503                            privateLayout);
504            }
505    
506            /**
507            * Returns the name of the layout.
508            *
509            * @param groupId the primary key of the group
510            * @param privateLayout whether the layout is private to the group
511            * @param layoutId the primary key of the layout
512            * @param languageId the primary key of the language. For more information
513            See {@link Locale}.
514            * @return the layout's name
515            */
516            @Override
517            public java.lang.String getLayoutName(long groupId, boolean privateLayout,
518                    long layoutId, java.lang.String languageId)
519                    throws com.liferay.portal.kernel.exception.PortalException {
520                    return _layoutService.getLayoutName(groupId, privateLayout, layoutId,
521                            languageId);
522            }
523    
524            /**
525            * Returns the layout references for all the layouts that belong to the
526            * company and belong to the portlet that matches the preferences.
527            *
528            * @param companyId the primary key of the company
529            * @param portletId the primary key of the portlet
530            * @param preferencesKey the portlet's preference key
531            * @param preferencesValue the portlet's preference value
532            * @return the layout references of the matching layouts
533            */
534            @Override
535            public com.liferay.portal.kernel.model.LayoutReference[] getLayoutReferences(
536                    long companyId, java.lang.String portletId,
537                    java.lang.String preferencesKey, java.lang.String preferencesValue) {
538                    return _layoutService.getLayoutReferences(companyId, portletId,
539                            preferencesKey, preferencesValue);
540            }
541    
542            @Override
543            public java.util.List<com.liferay.portal.kernel.model.Layout> getLayouts(
544                    long groupId, boolean privateLayout) {
545                    return _layoutService.getLayouts(groupId, privateLayout);
546            }
547    
548            @Override
549            public java.util.List<com.liferay.portal.kernel.model.Layout> getLayouts(
550                    long groupId, boolean privateLayout, long parentLayoutId)
551                    throws com.liferay.portal.kernel.exception.PortalException {
552                    return _layoutService.getLayouts(groupId, privateLayout, parentLayoutId);
553            }
554    
555            @Override
556            public java.util.List<com.liferay.portal.kernel.model.Layout> getLayouts(
557                    long groupId, boolean privateLayout, long parentLayoutId,
558                    boolean incomplete, int start, int end)
559                    throws com.liferay.portal.kernel.exception.PortalException {
560                    return _layoutService.getLayouts(groupId, privateLayout,
561                            parentLayoutId, incomplete, start, end);
562            }
563    
564            @Override
565            public int getLayoutsCount(long groupId, boolean privateLayout,
566                    long parentLayoutId) {
567                    return _layoutService.getLayoutsCount(groupId, privateLayout,
568                            parentLayoutId);
569            }
570    
571            /**
572            * Returns the OSGi service identifier.
573            *
574            * @return the OSGi service identifier
575            */
576            @Override
577            public java.lang.String getOSGiServiceIdentifier() {
578                    return _layoutService.getOSGiServiceIdentifier();
579            }
580    
581            @Override
582            public java.lang.String[] getTempFileNames(long groupId,
583                    java.lang.String folderName)
584                    throws com.liferay.portal.kernel.exception.PortalException {
585                    return _layoutService.getTempFileNames(groupId, folderName);
586            }
587    
588            /**
589            * @deprecated As of 7.0.0, replaced by {@link
590            com.liferay.exportimport.kernel.service.ExportImportService#importLayouts(
591            ExportImportConfiguration, File)}
592            */
593            @Deprecated
594            @Override
595            public void importLayouts(
596                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
597                    java.io.File file)
598                    throws com.liferay.portal.kernel.exception.PortalException {
599                    _layoutService.importLayouts(exportImportConfiguration, file);
600            }
601    
602            /**
603            * @deprecated As of 7.0.0, replaced by {@link
604            com.liferay.exportimport.kernel.service.ExportImportService#importLayouts(
605            ExportImportConfiguration, InputStream)}
606            */
607            @Deprecated
608            @Override
609            public void importLayouts(
610                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
611                    java.io.InputStream is)
612                    throws com.liferay.portal.kernel.exception.PortalException {
613                    _layoutService.importLayouts(exportImportConfiguration, is);
614            }
615    
616            /**
617            * Imports the layouts from the byte array.
618            *
619            * @param groupId the primary key of the group
620            * @param privateLayout whether the layout is private to the group
621            * @param parameterMap the mapping of parameters indicating which
622            information will be imported. For information on the keys
623            used in the map see {@link
624            com.liferay.exportimport.kernel.lar.PortletDataHandlerKeys}.
625            * @param bytes the byte array with the data
626            * @see com.liferay.exportimport.kernel.lar.LayoutImporter
627            * @deprecated As of 7.0.0, with no direct replacement
628            */
629            @Deprecated
630            @Override
631            public void importLayouts(long groupId, boolean privateLayout,
632                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
633                    byte[] bytes)
634                    throws com.liferay.portal.kernel.exception.PortalException {
635                    _layoutService.importLayouts(groupId, privateLayout, parameterMap, bytes);
636            }
637    
638            /**
639            * Imports the layouts from the file.
640            *
641            * @param groupId the primary key of the group
642            * @param privateLayout whether the layout is private to the group
643            * @param parameterMap the mapping of parameters indicating which
644            information will be imported. For information on the keys
645            used in the map see {@link
646            com.liferay.exportimport.kernel.lar.PortletDataHandlerKeys}.
647            * @param file the LAR file with the data
648            * @see com.liferay.exportimport.kernel.lar.LayoutImporter
649            * @deprecated As of 7.0.0, with no direct replacement
650            */
651            @Deprecated
652            @Override
653            public void importLayouts(long groupId, boolean privateLayout,
654                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
655                    java.io.File file)
656                    throws com.liferay.portal.kernel.exception.PortalException {
657                    _layoutService.importLayouts(groupId, privateLayout, parameterMap, file);
658            }
659    
660            /**
661            * Imports the layouts from the input stream.
662            *
663            * @param groupId the primary key of the group
664            * @param privateLayout whether the layout is private to the group
665            * @param parameterMap the mapping of parameters indicating which
666            information will be imported. For information on the keys
667            used in the map see {@link
668            com.liferay.exportimport.kernel.lar.PortletDataHandlerKeys}.
669            * @param is the input stream
670            * @see com.liferay.exportimport.kernel.lar.LayoutImporter
671            * @deprecated As of 7.0.0, with no direct replacement
672            */
673            @Deprecated
674            @Override
675            public void importLayouts(long groupId, boolean privateLayout,
676                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
677                    java.io.InputStream is)
678                    throws com.liferay.portal.kernel.exception.PortalException {
679                    _layoutService.importLayouts(groupId, privateLayout, parameterMap, is);
680            }
681    
682            /**
683            * @deprecated As of 7.0.0, with no direct replacement
684            */
685            @Deprecated
686            @Override
687            public long importLayoutsInBackground(java.lang.String taskName,
688                    long groupId, boolean privateLayout,
689                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
690                    java.io.File file)
691                    throws com.liferay.portal.kernel.exception.PortalException {
692                    return _layoutService.importLayoutsInBackground(taskName, groupId,
693                            privateLayout, parameterMap, file);
694            }
695    
696            /**
697            * @deprecated As of 7.0.0, with no direct replacement
698            */
699            @Deprecated
700            @Override
701            public long importLayoutsInBackground(java.lang.String taskName,
702                    long groupId, boolean privateLayout,
703                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
704                    java.io.InputStream inputStream)
705                    throws com.liferay.portal.kernel.exception.PortalException {
706                    return _layoutService.importLayoutsInBackground(taskName, groupId,
707                            privateLayout, parameterMap, inputStream);
708            }
709    
710            /**
711            * @deprecated As of 7.0.0, replaced by {@link
712            com.liferay.exportimport.kernel.service.ExportImportService#importPortletInfo(
713            ExportImportConfiguration, File)} (
714            */
715            @Deprecated
716            @Override
717            public void importPortletInfo(
718                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
719                    java.io.File file)
720                    throws com.liferay.portal.kernel.exception.PortalException {
721                    _layoutService.importPortletInfo(exportImportConfiguration, file);
722            }
723    
724            /**
725            * @deprecated As of 7.0.0, replaced by {@link
726            com.liferay.exportimport.kernel.service.ExportImportService#importPortletInfo(
727            ExportImportConfiguration, InputStream)} (
728            */
729            @Deprecated
730            @Override
731            public void importPortletInfo(
732                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
733                    java.io.InputStream is)
734                    throws com.liferay.portal.kernel.exception.PortalException {
735                    _layoutService.importPortletInfo(exportImportConfiguration, is);
736            }
737    
738            /**
739            * Imports the portlet information (categories, permissions, ... etc.) from
740            * the file.
741            *
742            * @param plid the primary key of the layout
743            * @param groupId the primary key of the group
744            * @param portletId the primary key of the portlet
745            * @param parameterMap the mapping of parameters indicating which
746            information will be imported. For information on the keys
747            used in the map see {@link
748            com.liferay.exportimport.kernel.lar.PortletDataHandlerKeys}.
749            * @param file the LAR file with the data
750            * @deprecated As of 7.0.0, with no direct replacement
751            */
752            @Deprecated
753            @Override
754            public void importPortletInfo(long plid, long groupId,
755                    java.lang.String portletId,
756                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
757                    java.io.File file)
758                    throws com.liferay.portal.kernel.exception.PortalException {
759                    _layoutService.importPortletInfo(plid, groupId, portletId,
760                            parameterMap, file);
761            }
762    
763            /**
764            * Imports the portlet information (categories, permissions, ... etc.) from
765            * the input stream.
766            *
767            * @param plid the primary key of the layout
768            * @param groupId the primary key of the group
769            * @param portletId the primary key of the portlet
770            * @param parameterMap the mapping of parameters indicating which
771            information will be imported. For information on the keys
772            used in the map see {@link
773            com.liferay.exportimport.kernel.lar.PortletDataHandlerKeys}.
774            * @param is the input stream
775            * @deprecated As of 7.0.0, with no direct replacement
776            */
777            @Deprecated
778            @Override
779            public void importPortletInfo(long plid, long groupId,
780                    java.lang.String portletId,
781                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
782                    java.io.InputStream is)
783                    throws com.liferay.portal.kernel.exception.PortalException {
784                    _layoutService.importPortletInfo(plid, groupId, portletId,
785                            parameterMap, is);
786            }
787    
788            /**
789            * @deprecated As of 7.0.0, with no direct replacement
790            */
791            @Deprecated
792            @Override
793            public void importPortletInfo(java.lang.String portletId,
794                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
795                    java.io.File file)
796                    throws com.liferay.portal.kernel.exception.PortalException {
797                    _layoutService.importPortletInfo(portletId, parameterMap, file);
798            }
799    
800            /**
801            * @deprecated As of 7.0.0, with no direct replacement
802            */
803            @Deprecated
804            @Override
805            public void importPortletInfo(java.lang.String portletId,
806                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
807                    java.io.InputStream is)
808                    throws com.liferay.portal.kernel.exception.PortalException {
809                    _layoutService.importPortletInfo(portletId, parameterMap, is);
810            }
811    
812            /**
813            * @deprecated As of 7.0.0, with no direct replacement
814            */
815            @Deprecated
816            @Override
817            public long importPortletInfoInBackground(java.lang.String taskName,
818                    long plid, long groupId, java.lang.String portletId,
819                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
820                    java.io.File file)
821                    throws com.liferay.portal.kernel.exception.PortalException {
822                    return _layoutService.importPortletInfoInBackground(taskName, plid,
823                            groupId, portletId, parameterMap, file);
824            }
825    
826            /**
827            * @deprecated As of 7.0.0, with no direct replacement
828            */
829            @Deprecated
830            @Override
831            public long importPortletInfoInBackground(java.lang.String taskName,
832                    long plid, long groupId, java.lang.String portletId,
833                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
834                    java.io.InputStream is)
835                    throws com.liferay.portal.kernel.exception.PortalException {
836                    return _layoutService.importPortletInfoInBackground(taskName, plid,
837                            groupId, portletId, parameterMap, is);
838            }
839    
840            /**
841            * @deprecated As of 7.0.0, with no direct replacement
842            */
843            @Deprecated
844            @Override
845            public void importPortletInfoInBackground(java.lang.String taskName,
846                    java.lang.String portletId,
847                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
848                    java.io.File file)
849                    throws com.liferay.portal.kernel.exception.PortalException {
850                    _layoutService.importPortletInfoInBackground(taskName, portletId,
851                            parameterMap, file);
852            }
853    
854            /**
855            * @deprecated As of 7.0.0, with no direct replacement
856            */
857            @Deprecated
858            @Override
859            public void importPortletInfoInBackground(java.lang.String taskName,
860                    java.lang.String portletId,
861                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
862                    java.io.InputStream is)
863                    throws com.liferay.portal.kernel.exception.PortalException {
864                    _layoutService.importPortletInfoInBackground(taskName, portletId,
865                            parameterMap, is);
866            }
867    
868            /**
869            * Schedules a range of layouts to be published.
870            *
871            * @param sourceGroupId the primary key of the source group
872            * @param targetGroupId the primary key of the target group
873            * @param privateLayout whether the layout is private to the group
874            * @param layoutIdMap the layouts considered for publishing, specified
875            by the layout IDs and booleans indicating whether they have
876            children
877            * @param parameterMap the mapping of parameters indicating which
878            information will be used. See {@link
879            com.liferay.exportimport.kernel.lar.PortletDataHandlerKeys}.
880            * @param groupName the group name (optionally {@link
881            DestinationNames#LAYOUTS_LOCAL_PUBLISHER}). See {@link
882            DestinationNames}.
883            * @param cronText the cron text. See {@link
884            com.liferay.portal.kernel.cal.RecurrenceSerializer
885            #toCronText}
886            * @param schedulerStartDate the scheduler start date
887            * @param schedulerEndDate the scheduler end date
888            * @param description the scheduler description
889            * @deprecated As of 7.0.0, replaced by {@link #schedulePublishToLive(long,
890            long, boolean, long[], Map, String, Date, Date, String,
891            String, Date, Date, String)}
892            */
893            @Deprecated
894            @Override
895            public void schedulePublishToLive(long sourceGroupId, long targetGroupId,
896                    boolean privateLayout,
897                    java.util.Map<java.lang.Long, java.lang.Boolean> layoutIdMap,
898                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
899                    java.lang.String scope, java.util.Date startDate,
900                    java.util.Date endDate, java.lang.String groupName,
901                    java.lang.String cronText, java.util.Date schedulerStartDate,
902                    java.util.Date schedulerEndDate, java.lang.String description)
903                    throws com.liferay.portal.kernel.exception.PortalException {
904                    _layoutService.schedulePublishToLive(sourceGroupId, targetGroupId,
905                            privateLayout, layoutIdMap, parameterMap, scope, startDate,
906                            endDate, groupName, cronText, schedulerStartDate, schedulerEndDate,
907                            description);
908            }
909    
910            /**
911            * Schedules a range of layouts to be published.
912            *
913            * @param sourceGroupId the primary key of the source group
914            * @param targetGroupId the primary key of the target group
915            * @param privateLayout whether the layout is private to the group
916            * @param layoutIds the layouts considered for publishing, specified by the
917            layout IDs
918            * @param parameterMap the mapping of parameters indicating which
919            information will be used. See {@link
920            com.liferay.exportimport.kernel.lar.PortletDataHandlerKeys}.
921            * @param groupName the group name (optionally {@link
922            DestinationNames#LAYOUTS_LOCAL_PUBLISHER}). See {@link
923            DestinationNames}.
924            * @param cronText the cron text. See {@link
925            com.liferay.portal.kernel.cal.RecurrenceSerializer #toCronText}
926            * @param schedulerStartDate the scheduler start date
927            * @param schedulerEndDate the scheduler end date
928            * @param description the scheduler description
929            */
930            @Override
931            public void schedulePublishToLive(long sourceGroupId, long targetGroupId,
932                    boolean privateLayout, long[] layoutIds,
933                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
934                    java.lang.String groupName, java.lang.String cronText,
935                    java.util.Date schedulerStartDate, java.util.Date schedulerEndDate,
936                    java.lang.String description)
937                    throws com.liferay.portal.kernel.exception.PortalException {
938                    _layoutService.schedulePublishToLive(sourceGroupId, targetGroupId,
939                            privateLayout, layoutIds, parameterMap, groupName, cronText,
940                            schedulerStartDate, schedulerEndDate, description);
941            }
942    
943            /**
944            * Schedules a range of layouts to be published.
945            *
946            * @param sourceGroupId the primary key of the source group
947            * @param targetGroupId the primary key of the target group
948            * @param privateLayout whether the layout is private to the group
949            * @param layoutIds the layouts considered for publishing, specified by
950            the layout IDs
951            * @param parameterMap the mapping of parameters indicating which
952            information will be used. See {@link
953            com.liferay.exportimport.kernel.lar.PortletDataHandlerKeys}.
954            * @param scope the scope of the pages. It can be
955            <code>all-pages</code> or <code>selected-pages</code>.
956            * @param startDate the start date
957            * @param endDate the end date
958            * @param groupName the group name (optionally {@link
959            DestinationNames#LAYOUTS_LOCAL_PUBLISHER}). See {@link
960            DestinationNames}.
961            * @param cronText the cron text. See {@link
962            com.liferay.portal.kernel.cal.RecurrenceSerializer
963            #toCronText}
964            * @param schedulerStartDate the scheduler start date
965            * @param schedulerEndDate the scheduler end date
966            * @param description the scheduler description
967            * @deprecated As of 7.0.0, replaced by {@link #schedulePublishToLive(long,
968            long, boolean, long[], Map, String, String, Date, Date,
969            String)}
970            */
971            @Deprecated
972            @Override
973            public void schedulePublishToLive(long sourceGroupId, long targetGroupId,
974                    boolean privateLayout, long[] layoutIds,
975                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
976                    java.lang.String scope, java.util.Date startDate,
977                    java.util.Date endDate, java.lang.String groupName,
978                    java.lang.String cronText, java.util.Date schedulerStartDate,
979                    java.util.Date schedulerEndDate, java.lang.String description)
980                    throws com.liferay.portal.kernel.exception.PortalException {
981                    _layoutService.schedulePublishToLive(sourceGroupId, targetGroupId,
982                            privateLayout, layoutIds, parameterMap, scope, startDate, endDate,
983                            groupName, cronText, schedulerStartDate, schedulerEndDate,
984                            description);
985            }
986    
987            /**
988            * Schedules a range of layouts to be stored.
989            *
990            * @param sourceGroupId the primary key of the source group
991            * @param privateLayout whether the layout is private to the group
992            * @param layoutIdMap the layouts considered for publishing, specified by
993            the layout IDs and booleans indicating whether they have children
994            * @param parameterMap the mapping of parameters indicating which
995            information will be used. See {@link
996            com.liferay.exportimport.kernel.lar.PortletDataHandlerKeys}.
997            * @param remoteAddress the remote address
998            * @param remotePort the remote port
999            * @param remotePathContext the remote path context
1000            * @param secureConnection whether the connection is secure
1001            * @param remoteGroupId the primary key of the remote group
1002            * @param remotePrivateLayout whether remote group's layout is private
1003            * @param startDate the start date
1004            * @param endDate the end date
1005            * @param groupName the group name. Optionally {@link
1006            DestinationNames#LAYOUTS_LOCAL_PUBLISHER}). See {@link
1007            DestinationNames}.
1008            * @param cronText the cron text. See {@link
1009            com.liferay.portal.kernel.cal.RecurrenceSerializer #toCronText}
1010            * @param schedulerStartDate the scheduler start date
1011            * @param schedulerEndDate the scheduler end date
1012            * @param description the scheduler description
1013            */
1014            @Override
1015            public void schedulePublishToRemote(long sourceGroupId,
1016                    boolean privateLayout,
1017                    java.util.Map<java.lang.Long, java.lang.Boolean> layoutIdMap,
1018                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1019                    java.lang.String remoteAddress, int remotePort,
1020                    java.lang.String remotePathContext, boolean secureConnection,
1021                    long remoteGroupId, boolean remotePrivateLayout,
1022                    java.util.Date startDate, java.util.Date endDate,
1023                    java.lang.String groupName, java.lang.String cronText,
1024                    java.util.Date schedulerStartDate, java.util.Date schedulerEndDate,
1025                    java.lang.String description)
1026                    throws com.liferay.portal.kernel.exception.PortalException {
1027                    _layoutService.schedulePublishToRemote(sourceGroupId, privateLayout,
1028                            layoutIdMap, parameterMap, remoteAddress, remotePort,
1029                            remotePathContext, secureConnection, remoteGroupId,
1030                            remotePrivateLayout, startDate, endDate, groupName, cronText,
1031                            schedulerStartDate, schedulerEndDate, description);
1032            }
1033    
1034            /**
1035            * Sets the layouts for the group, replacing and prioritizing all layouts of
1036            * the parent layout.
1037            *
1038            * @param groupId the primary key of the group
1039            * @param privateLayout whether the layout is private to the group
1040            * @param parentLayoutId the primary key of the parent layout
1041            * @param layoutIds the primary keys of the layouts
1042            * @param serviceContext the service context to be applied
1043            */
1044            @Override
1045            public void setLayouts(long groupId, boolean privateLayout,
1046                    long parentLayoutId, long[] layoutIds,
1047                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
1048                    throws com.liferay.portal.kernel.exception.PortalException {
1049                    _layoutService.setLayouts(groupId, privateLayout, parentLayoutId,
1050                            layoutIds, serviceContext);
1051            }
1052    
1053            /**
1054            * Deletes the job from the scheduler's queue.
1055            *
1056            * @param groupId the primary key of the group
1057            * @param jobName the job name
1058            * @param groupName the group name (optionally {@link
1059            DestinationNames#LAYOUTS_LOCAL_PUBLISHER}). See {@link
1060            DestinationNames}.
1061            */
1062            @Override
1063            public void unschedulePublishToLive(long groupId, java.lang.String jobName,
1064                    java.lang.String groupName)
1065                    throws com.liferay.portal.kernel.exception.PortalException {
1066                    _layoutService.unschedulePublishToLive(groupId, jobName, groupName);
1067            }
1068    
1069            /**
1070            * Deletes the job from the scheduler's persistent queue.
1071            *
1072            * @param groupId the primary key of the group
1073            * @param jobName the job name
1074            * @param groupName the group name (optionally {@link
1075            DestinationNames#LAYOUTS_LOCAL_PUBLISHER}). See {@link
1076            DestinationNames}.
1077            */
1078            @Override
1079            public void unschedulePublishToRemote(long groupId,
1080                    java.lang.String jobName, java.lang.String groupName)
1081                    throws com.liferay.portal.kernel.exception.PortalException {
1082                    _layoutService.unschedulePublishToRemote(groupId, jobName, groupName);
1083            }
1084    
1085            @Override
1086            public com.liferay.portal.kernel.model.Layout updateIconImage(long plid,
1087                    byte[] bytes)
1088                    throws com.liferay.portal.kernel.exception.PortalException {
1089                    return _layoutService.updateIconImage(plid, bytes);
1090            }
1091    
1092            /**
1093            * Updates the layout with additional parameters.
1094            *
1095            * @param groupId the primary key of the group
1096            * @param privateLayout whether the layout is private to the group
1097            * @param layoutId the primary key of the layout
1098            * @param parentLayoutId the primary key of the layout's new parent layout
1099            * @param localeNamesMap the layout's locales and localized names
1100            * @param localeTitlesMap the layout's locales and localized titles
1101            * @param descriptionMap the locales and localized descriptions to merge
1102            (optionally <code>null</code>)
1103            * @param keywordsMap the locales and localized keywords to merge
1104            (optionally <code>null</code>)
1105            * @param robotsMap the locales and localized robots to merge (optionally
1106            <code>null</code>)
1107            * @param type the layout's new type (optionally {@link
1108            LayoutConstants#TYPE_PORTLET})
1109            * @param hidden whether the layout is hidden
1110            * @param friendlyURLMap the layout's locales and localized friendly URLs.
1111            To see how the URL is normalized when accessed see {@link
1112            com.liferay.portal.kernel.util.FriendlyURLNormalizerUtil#normalize(
1113            String)}.
1114            * @param iconImage whether the icon image will be updated
1115            * @param iconBytes the byte array of the layout's new icon image
1116            * @param serviceContext the service context to be applied. Can set the
1117            modification date and expando bridge attributes for the layout.
1118            * @return the updated layout
1119            */
1120            @Override
1121            public com.liferay.portal.kernel.model.Layout updateLayout(long groupId,
1122                    boolean privateLayout, long layoutId, long parentLayoutId,
1123                    java.util.Map<java.util.Locale, java.lang.String> localeNamesMap,
1124                    java.util.Map<java.util.Locale, java.lang.String> localeTitlesMap,
1125                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
1126                    java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
1127                    java.util.Map<java.util.Locale, java.lang.String> robotsMap,
1128                    java.lang.String type, boolean hidden,
1129                    java.util.Map<java.util.Locale, java.lang.String> friendlyURLMap,
1130                    boolean iconImage, byte[] iconBytes,
1131                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
1132                    throws com.liferay.portal.kernel.exception.PortalException {
1133                    return _layoutService.updateLayout(groupId, privateLayout, layoutId,
1134                            parentLayoutId, localeNamesMap, localeTitlesMap, descriptionMap,
1135                            keywordsMap, robotsMap, type, hidden, friendlyURLMap, iconImage,
1136                            iconBytes, serviceContext);
1137            }
1138    
1139            /**
1140            * Updates the layout replacing its type settings.
1141            *
1142            * @param groupId the primary key of the group
1143            * @param privateLayout whether the layout is private to the group
1144            * @param layoutId the primary key of the layout
1145            * @param typeSettings the settings to load the unicode properties object.
1146            See {@link com.liferay.portal.kernel.util.UnicodeProperties
1147            #fastLoad(String)}.
1148            * @return the updated layout
1149            */
1150            @Override
1151            public com.liferay.portal.kernel.model.Layout updateLayout(long groupId,
1152                    boolean privateLayout, long layoutId, java.lang.String typeSettings)
1153                    throws com.liferay.portal.kernel.exception.PortalException {
1154                    return _layoutService.updateLayout(groupId, privateLayout, layoutId,
1155                            typeSettings);
1156            }
1157    
1158            /**
1159            * Updates the look and feel of the layout.
1160            *
1161            * @param groupId the primary key of the group
1162            * @param privateLayout whether the layout is private to the group
1163            * @param layoutId the primary key of the layout
1164            * @param themeId the primary key of the layout's new theme
1165            * @param colorSchemeId the primary key of the layout's new color scheme
1166            * @param css the layout's new CSS
1167            * @return the updated layout
1168            */
1169            @Override
1170            public com.liferay.portal.kernel.model.Layout updateLookAndFeel(
1171                    long groupId, boolean privateLayout, long layoutId,
1172                    java.lang.String themeId, java.lang.String colorSchemeId,
1173                    java.lang.String css)
1174                    throws com.liferay.portal.kernel.exception.PortalException {
1175                    return _layoutService.updateLookAndFeel(groupId, privateLayout,
1176                            layoutId, themeId, colorSchemeId, css);
1177            }
1178    
1179            /**
1180            * Updates the name of the layout matching the group, layout ID, and
1181            * privacy.
1182            *
1183            * @param groupId the primary key of the group
1184            * @param privateLayout whether the layout is private to the group
1185            * @param layoutId the primary key of the layout
1186            * @param name the layout's new name
1187            * @param languageId the primary key of the language. For more information
1188            see {@link Locale}.
1189            * @return the updated layout
1190            */
1191            @Override
1192            public com.liferay.portal.kernel.model.Layout updateName(long groupId,
1193                    boolean privateLayout, long layoutId, java.lang.String name,
1194                    java.lang.String languageId)
1195                    throws com.liferay.portal.kernel.exception.PortalException {
1196                    return _layoutService.updateName(groupId, privateLayout, layoutId,
1197                            name, languageId);
1198            }
1199    
1200            /**
1201            * Updates the name of the layout matching the primary key.
1202            *
1203            * @param plid the primary key of the layout
1204            * @param name the name to be assigned
1205            * @param languageId the primary key of the language. For more information
1206            see {@link Locale}.
1207            * @return the updated layout
1208            */
1209            @Override
1210            public com.liferay.portal.kernel.model.Layout updateName(long plid,
1211                    java.lang.String name, java.lang.String languageId)
1212                    throws com.liferay.portal.kernel.exception.PortalException {
1213                    return _layoutService.updateName(plid, name, languageId);
1214            }
1215    
1216            /**
1217            * Updates the parent layout ID of the layout matching the group, layout ID,
1218            * and privacy.
1219            *
1220            * @param groupId the primary key of the group
1221            * @param privateLayout whether the layout is private to the group
1222            * @param layoutId the primary key of the layout
1223            * @param parentLayoutId the primary key to be assigned to the parent
1224            layout
1225            * @return the matching layout
1226            */
1227            @Override
1228            public com.liferay.portal.kernel.model.Layout updateParentLayoutId(
1229                    long groupId, boolean privateLayout, long layoutId, long parentLayoutId)
1230                    throws com.liferay.portal.kernel.exception.PortalException {
1231                    return _layoutService.updateParentLayoutId(groupId, privateLayout,
1232                            layoutId, parentLayoutId);
1233            }
1234    
1235            /**
1236            * Updates the parent layout ID of the layout matching the primary key. If a
1237            * layout matching the parent primary key is found, the layout ID of that
1238            * layout is assigned, otherwise {@link
1239            * LayoutConstants#DEFAULT_PARENT_LAYOUT_ID} is assigned.
1240            *
1241            * @param plid the primary key of the layout
1242            * @param parentPlid the primary key of the parent layout
1243            * @return the layout matching the primary key
1244            */
1245            @Override
1246            public com.liferay.portal.kernel.model.Layout updateParentLayoutId(
1247                    long plid, long parentPlid)
1248                    throws com.liferay.portal.kernel.exception.PortalException {
1249                    return _layoutService.updateParentLayoutId(plid, parentPlid);
1250            }
1251    
1252            /**
1253            * Updates the parent layout ID and priority of the layout.
1254            *
1255            * @param plid the primary key of the layout
1256            * @param parentPlid the primary key of the parent layout
1257            * @param priority the layout's new priority
1258            * @return the layout matching the primary key
1259            */
1260            @Override
1261            public com.liferay.portal.kernel.model.Layout updateParentLayoutIdAndPriority(
1262                    long plid, long parentPlid, int priority)
1263                    throws com.liferay.portal.kernel.exception.PortalException {
1264                    return _layoutService.updateParentLayoutIdAndPriority(plid, parentPlid,
1265                            priority);
1266            }
1267    
1268            /**
1269            * Updates the priority of the layout matching the group, layout ID, and
1270            * privacy, setting the layout's priority based on the priorities of the
1271            * next and previous layouts.
1272            *
1273            * @param groupId the primary key of the group
1274            * @param privateLayout whether the layout is private to the group
1275            * @param layoutId the primary key of the layout
1276            * @param nextLayoutId the primary key of the next layout
1277            * @param previousLayoutId the primary key of the previous layout
1278            * @return the updated layout
1279            */
1280            @Override
1281            public com.liferay.portal.kernel.model.Layout updatePriority(long groupId,
1282                    boolean privateLayout, long layoutId, long nextLayoutId,
1283                    long previousLayoutId)
1284                    throws com.liferay.portal.kernel.exception.PortalException {
1285                    return _layoutService.updatePriority(groupId, privateLayout, layoutId,
1286                            nextLayoutId, previousLayoutId);
1287            }
1288    
1289            /**
1290            * Updates the priority of the layout matching the group, layout ID, and
1291            * privacy.
1292            *
1293            * @param groupId the primary key of the group
1294            * @param privateLayout whether the layout is private to the group
1295            * @param layoutId the primary key of the layout
1296            * @param priority the layout's new priority
1297            * @return the updated layout
1298            */
1299            @Override
1300            public com.liferay.portal.kernel.model.Layout updatePriority(long groupId,
1301                    boolean privateLayout, long layoutId, int priority)
1302                    throws com.liferay.portal.kernel.exception.PortalException {
1303                    return _layoutService.updatePriority(groupId, privateLayout, layoutId,
1304                            priority);
1305            }
1306    
1307            /**
1308            * Updates the priority of the layout matching the primary key.
1309            *
1310            * @param plid the primary key of the layout
1311            * @param priority the layout's new priority
1312            * @return the updated layout
1313            */
1314            @Override
1315            public com.liferay.portal.kernel.model.Layout updatePriority(long plid,
1316                    int priority)
1317                    throws com.liferay.portal.kernel.exception.PortalException {
1318                    return _layoutService.updatePriority(plid, priority);
1319            }
1320    
1321            /**
1322            * @deprecated As of 7.0.0, replaced by {@link
1323            com.liferay.exportimport.kernel.service.ExportImportService#validateImportLayoutsFile(
1324            ExportImportConfiguration, File)}
1325            */
1326            @Deprecated
1327            @Override
1328            public com.liferay.exportimport.kernel.lar.MissingReferences validateImportLayoutsFile(
1329                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
1330                    java.io.File file)
1331                    throws com.liferay.portal.kernel.exception.PortalException {
1332                    return _layoutService.validateImportLayoutsFile(exportImportConfiguration,
1333                            file);
1334            }
1335    
1336            /**
1337            * @deprecated As of 7.0.0, replaced by {@link
1338            com.liferay.exportimport.kernel.service.ExportImportService#validateImportLayoutsFile(
1339            ExportImportConfiguration, InputStream)}
1340            */
1341            @Deprecated
1342            @Override
1343            public com.liferay.exportimport.kernel.lar.MissingReferences validateImportLayoutsFile(
1344                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
1345                    java.io.InputStream inputStream)
1346                    throws com.liferay.portal.kernel.exception.PortalException {
1347                    return _layoutService.validateImportLayoutsFile(exportImportConfiguration,
1348                            inputStream);
1349            }
1350    
1351            /**
1352            * @deprecated As of 7.0.0, with no direct replacement
1353            */
1354            @Deprecated
1355            @Override
1356            public com.liferay.exportimport.kernel.lar.MissingReferences validateImportLayoutsFile(
1357                    long groupId, boolean privateLayout,
1358                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1359                    java.io.File file)
1360                    throws com.liferay.portal.kernel.exception.PortalException {
1361                    return _layoutService.validateImportLayoutsFile(groupId, privateLayout,
1362                            parameterMap, file);
1363            }
1364    
1365            /**
1366            * @deprecated As of 7.0.0, with no direct replacement
1367            */
1368            @Deprecated
1369            @Override
1370            public com.liferay.exportimport.kernel.lar.MissingReferences validateImportLayoutsFile(
1371                    long groupId, boolean privateLayout,
1372                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1373                    java.io.InputStream inputStream)
1374                    throws com.liferay.portal.kernel.exception.PortalException {
1375                    return _layoutService.validateImportLayoutsFile(groupId, privateLayout,
1376                            parameterMap, inputStream);
1377            }
1378    
1379            /**
1380            * @deprecated As of 7.0.0, replaced by {@link
1381            com.liferay.exportimport.kernel.service.ExportImportService#validateImportPortletInfo(
1382            ExportImportConfiguration, File)}
1383            */
1384            @Deprecated
1385            @Override
1386            public com.liferay.exportimport.kernel.lar.MissingReferences validateImportPortletInfo(
1387                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
1388                    java.io.File file)
1389                    throws com.liferay.portal.kernel.exception.PortalException {
1390                    return _layoutService.validateImportPortletInfo(exportImportConfiguration,
1391                            file);
1392            }
1393    
1394            /**
1395            * @deprecated As of 7.0.0, replaced by {@link
1396            com.liferay.exportimport.kernel.service.ExportImportService#validateImportPortletInfo(
1397            ExportImportConfiguration, InputStream)}
1398            */
1399            @Deprecated
1400            @Override
1401            public com.liferay.exportimport.kernel.lar.MissingReferences validateImportPortletInfo(
1402                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration,
1403                    java.io.InputStream inputStream)
1404                    throws com.liferay.portal.kernel.exception.PortalException {
1405                    return _layoutService.validateImportPortletInfo(exportImportConfiguration,
1406                            inputStream);
1407            }
1408    
1409            /**
1410            * @deprecated As of 7.0.0, with no direct replacement
1411            */
1412            @Deprecated
1413            @Override
1414            public com.liferay.exportimport.kernel.lar.MissingReferences validateImportPortletInfo(
1415                    long plid, long groupId, java.lang.String portletId,
1416                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1417                    java.io.File file)
1418                    throws com.liferay.portal.kernel.exception.PortalException {
1419                    return _layoutService.validateImportPortletInfo(plid, groupId,
1420                            portletId, parameterMap, file);
1421            }
1422    
1423            /**
1424            * @deprecated As of 7.0.0, with no direct replacement
1425            */
1426            @Deprecated
1427            @Override
1428            public com.liferay.exportimport.kernel.lar.MissingReferences validateImportPortletInfo(
1429                    long plid, long groupId, java.lang.String portletId,
1430                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap,
1431                    java.io.InputStream inputStream)
1432                    throws com.liferay.portal.kernel.exception.PortalException {
1433                    return _layoutService.validateImportPortletInfo(plid, groupId,
1434                            portletId, parameterMap, inputStream);
1435            }
1436    
1437            @Override
1438            public LayoutService getWrappedService() {
1439                    return _layoutService;
1440            }
1441    
1442            @Override
1443            public void setWrappedService(LayoutService layoutService) {
1444                    _layoutService = layoutService;
1445            }
1446    
1447            private LayoutService _layoutService;
1448    }