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