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.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.expando.kernel.model.ExpandoBridge;
020    
021    import com.liferay.exportimport.kernel.lar.StagedModelType;
022    
023    import com.liferay.portal.kernel.service.ServiceContext;
024    
025    import java.io.Serializable;
026    
027    import java.util.Date;
028    import java.util.HashMap;
029    import java.util.Map;
030    import java.util.Objects;
031    
032    /**
033     * <p>
034     * This class is a wrapper for {@link Layout}.
035     * </p>
036     *
037     * @author Brian Wing Shun Chan
038     * @see Layout
039     * @generated
040     */
041    @ProviderType
042    public class LayoutWrapper implements Layout, ModelWrapper<Layout> {
043            public LayoutWrapper(Layout layout) {
044                    _layout = layout;
045            }
046    
047            @Override
048            public Class<?> getModelClass() {
049                    return Layout.class;
050            }
051    
052            @Override
053            public String getModelClassName() {
054                    return Layout.class.getName();
055            }
056    
057            @Override
058            public Map<String, Object> getModelAttributes() {
059                    Map<String, Object> attributes = new HashMap<String, Object>();
060    
061                    attributes.put("mvccVersion", getMvccVersion());
062                    attributes.put("uuid", getUuid());
063                    attributes.put("plid", getPlid());
064                    attributes.put("groupId", getGroupId());
065                    attributes.put("companyId", getCompanyId());
066                    attributes.put("userId", getUserId());
067                    attributes.put("userName", getUserName());
068                    attributes.put("createDate", getCreateDate());
069                    attributes.put("modifiedDate", getModifiedDate());
070                    attributes.put("privateLayout", getPrivateLayout());
071                    attributes.put("layoutId", getLayoutId());
072                    attributes.put("parentLayoutId", getParentLayoutId());
073                    attributes.put("name", getName());
074                    attributes.put("title", getTitle());
075                    attributes.put("description", getDescription());
076                    attributes.put("keywords", getKeywords());
077                    attributes.put("robots", getRobots());
078                    attributes.put("type", getType());
079                    attributes.put("typeSettings", getTypeSettings());
080                    attributes.put("hidden", getHidden());
081                    attributes.put("friendlyURL", getFriendlyURL());
082                    attributes.put("iconImageId", getIconImageId());
083                    attributes.put("themeId", getThemeId());
084                    attributes.put("colorSchemeId", getColorSchemeId());
085                    attributes.put("css", getCss());
086                    attributes.put("priority", getPriority());
087                    attributes.put("layoutPrototypeUuid", getLayoutPrototypeUuid());
088                    attributes.put("layoutPrototypeLinkEnabled",
089                            getLayoutPrototypeLinkEnabled());
090                    attributes.put("sourcePrototypeLayoutUuid",
091                            getSourcePrototypeLayoutUuid());
092                    attributes.put("lastPublishDate", getLastPublishDate());
093    
094                    return attributes;
095            }
096    
097            @Override
098            public void setModelAttributes(Map<String, Object> attributes) {
099                    Long mvccVersion = (Long)attributes.get("mvccVersion");
100    
101                    if (mvccVersion != null) {
102                            setMvccVersion(mvccVersion);
103                    }
104    
105                    String uuid = (String)attributes.get("uuid");
106    
107                    if (uuid != null) {
108                            setUuid(uuid);
109                    }
110    
111                    Long plid = (Long)attributes.get("plid");
112    
113                    if (plid != null) {
114                            setPlid(plid);
115                    }
116    
117                    Long groupId = (Long)attributes.get("groupId");
118    
119                    if (groupId != null) {
120                            setGroupId(groupId);
121                    }
122    
123                    Long companyId = (Long)attributes.get("companyId");
124    
125                    if (companyId != null) {
126                            setCompanyId(companyId);
127                    }
128    
129                    Long userId = (Long)attributes.get("userId");
130    
131                    if (userId != null) {
132                            setUserId(userId);
133                    }
134    
135                    String userName = (String)attributes.get("userName");
136    
137                    if (userName != null) {
138                            setUserName(userName);
139                    }
140    
141                    Date createDate = (Date)attributes.get("createDate");
142    
143                    if (createDate != null) {
144                            setCreateDate(createDate);
145                    }
146    
147                    Date modifiedDate = (Date)attributes.get("modifiedDate");
148    
149                    if (modifiedDate != null) {
150                            setModifiedDate(modifiedDate);
151                    }
152    
153                    Boolean privateLayout = (Boolean)attributes.get("privateLayout");
154    
155                    if (privateLayout != null) {
156                            setPrivateLayout(privateLayout);
157                    }
158    
159                    Long layoutId = (Long)attributes.get("layoutId");
160    
161                    if (layoutId != null) {
162                            setLayoutId(layoutId);
163                    }
164    
165                    Long parentLayoutId = (Long)attributes.get("parentLayoutId");
166    
167                    if (parentLayoutId != null) {
168                            setParentLayoutId(parentLayoutId);
169                    }
170    
171                    String name = (String)attributes.get("name");
172    
173                    if (name != null) {
174                            setName(name);
175                    }
176    
177                    String title = (String)attributes.get("title");
178    
179                    if (title != null) {
180                            setTitle(title);
181                    }
182    
183                    String description = (String)attributes.get("description");
184    
185                    if (description != null) {
186                            setDescription(description);
187                    }
188    
189                    String keywords = (String)attributes.get("keywords");
190    
191                    if (keywords != null) {
192                            setKeywords(keywords);
193                    }
194    
195                    String robots = (String)attributes.get("robots");
196    
197                    if (robots != null) {
198                            setRobots(robots);
199                    }
200    
201                    String type = (String)attributes.get("type");
202    
203                    if (type != null) {
204                            setType(type);
205                    }
206    
207                    String typeSettings = (String)attributes.get("typeSettings");
208    
209                    if (typeSettings != null) {
210                            setTypeSettings(typeSettings);
211                    }
212    
213                    Boolean hidden = (Boolean)attributes.get("hidden");
214    
215                    if (hidden != null) {
216                            setHidden(hidden);
217                    }
218    
219                    String friendlyURL = (String)attributes.get("friendlyURL");
220    
221                    if (friendlyURL != null) {
222                            setFriendlyURL(friendlyURL);
223                    }
224    
225                    Long iconImageId = (Long)attributes.get("iconImageId");
226    
227                    if (iconImageId != null) {
228                            setIconImageId(iconImageId);
229                    }
230    
231                    String themeId = (String)attributes.get("themeId");
232    
233                    if (themeId != null) {
234                            setThemeId(themeId);
235                    }
236    
237                    String colorSchemeId = (String)attributes.get("colorSchemeId");
238    
239                    if (colorSchemeId != null) {
240                            setColorSchemeId(colorSchemeId);
241                    }
242    
243                    String css = (String)attributes.get("css");
244    
245                    if (css != null) {
246                            setCss(css);
247                    }
248    
249                    Integer priority = (Integer)attributes.get("priority");
250    
251                    if (priority != null) {
252                            setPriority(priority);
253                    }
254    
255                    String layoutPrototypeUuid = (String)attributes.get(
256                                    "layoutPrototypeUuid");
257    
258                    if (layoutPrototypeUuid != null) {
259                            setLayoutPrototypeUuid(layoutPrototypeUuid);
260                    }
261    
262                    Boolean layoutPrototypeLinkEnabled = (Boolean)attributes.get(
263                                    "layoutPrototypeLinkEnabled");
264    
265                    if (layoutPrototypeLinkEnabled != null) {
266                            setLayoutPrototypeLinkEnabled(layoutPrototypeLinkEnabled);
267                    }
268    
269                    String sourcePrototypeLayoutUuid = (String)attributes.get(
270                                    "sourcePrototypeLayoutUuid");
271    
272                    if (sourcePrototypeLayoutUuid != null) {
273                            setSourcePrototypeLayoutUuid(sourcePrototypeLayoutUuid);
274                    }
275    
276                    Date lastPublishDate = (Date)attributes.get("lastPublishDate");
277    
278                    if (lastPublishDate != null) {
279                            setLastPublishDate(lastPublishDate);
280                    }
281            }
282    
283            @Override
284            public CacheModel<Layout> toCacheModel() {
285                    return _layout.toCacheModel();
286            }
287    
288            /**
289            * Returns the color scheme that is configured for the current layout, or
290            * the color scheme of the layout set that contains the current layout if no
291            * color scheme is configured.
292            *
293            * @return the color scheme that is configured for the current layout, or
294            the color scheme  of the layout set that contains the current
295            layout if no color scheme is configured
296            */
297            @Override
298            public ColorScheme getColorScheme()
299                    throws com.liferay.portal.kernel.exception.PortalException {
300                    return _layout.getColorScheme();
301            }
302    
303            /**
304            * Returns the current layout's group.
305            *
306            * <p>
307            * Group is Liferay's technical name for a site.
308            * </p>
309            *
310            * @return the current layout's group
311            */
312            @Override
313            public Group getGroup()
314                    throws com.liferay.portal.kernel.exception.PortalException {
315                    return _layout.getGroup();
316            }
317    
318            @Override
319            public Group getScopeGroup()
320                    throws com.liferay.portal.kernel.exception.PortalException {
321                    return _layout.getScopeGroup();
322            }
323    
324            @Override
325            public Layout toEscapedModel() {
326                    return new LayoutWrapper(_layout.toEscapedModel());
327            }
328    
329            @Override
330            public Layout toUnescapedModel() {
331                    return new LayoutWrapper(_layout.toUnescapedModel());
332            }
333    
334            /**
335            * Returns the current layout's {@link LayoutSet}.
336            *
337            * @return the current layout's layout set
338            */
339            @Override
340            public LayoutSet getLayoutSet()
341                    throws com.liferay.portal.kernel.exception.PortalException {
342                    return _layout.getLayoutSet();
343            }
344    
345            /**
346            * Returns the current layout's {@link LayoutType}.
347            *
348            * @return the current layout's layout type
349            */
350            @Override
351            public LayoutType getLayoutType() {
352                    return _layout.getLayoutType();
353            }
354    
355            /**
356            * Returns the current layout's theme, or the layout set's theme if no
357            * layout theme is configured.
358            *
359            * @return the current layout's theme, or the layout set's theme if no
360            layout theme is configured
361            */
362            @Override
363            public Theme getTheme()
364                    throws com.liferay.portal.kernel.exception.PortalException {
365                    return _layout.getTheme();
366            }
367    
368            /**
369            * Returns the hidden of this layout.
370            *
371            * @return the hidden of this layout
372            */
373            @Override
374            public boolean getHidden() {
375                    return _layout.getHidden();
376            }
377    
378            /**
379            * Returns <code>true</code> if the current layout has a configured icon.
380            *
381            * @return <code>true</code> if the current layout has a configured icon;
382            <code>false</code> otherwise
383            */
384            @Override
385            public boolean getIconImage() {
386                    return _layout.getIconImage();
387            }
388    
389            /**
390            * Returns the layout prototype link enabled of this layout.
391            *
392            * @return the layout prototype link enabled of this layout
393            */
394            @Override
395            public boolean getLayoutPrototypeLinkEnabled() {
396                    return _layout.getLayoutPrototypeLinkEnabled();
397            }
398    
399            /**
400            * Returns the private layout of this layout.
401            *
402            * @return the private layout of this layout
403            */
404            @Override
405            public boolean getPrivateLayout() {
406                    return _layout.getPrivateLayout();
407            }
408    
409            /**
410            * Returns <code>true</code> if the given layout ID matches one of the
411            * current layout's hierarchical parents.
412            *
413            * @param layoutId the layout ID to search for in the current layout's
414            parent list
415            * @return <code>true</code> if the given layout ID matches one of the
416            current layout's hierarchical parents; <code>false</code>
417            otherwise
418            */
419            @Override
420            public boolean hasAncestor(long layoutId)
421                    throws com.liferay.portal.kernel.exception.PortalException {
422                    return _layout.hasAncestor(layoutId);
423            }
424    
425            /**
426            * Returns <code>true</code> if the current layout has child layouts.
427            *
428            * @return <code>true</code> if the current layout has child layouts,
429            <code>false</code> otherwise
430            */
431            @Override
432            public boolean hasChildren() {
433                    return _layout.hasChildren();
434            }
435    
436            @Override
437            public boolean hasScopeGroup()
438                    throws com.liferay.portal.kernel.exception.PortalException {
439                    return _layout.hasScopeGroup();
440            }
441    
442            @Override
443            public boolean hasSetModifiedDate() {
444                    return _layout.hasSetModifiedDate();
445            }
446    
447            @Override
448            public boolean includeLayoutContent(
449                    javax.servlet.http.HttpServletRequest request,
450                    javax.servlet.http.HttpServletResponse response)
451                    throws java.lang.Exception {
452                    return _layout.includeLayoutContent(request, response);
453            }
454    
455            @Override
456            public boolean isCachedModel() {
457                    return _layout.isCachedModel();
458            }
459    
460            @Override
461            public boolean isChildSelected(boolean selectable, Layout layout)
462                    throws com.liferay.portal.kernel.exception.PortalException {
463                    return _layout.isChildSelected(selectable, layout);
464            }
465    
466            /**
467            * Returns <code>true</code> if the current layout can be used as a content
468            * display page.
469            *
470            * <p>
471            * A content display page must have an Asset Publisher portlet that is
472            * configured as the default Asset Publisher for the layout.
473            * </p>
474            *
475            * @return <code>true</code> if the current layout can be used as a content
476            display page; <code>false</code> otherwise
477            */
478            @Override
479            public boolean isContentDisplayPage() {
480                    return _layout.isContentDisplayPage();
481            }
482    
483            @Override
484            public boolean isCustomizable() {
485                    return _layout.isCustomizable();
486            }
487    
488            @Override
489            public boolean isEscapedModel() {
490                    return _layout.isEscapedModel();
491            }
492    
493            /**
494            * Returns <code>true</code> if the current layout is the first layout in
495            * its parent's hierarchical list of children layouts.
496            *
497            * @return <code>true</code> if the current layout is the first layout in
498            its parent's hierarchical list of children layouts;
499            <code>false</code> otherwise
500            */
501            @Override
502            public boolean isFirstChild() {
503                    return _layout.isFirstChild();
504            }
505    
506            /**
507            * Returns <code>true</code> if the current layout is the topmost parent
508            * layout.
509            *
510            * @return <code>true</code> if the current layout is the topmost parent
511            layout; <code>false</code> otherwise
512            */
513            @Override
514            public boolean isFirstParent() {
515                    return _layout.isFirstParent();
516            }
517    
518            /**
519            * Returns <code>true</code> if this layout is hidden.
520            *
521            * @return <code>true</code> if this layout is hidden; <code>false</code> otherwise
522            */
523            @Override
524            public boolean isHidden() {
525                    return _layout.isHidden();
526            }
527    
528            @Override
529            public boolean isIconImage() {
530                    return _layout.isIconImage();
531            }
532    
533            /**
534            * Returns <code>true</code> if the current layout utilizes its {@link
535            * LayoutSet}'s look and feel options (e.g. theme and color scheme).
536            *
537            * @return <code>true</code> if the current layout utilizes its layout set's
538            look and feel options; <code>false</code> otherwise
539            */
540            @Override
541            public boolean isInheritLookAndFeel() {
542                    return _layout.isInheritLookAndFeel();
543            }
544    
545            /**
546            * Returns <code>true</code> if the current layout is built from a layout
547            * template and still maintains an active connection to it.
548            *
549            * @return <code>true</code> if the current layout is built from a layout
550            template and still maintains an active connection to it;
551            <code>false</code> otherwise
552            */
553            @Override
554            public boolean isLayoutPrototypeLinkActive() {
555                    return _layout.isLayoutPrototypeLinkActive();
556            }
557    
558            /**
559            * Returns <code>true</code> if this layout is layout prototype link enabled.
560            *
561            * @return <code>true</code> if this layout is layout prototype link enabled; <code>false</code> otherwise
562            */
563            @Override
564            public boolean isLayoutPrototypeLinkEnabled() {
565                    return _layout.isLayoutPrototypeLinkEnabled();
566            }
567    
568            @Override
569            public boolean isNew() {
570                    return _layout.isNew();
571            }
572    
573            @Override
574            public boolean isPortletEmbedded(java.lang.String portletId, long groupId) {
575                    return _layout.isPortletEmbedded(portletId, groupId);
576            }
577    
578            /**
579            * Returns <code>true</code> if this layout is private layout.
580            *
581            * @return <code>true</code> if this layout is private layout; <code>false</code> otherwise
582            */
583            @Override
584            public boolean isPrivateLayout() {
585                    return _layout.isPrivateLayout();
586            }
587    
588            /**
589            * Returns <code>true</code> if the current layout is part of the public
590            * {@link LayoutSet}.
591            *
592            * <p>
593            * Note, the returned value reflects the layout's default access options,
594            * not its access permissions.
595            * </p>
596            *
597            * @return <code>true</code> if the current layout is part of the public
598            layout set; <code>false</code> otherwise
599            */
600            @Override
601            public boolean isPublicLayout() {
602                    return _layout.isPublicLayout();
603            }
604    
605            /**
606            * Returns <code>true</code> if the current layout is the root layout.
607            *
608            * @return <code>true</code> if the current layout is the root layout;
609            <code>false</code> otherwise
610            */
611            @Override
612            public boolean isRootLayout() {
613                    return _layout.isRootLayout();
614            }
615    
616            @Override
617            public boolean isSelected(boolean selectable, Layout layout,
618                    long ancestorPlid) {
619                    return _layout.isSelected(selectable, layout, ancestorPlid);
620            }
621    
622            /**
623            * Returns <code>true</code> if the current layout can hold embedded
624            * portlets.
625            *
626            * @return <code>true</code> if the current layout can hold embedded
627            portlets; <code>false</code> otherwise
628            */
629            @Override
630            public boolean isSupportsEmbeddedPortlets() {
631                    return _layout.isSupportsEmbeddedPortlets();
632            }
633    
634            /**
635            * @deprecated As of 7.0.0, with no direct replacement
636            */
637            @Deprecated
638            @Override
639            public boolean isTypeArticle() {
640                    return _layout.isTypeArticle();
641            }
642    
643            @Override
644            public boolean isTypeControlPanel() {
645                    return _layout.isTypeControlPanel();
646            }
647    
648            @Override
649            public boolean isTypeEmbedded() {
650                    return _layout.isTypeEmbedded();
651            }
652    
653            @Override
654            public boolean isTypeLinkToLayout() {
655                    return _layout.isTypeLinkToLayout();
656            }
657    
658            @Override
659            public boolean isTypePanel() {
660                    return _layout.isTypePanel();
661            }
662    
663            @Override
664            public boolean isTypePortlet() {
665                    return _layout.isTypePortlet();
666            }
667    
668            @Override
669            public boolean isTypeSharedPortlet() {
670                    return _layout.isTypeSharedPortlet();
671            }
672    
673            @Override
674            public boolean isTypeURL() {
675                    return _layout.isTypeURL();
676            }
677    
678            @Override
679            public boolean matches(javax.servlet.http.HttpServletRequest request,
680                    java.lang.String friendlyURL) {
681                    return _layout.matches(request, friendlyURL);
682            }
683    
684            @Override
685            public ExpandoBridge getExpandoBridge() {
686                    return _layout.getExpandoBridge();
687            }
688    
689            /**
690            * Returns the current layout's linked layout.
691            *
692            * @return the current layout's linked layout, or <code>null</code> if no
693            linked layout could be found
694            */
695            @Override
696            public Layout getLinkedToLayout() {
697                    return _layout.getLinkedToLayout();
698            }
699    
700            @Override
701            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties() {
702                    return _layout.getTypeSettingsProperties();
703            }
704    
705            @Override
706            public int compareTo(Layout layout) {
707                    return _layout.compareTo(layout);
708            }
709    
710            /**
711            * Returns the priority of this layout.
712            *
713            * @return the priority of this layout
714            */
715            @Override
716            public int getPriority() {
717                    return _layout.getPriority();
718            }
719    
720            @Override
721            public int hashCode() {
722                    return _layout.hashCode();
723            }
724    
725            @Override
726            public Serializable getPrimaryKeyObj() {
727                    return _layout.getPrimaryKeyObj();
728            }
729    
730            @Override
731            public java.lang.Object clone() {
732                    return new LayoutWrapper((Layout)_layout.clone());
733            }
734    
735            /**
736            * Returns the color scheme ID of this layout.
737            *
738            * @return the color scheme ID of this layout
739            */
740            @Override
741            public java.lang.String getColorSchemeId() {
742                    return _layout.getColorSchemeId();
743            }
744    
745            /**
746            * Returns the css of this layout.
747            *
748            * @return the css of this layout
749            */
750            @Override
751            public java.lang.String getCss() {
752                    return _layout.getCss();
753            }
754    
755            /**
756            * Returns the CSS text for the current layout, or for the layout set if no
757            * CSS text is configured in the current layout.
758            *
759            * <p>
760            * Layouts and layout sets can configure CSS that is applied in addition to
761            * the theme's CSS.
762            * </p>
763            *
764            * @return the CSS text for the current layout, or for the layout set if no
765            CSS text is configured in the current layout
766            */
767            @Override
768            public java.lang.String getCssText()
769                    throws com.liferay.portal.kernel.exception.PortalException {
770                    return _layout.getCssText();
771            }
772    
773            @Override
774            public java.lang.String getDefaultLanguageId() {
775                    return _layout.getDefaultLanguageId();
776            }
777    
778            @Override
779            public java.lang.String getDefaultThemeSetting(java.lang.String key,
780                    java.lang.String device, boolean inheritLookAndFeel) {
781                    return _layout.getDefaultThemeSetting(key, device, inheritLookAndFeel);
782            }
783    
784            /**
785            * Returns the description of this layout.
786            *
787            * @return the description of this layout
788            */
789            @Override
790            public java.lang.String getDescription() {
791                    return _layout.getDescription();
792            }
793    
794            /**
795            * Returns the localized description of this layout in the language. Uses the default language if no localization exists for the requested language.
796            *
797            * @param languageId the ID of the language
798            * @return the localized description of this layout
799            */
800            @Override
801            public java.lang.String getDescription(java.lang.String languageId) {
802                    return _layout.getDescription(languageId);
803            }
804    
805            /**
806            * Returns the localized description of this layout in the language, optionally using the default language if no localization exists for the requested language.
807            *
808            * @param languageId the ID of the language
809            * @param useDefault whether to use the default language if no localization exists for the requested language
810            * @return the localized description of this layout
811            */
812            @Override
813            public java.lang.String getDescription(java.lang.String languageId,
814                    boolean useDefault) {
815                    return _layout.getDescription(languageId, useDefault);
816            }
817    
818            /**
819            * Returns the localized description of this layout in the language. Uses the default language if no localization exists for the requested language.
820            *
821            * @param locale the locale of the language
822            * @return the localized description of this layout
823            */
824            @Override
825            public java.lang.String getDescription(java.util.Locale locale) {
826                    return _layout.getDescription(locale);
827            }
828    
829            /**
830            * Returns the localized description of this layout in the language, optionally using the default language if no localization exists for the requested language.
831            *
832            * @param locale the local of the language
833            * @param useDefault whether to use the default language if no localization exists for the requested language
834            * @return the localized description of this layout. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
835            */
836            @Override
837            public java.lang.String getDescription(java.util.Locale locale,
838                    boolean useDefault) {
839                    return _layout.getDescription(locale, useDefault);
840            }
841    
842            @Override
843            public java.lang.String getDescriptionCurrentLanguageId() {
844                    return _layout.getDescriptionCurrentLanguageId();
845            }
846    
847            @Override
848            public java.lang.String getDescriptionCurrentValue() {
849                    return _layout.getDescriptionCurrentValue();
850            }
851    
852            /**
853            * Returns the friendly u r l of this layout.
854            *
855            * @return the friendly u r l of this layout
856            */
857            @Override
858            public java.lang.String getFriendlyURL() {
859                    return _layout.getFriendlyURL();
860            }
861    
862            /**
863            * Returns the layout's friendly URL for the given locale.
864            *
865            * @param locale the locale that the friendly URL should be retrieved for
866            * @return the layout's friendly URL for the given locale
867            */
868            @Override
869            public java.lang.String getFriendlyURL(java.util.Locale locale) {
870                    return _layout.getFriendlyURL(locale);
871            }
872    
873            @Override
874            public java.lang.String getFriendlyURLsXML() {
875                    return _layout.getFriendlyURLsXML();
876            }
877    
878            /**
879            * Returns the current layout's HTML title for the given locale language ID,
880            * or the current layout's name if no HTML title is configured.
881            *
882            * @param localeLanguageId the locale that the HTML title should be
883            retrieved for
884            * @return the current layout's HTML title for the given locale language ID,
885            or the current layout's name if no HTML title is configured
886            */
887            @Override
888            public java.lang.String getHTMLTitle(java.lang.String localeLanguageId) {
889                    return _layout.getHTMLTitle(localeLanguageId);
890            }
891    
892            /**
893            * Returns the current layout's HTML title for the given locale, or the
894            * current layout's name for the given locale if no HTML title is
895            * configured.
896            *
897            * @param locale the locale that the HTML title should be retrieved for
898            * @return the current layout's HTML title for the given locale, or the
899            current layout's name for the given locale if no HTML title is
900            configured
901            */
902            @Override
903            public java.lang.String getHTMLTitle(java.util.Locale locale) {
904                    return _layout.getHTMLTitle(locale);
905            }
906    
907            /**
908            * Returns the keywords of this layout.
909            *
910            * @return the keywords of this layout
911            */
912            @Override
913            public java.lang.String getKeywords() {
914                    return _layout.getKeywords();
915            }
916    
917            /**
918            * Returns the localized keywords of this layout in the language. Uses the default language if no localization exists for the requested language.
919            *
920            * @param languageId the ID of the language
921            * @return the localized keywords of this layout
922            */
923            @Override
924            public java.lang.String getKeywords(java.lang.String languageId) {
925                    return _layout.getKeywords(languageId);
926            }
927    
928            /**
929            * Returns the localized keywords of this layout in the language, optionally using the default language if no localization exists for the requested language.
930            *
931            * @param languageId the ID of the language
932            * @param useDefault whether to use the default language if no localization exists for the requested language
933            * @return the localized keywords of this layout
934            */
935            @Override
936            public java.lang.String getKeywords(java.lang.String languageId,
937                    boolean useDefault) {
938                    return _layout.getKeywords(languageId, useDefault);
939            }
940    
941            /**
942            * Returns the localized keywords of this layout in the language. Uses the default language if no localization exists for the requested language.
943            *
944            * @param locale the locale of the language
945            * @return the localized keywords of this layout
946            */
947            @Override
948            public java.lang.String getKeywords(java.util.Locale locale) {
949                    return _layout.getKeywords(locale);
950            }
951    
952            /**
953            * Returns the localized keywords of this layout in the language, optionally using the default language if no localization exists for the requested language.
954            *
955            * @param locale the local of the language
956            * @param useDefault whether to use the default language if no localization exists for the requested language
957            * @return the localized keywords of this layout. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
958            */
959            @Override
960            public java.lang.String getKeywords(java.util.Locale locale,
961                    boolean useDefault) {
962                    return _layout.getKeywords(locale, useDefault);
963            }
964    
965            @Override
966            public java.lang.String getKeywordsCurrentLanguageId() {
967                    return _layout.getKeywordsCurrentLanguageId();
968            }
969    
970            @Override
971            public java.lang.String getKeywordsCurrentValue() {
972                    return _layout.getKeywordsCurrentValue();
973            }
974    
975            /**
976            * Returns the layout prototype uuid of this layout.
977            *
978            * @return the layout prototype uuid of this layout
979            */
980            @Override
981            public java.lang.String getLayoutPrototypeUuid() {
982                    return _layout.getLayoutPrototypeUuid();
983            }
984    
985            /**
986            * Returns the name of this layout.
987            *
988            * @return the name of this layout
989            */
990            @Override
991            public java.lang.String getName() {
992                    return _layout.getName();
993            }
994    
995            /**
996            * Returns the localized name of this layout in the language. Uses the default language if no localization exists for the requested language.
997            *
998            * @param languageId the ID of the language
999            * @return the localized name of this layout
1000            */
1001            @Override
1002            public java.lang.String getName(java.lang.String languageId) {
1003                    return _layout.getName(languageId);
1004            }
1005    
1006            /**
1007            * Returns the localized name of this layout in the language, optionally using the default language if no localization exists for the requested language.
1008            *
1009            * @param languageId the ID of the language
1010            * @param useDefault whether to use the default language if no localization exists for the requested language
1011            * @return the localized name of this layout
1012            */
1013            @Override
1014            public java.lang.String getName(java.lang.String languageId,
1015                    boolean useDefault) {
1016                    return _layout.getName(languageId, useDefault);
1017            }
1018    
1019            /**
1020            * Returns the localized name of this layout in the language. Uses the default language if no localization exists for the requested language.
1021            *
1022            * @param locale the locale of the language
1023            * @return the localized name of this layout
1024            */
1025            @Override
1026            public java.lang.String getName(java.util.Locale locale) {
1027                    return _layout.getName(locale);
1028            }
1029    
1030            /**
1031            * Returns the localized name of this layout in the language, optionally using the default language if no localization exists for the requested language.
1032            *
1033            * @param locale the local of the language
1034            * @param useDefault whether to use the default language if no localization exists for the requested language
1035            * @return the localized name of this layout. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
1036            */
1037            @Override
1038            public java.lang.String getName(java.util.Locale locale, boolean useDefault) {
1039                    return _layout.getName(locale, useDefault);
1040            }
1041    
1042            @Override
1043            public java.lang.String getNameCurrentLanguageId() {
1044                    return _layout.getNameCurrentLanguageId();
1045            }
1046    
1047            @Override
1048            public java.lang.String getNameCurrentValue() {
1049                    return _layout.getNameCurrentValue();
1050            }
1051    
1052            @Override
1053            public java.lang.String getRegularURL(
1054                    javax.servlet.http.HttpServletRequest request)
1055                    throws com.liferay.portal.kernel.exception.PortalException {
1056                    return _layout.getRegularURL(request);
1057            }
1058    
1059            @Override
1060            public java.lang.String getResetLayoutURL(
1061                    javax.servlet.http.HttpServletRequest request)
1062                    throws com.liferay.portal.kernel.exception.PortalException {
1063                    return _layout.getResetLayoutURL(request);
1064            }
1065    
1066            @Override
1067            public java.lang.String getResetMaxStateURL(
1068                    javax.servlet.http.HttpServletRequest request)
1069                    throws com.liferay.portal.kernel.exception.PortalException {
1070                    return _layout.getResetMaxStateURL(request);
1071            }
1072    
1073            /**
1074            * Returns the robots of this layout.
1075            *
1076            * @return the robots of this layout
1077            */
1078            @Override
1079            public java.lang.String getRobots() {
1080                    return _layout.getRobots();
1081            }
1082    
1083            /**
1084            * Returns the localized robots of this layout in the language. Uses the default language if no localization exists for the requested language.
1085            *
1086            * @param languageId the ID of the language
1087            * @return the localized robots of this layout
1088            */
1089            @Override
1090            public java.lang.String getRobots(java.lang.String languageId) {
1091                    return _layout.getRobots(languageId);
1092            }
1093    
1094            /**
1095            * Returns the localized robots of this layout in the language, optionally using the default language if no localization exists for the requested language.
1096            *
1097            * @param languageId the ID of the language
1098            * @param useDefault whether to use the default language if no localization exists for the requested language
1099            * @return the localized robots of this layout
1100            */
1101            @Override
1102            public java.lang.String getRobots(java.lang.String languageId,
1103                    boolean useDefault) {
1104                    return _layout.getRobots(languageId, useDefault);
1105            }
1106    
1107            /**
1108            * Returns the localized robots of this layout in the language. Uses the default language if no localization exists for the requested language.
1109            *
1110            * @param locale the locale of the language
1111            * @return the localized robots of this layout
1112            */
1113            @Override
1114            public java.lang.String getRobots(java.util.Locale locale) {
1115                    return _layout.getRobots(locale);
1116            }
1117    
1118            /**
1119            * Returns the localized robots of this layout in the language, optionally using the default language if no localization exists for the requested language.
1120            *
1121            * @param locale the local of the language
1122            * @param useDefault whether to use the default language if no localization exists for the requested language
1123            * @return the localized robots of this layout. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
1124            */
1125            @Override
1126            public java.lang.String getRobots(java.util.Locale locale,
1127                    boolean useDefault) {
1128                    return _layout.getRobots(locale, useDefault);
1129            }
1130    
1131            @Override
1132            public java.lang.String getRobotsCurrentLanguageId() {
1133                    return _layout.getRobotsCurrentLanguageId();
1134            }
1135    
1136            @Override
1137            public java.lang.String getRobotsCurrentValue() {
1138                    return _layout.getRobotsCurrentValue();
1139            }
1140    
1141            /**
1142            * Returns the source prototype layout uuid of this layout.
1143            *
1144            * @return the source prototype layout uuid of this layout
1145            */
1146            @Override
1147            public java.lang.String getSourcePrototypeLayoutUuid() {
1148                    return _layout.getSourcePrototypeLayoutUuid();
1149            }
1150    
1151            @Override
1152            public java.lang.String getTarget() {
1153                    return _layout.getTarget();
1154            }
1155    
1156            /**
1157            * Returns the theme ID of this layout.
1158            *
1159            * @return the theme ID of this layout
1160            */
1161            @Override
1162            public java.lang.String getThemeId() {
1163                    return _layout.getThemeId();
1164            }
1165    
1166            @Override
1167            public java.lang.String getThemeSetting(java.lang.String key,
1168                    java.lang.String device) {
1169                    return _layout.getThemeSetting(key, device);
1170            }
1171    
1172            @Override
1173            public java.lang.String getThemeSetting(java.lang.String key,
1174                    java.lang.String device, boolean inheritLookAndFeel) {
1175                    return _layout.getThemeSetting(key, device, inheritLookAndFeel);
1176            }
1177    
1178            /**
1179            * Returns the title of this layout.
1180            *
1181            * @return the title of this layout
1182            */
1183            @Override
1184            public java.lang.String getTitle() {
1185                    return _layout.getTitle();
1186            }
1187    
1188            /**
1189            * Returns the localized title of this layout in the language. Uses the default language if no localization exists for the requested language.
1190            *
1191            * @param languageId the ID of the language
1192            * @return the localized title of this layout
1193            */
1194            @Override
1195            public java.lang.String getTitle(java.lang.String languageId) {
1196                    return _layout.getTitle(languageId);
1197            }
1198    
1199            /**
1200            * Returns the localized title of this layout in the language, optionally using the default language if no localization exists for the requested language.
1201            *
1202            * @param languageId the ID of the language
1203            * @param useDefault whether to use the default language if no localization exists for the requested language
1204            * @return the localized title of this layout
1205            */
1206            @Override
1207            public java.lang.String getTitle(java.lang.String languageId,
1208                    boolean useDefault) {
1209                    return _layout.getTitle(languageId, useDefault);
1210            }
1211    
1212            /**
1213            * Returns the localized title of this layout in the language. Uses the default language if no localization exists for the requested language.
1214            *
1215            * @param locale the locale of the language
1216            * @return the localized title of this layout
1217            */
1218            @Override
1219            public java.lang.String getTitle(java.util.Locale locale) {
1220                    return _layout.getTitle(locale);
1221            }
1222    
1223            /**
1224            * Returns the localized title of this layout in the language, optionally using the default language if no localization exists for the requested language.
1225            *
1226            * @param locale the local of the language
1227            * @param useDefault whether to use the default language if no localization exists for the requested language
1228            * @return the localized title of this layout. If <code>useDefault</code> is <code>false</code> and no localization exists for the requested language, an empty string will be returned.
1229            */
1230            @Override
1231            public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
1232                    return _layout.getTitle(locale, useDefault);
1233            }
1234    
1235            @Override
1236            public java.lang.String getTitleCurrentLanguageId() {
1237                    return _layout.getTitleCurrentLanguageId();
1238            }
1239    
1240            @Override
1241            public java.lang.String getTitleCurrentValue() {
1242                    return _layout.getTitleCurrentValue();
1243            }
1244    
1245            /**
1246            * Returns the type of this layout.
1247            *
1248            * @return the type of this layout
1249            */
1250            @Override
1251            public java.lang.String getType() {
1252                    return _layout.getType();
1253            }
1254    
1255            /**
1256            * Returns the type settings of this layout.
1257            *
1258            * @return the type settings of this layout
1259            */
1260            @Override
1261            public java.lang.String getTypeSettings() {
1262                    return _layout.getTypeSettings();
1263            }
1264    
1265            @Override
1266            public java.lang.String getTypeSettingsProperty(java.lang.String key) {
1267                    return _layout.getTypeSettingsProperty(key);
1268            }
1269    
1270            @Override
1271            public java.lang.String getTypeSettingsProperty(java.lang.String key,
1272                    java.lang.String defaultValue) {
1273                    return _layout.getTypeSettingsProperty(key, defaultValue);
1274            }
1275    
1276            /**
1277            * Returns the user name of this layout.
1278            *
1279            * @return the user name of this layout
1280            */
1281            @Override
1282            public java.lang.String getUserName() {
1283                    return _layout.getUserName();
1284            }
1285    
1286            /**
1287            * Returns the user uuid of this layout.
1288            *
1289            * @return the user uuid of this layout
1290            */
1291            @Override
1292            public java.lang.String getUserUuid() {
1293                    return _layout.getUserUuid();
1294            }
1295    
1296            /**
1297            * Returns the uuid of this layout.
1298            *
1299            * @return the uuid of this layout
1300            */
1301            @Override
1302            public java.lang.String getUuid() {
1303                    return _layout.getUuid();
1304            }
1305    
1306            @Override
1307            public java.lang.String toString() {
1308                    return _layout.toString();
1309            }
1310    
1311            @Override
1312            public java.lang.String toXmlString() {
1313                    return _layout.toXmlString();
1314            }
1315    
1316            @Override
1317            public java.lang.String[] getAvailableLanguageIds() {
1318                    return _layout.getAvailableLanguageIds();
1319            }
1320    
1321            /**
1322            * Returns the create date of this layout.
1323            *
1324            * @return the create date of this layout
1325            */
1326            @Override
1327            public Date getCreateDate() {
1328                    return _layout.getCreateDate();
1329            }
1330    
1331            /**
1332            * Returns the last publish date of this layout.
1333            *
1334            * @return the last publish date of this layout
1335            */
1336            @Override
1337            public Date getLastPublishDate() {
1338                    return _layout.getLastPublishDate();
1339            }
1340    
1341            /**
1342            * Returns the modified date of this layout.
1343            *
1344            * @return the modified date of this layout
1345            */
1346            @Override
1347            public Date getModifiedDate() {
1348                    return _layout.getModifiedDate();
1349            }
1350    
1351            /**
1352            * Returns all layouts that are direct or indirect children of the current
1353            * layout.
1354            *
1355            * @return the layouts that are direct or indirect children of the current
1356            layout
1357            */
1358            @Override
1359            public java.util.List<Layout> getAllChildren() {
1360                    return _layout.getAllChildren();
1361            }
1362    
1363            /**
1364            * Returns all parent layouts of the current layout. The list is retrieved
1365            * recursively with the direct parent layout listed first, and most distant
1366            * parent listed last.
1367            *
1368            * @return the current layout's list of parent layouts
1369            */
1370            @Override
1371            public java.util.List<Layout> getAncestors()
1372                    throws com.liferay.portal.kernel.exception.PortalException {
1373                    return _layout.getAncestors();
1374            }
1375    
1376            /**
1377            * Returns all child layouts of the current layout, independent of user
1378            * access permissions.
1379            *
1380            * @return the list of all child layouts
1381            */
1382            @Override
1383            public java.util.List<Layout> getChildren() {
1384                    return _layout.getChildren();
1385            }
1386    
1387            /**
1388            * Returns all child layouts of the current layout that the user has
1389            * permission to access.
1390            *
1391            * @param permissionChecker the user-specific context to check permissions
1392            * @return the list of all child layouts that the user has permission to
1393            access
1394            */
1395            @Override
1396            public java.util.List<Layout> getChildren(
1397                    com.liferay.portal.kernel.security.permission.PermissionChecker permissionChecker)
1398                    throws com.liferay.portal.kernel.exception.PortalException {
1399                    return _layout.getChildren(permissionChecker);
1400            }
1401    
1402            @Override
1403            public java.util.List<Portlet> getEmbeddedPortlets() {
1404                    return _layout.getEmbeddedPortlets();
1405            }
1406    
1407            @Override
1408            public java.util.List<Portlet> getEmbeddedPortlets(long groupId) {
1409                    return _layout.getEmbeddedPortlets(groupId);
1410            }
1411    
1412            /**
1413            * Returns a map of the locales and localized descriptions of this layout.
1414            *
1415            * @return the locales and localized descriptions of this layout
1416            */
1417            @Override
1418            public Map<java.util.Locale, java.lang.String> getDescriptionMap() {
1419                    return _layout.getDescriptionMap();
1420            }
1421    
1422            /**
1423            * Returns the friendly URLs for all configured locales.
1424            *
1425            * @return the friendly URLs for all configured locales
1426            */
1427            @Override
1428            public Map<java.util.Locale, java.lang.String> getFriendlyURLMap() {
1429                    return _layout.getFriendlyURLMap();
1430            }
1431    
1432            /**
1433            * Returns a map of the locales and localized keywordses of this layout.
1434            *
1435            * @return the locales and localized keywordses of this layout
1436            */
1437            @Override
1438            public Map<java.util.Locale, java.lang.String> getKeywordsMap() {
1439                    return _layout.getKeywordsMap();
1440            }
1441    
1442            /**
1443            * Returns a map of the locales and localized names of this layout.
1444            *
1445            * @return the locales and localized names of this layout
1446            */
1447            @Override
1448            public Map<java.util.Locale, java.lang.String> getNameMap() {
1449                    return _layout.getNameMap();
1450            }
1451    
1452            /**
1453            * Returns a map of the locales and localized robotses of this layout.
1454            *
1455            * @return the locales and localized robotses of this layout
1456            */
1457            @Override
1458            public Map<java.util.Locale, java.lang.String> getRobotsMap() {
1459                    return _layout.getRobotsMap();
1460            }
1461    
1462            /**
1463            * Returns a map of the locales and localized titles of this layout.
1464            *
1465            * @return the locales and localized titles of this layout
1466            */
1467            @Override
1468            public Map<java.util.Locale, java.lang.String> getTitleMap() {
1469                    return _layout.getTitleMap();
1470            }
1471    
1472            /**
1473            * Returns the ID of the topmost parent layout (e.g. n-th parent layout) of
1474            * the current layout.
1475            *
1476            * @return the ID of the topmost parent layout of the current layout
1477            */
1478            @Override
1479            public long getAncestorLayoutId()
1480                    throws com.liferay.portal.kernel.exception.PortalException {
1481                    return _layout.getAncestorLayoutId();
1482            }
1483    
1484            /**
1485            * Returns the plid of the topmost parent layout (e.g. n-th parent layout)
1486            * of the current layout.
1487            *
1488            * @return the plid of the topmost parent layout of the current layout
1489            */
1490            @Override
1491            public long getAncestorPlid()
1492                    throws com.liferay.portal.kernel.exception.PortalException {
1493                    return _layout.getAncestorPlid();
1494            }
1495    
1496            /**
1497            * Returns the company ID of this layout.
1498            *
1499            * @return the company ID of this layout
1500            */
1501            @Override
1502            public long getCompanyId() {
1503                    return _layout.getCompanyId();
1504            }
1505    
1506            /**
1507            * Returns the group ID of this layout.
1508            *
1509            * @return the group ID of this layout
1510            */
1511            @Override
1512            public long getGroupId() {
1513                    return _layout.getGroupId();
1514            }
1515    
1516            /**
1517            * Returns the icon image ID of this layout.
1518            *
1519            * @return the icon image ID of this layout
1520            */
1521            @Override
1522            public long getIconImageId() {
1523                    return _layout.getIconImageId();
1524            }
1525    
1526            /**
1527            * Returns the layout ID of this layout.
1528            *
1529            * @return the layout ID of this layout
1530            */
1531            @Override
1532            public long getLayoutId() {
1533                    return _layout.getLayoutId();
1534            }
1535    
1536            /**
1537            * Returns the mvcc version of this layout.
1538            *
1539            * @return the mvcc version of this layout
1540            */
1541            @Override
1542            public long getMvccVersion() {
1543                    return _layout.getMvccVersion();
1544            }
1545    
1546            /**
1547            * Returns the parent layout ID of this layout.
1548            *
1549            * @return the parent layout ID of this layout
1550            */
1551            @Override
1552            public long getParentLayoutId() {
1553                    return _layout.getParentLayoutId();
1554            }
1555    
1556            /**
1557            * Returns the current layout's parent plid.
1558            *
1559            * @return the current layout's parent plid, or <code>0</code> if the
1560            current layout is the topmost parent layout
1561            */
1562            @Override
1563            public long getParentPlid()
1564                    throws com.liferay.portal.kernel.exception.PortalException {
1565                    return _layout.getParentPlid();
1566            }
1567    
1568            /**
1569            * Returns the plid of this layout.
1570            *
1571            * @return the plid of this layout
1572            */
1573            @Override
1574            public long getPlid() {
1575                    return _layout.getPlid();
1576            }
1577    
1578            /**
1579            * Returns the primary key of this layout.
1580            *
1581            * @return the primary key of this layout
1582            */
1583            @Override
1584            public long getPrimaryKey() {
1585                    return _layout.getPrimaryKey();
1586            }
1587    
1588            /**
1589            * Returns the user ID of this layout.
1590            *
1591            * @return the user ID of this layout
1592            */
1593            @Override
1594            public long getUserId() {
1595                    return _layout.getUserId();
1596            }
1597    
1598            @Override
1599            public void persist() {
1600                    _layout.persist();
1601            }
1602    
1603            @Override
1604            public void prepareLocalizedFieldsForImport()
1605                    throws com.liferay.portal.kernel.exception.LocaleException {
1606                    _layout.prepareLocalizedFieldsForImport();
1607            }
1608    
1609            @Override
1610            public void prepareLocalizedFieldsForImport(
1611                    java.util.Locale defaultImportLocale)
1612                    throws com.liferay.portal.kernel.exception.LocaleException {
1613                    _layout.prepareLocalizedFieldsForImport(defaultImportLocale);
1614            }
1615    
1616            @Override
1617            public void setCachedModel(boolean cachedModel) {
1618                    _layout.setCachedModel(cachedModel);
1619            }
1620    
1621            /**
1622            * Sets the color scheme ID of this layout.
1623            *
1624            * @param colorSchemeId the color scheme ID of this layout
1625            */
1626            @Override
1627            public void setColorSchemeId(java.lang.String colorSchemeId) {
1628                    _layout.setColorSchemeId(colorSchemeId);
1629            }
1630    
1631            /**
1632            * Sets the company ID of this layout.
1633            *
1634            * @param companyId the company ID of this layout
1635            */
1636            @Override
1637            public void setCompanyId(long companyId) {
1638                    _layout.setCompanyId(companyId);
1639            }
1640    
1641            /**
1642            * Sets the create date of this layout.
1643            *
1644            * @param createDate the create date of this layout
1645            */
1646            @Override
1647            public void setCreateDate(Date createDate) {
1648                    _layout.setCreateDate(createDate);
1649            }
1650    
1651            /**
1652            * Sets the css of this layout.
1653            *
1654            * @param css the css of this layout
1655            */
1656            @Override
1657            public void setCss(java.lang.String css) {
1658                    _layout.setCss(css);
1659            }
1660    
1661            /**
1662            * Sets the description of this layout.
1663            *
1664            * @param description the description of this layout
1665            */
1666            @Override
1667            public void setDescription(java.lang.String description) {
1668                    _layout.setDescription(description);
1669            }
1670    
1671            /**
1672            * Sets the localized description of this layout in the language.
1673            *
1674            * @param description the localized description of this layout
1675            * @param locale the locale of the language
1676            */
1677            @Override
1678            public void setDescription(java.lang.String description,
1679                    java.util.Locale locale) {
1680                    _layout.setDescription(description, locale);
1681            }
1682    
1683            /**
1684            * Sets the localized description of this layout in the language, and sets the default locale.
1685            *
1686            * @param description the localized description of this layout
1687            * @param locale the locale of the language
1688            * @param defaultLocale the default locale
1689            */
1690            @Override
1691            public void setDescription(java.lang.String description,
1692                    java.util.Locale locale, java.util.Locale defaultLocale) {
1693                    _layout.setDescription(description, locale, defaultLocale);
1694            }
1695    
1696            @Override
1697            public void setDescriptionCurrentLanguageId(java.lang.String languageId) {
1698                    _layout.setDescriptionCurrentLanguageId(languageId);
1699            }
1700    
1701            /**
1702            * Sets the localized descriptions of this layout from the map of locales and localized descriptions.
1703            *
1704            * @param descriptionMap the locales and localized descriptions of this layout
1705            */
1706            @Override
1707            public void setDescriptionMap(
1708                    Map<java.util.Locale, java.lang.String> descriptionMap) {
1709                    _layout.setDescriptionMap(descriptionMap);
1710            }
1711    
1712            /**
1713            * Sets the localized descriptions of this layout from the map of locales and localized descriptions, and sets the default locale.
1714            *
1715            * @param descriptionMap the locales and localized descriptions of this layout
1716            * @param defaultLocale the default locale
1717            */
1718            @Override
1719            public void setDescriptionMap(
1720                    Map<java.util.Locale, java.lang.String> descriptionMap,
1721                    java.util.Locale defaultLocale) {
1722                    _layout.setDescriptionMap(descriptionMap, defaultLocale);
1723            }
1724    
1725            @Override
1726            public void setExpandoBridgeAttributes(BaseModel<?> baseModel) {
1727                    _layout.setExpandoBridgeAttributes(baseModel);
1728            }
1729    
1730            @Override
1731            public void setExpandoBridgeAttributes(ExpandoBridge expandoBridge) {
1732                    _layout.setExpandoBridgeAttributes(expandoBridge);
1733            }
1734    
1735            @Override
1736            public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
1737                    _layout.setExpandoBridgeAttributes(serviceContext);
1738            }
1739    
1740            /**
1741            * Sets the friendly u r l of this layout.
1742            *
1743            * @param friendlyURL the friendly u r l of this layout
1744            */
1745            @Override
1746            public void setFriendlyURL(java.lang.String friendlyURL) {
1747                    _layout.setFriendlyURL(friendlyURL);
1748            }
1749    
1750            /**
1751            * Sets the group ID of this layout.
1752            *
1753            * @param groupId the group ID of this layout
1754            */
1755            @Override
1756            public void setGroupId(long groupId) {
1757                    _layout.setGroupId(groupId);
1758            }
1759    
1760            /**
1761            * Sets whether this layout is hidden.
1762            *
1763            * @param hidden the hidden of this layout
1764            */
1765            @Override
1766            public void setHidden(boolean hidden) {
1767                    _layout.setHidden(hidden);
1768            }
1769    
1770            /**
1771            * Sets the icon image ID of this layout.
1772            *
1773            * @param iconImageId the icon image ID of this layout
1774            */
1775            @Override
1776            public void setIconImageId(long iconImageId) {
1777                    _layout.setIconImageId(iconImageId);
1778            }
1779    
1780            /**
1781            * Sets the keywords of this layout.
1782            *
1783            * @param keywords the keywords of this layout
1784            */
1785            @Override
1786            public void setKeywords(java.lang.String keywords) {
1787                    _layout.setKeywords(keywords);
1788            }
1789    
1790            /**
1791            * Sets the localized keywords of this layout in the language.
1792            *
1793            * @param keywords the localized keywords of this layout
1794            * @param locale the locale of the language
1795            */
1796            @Override
1797            public void setKeywords(java.lang.String keywords, java.util.Locale locale) {
1798                    _layout.setKeywords(keywords, locale);
1799            }
1800    
1801            /**
1802            * Sets the localized keywords of this layout in the language, and sets the default locale.
1803            *
1804            * @param keywords the localized keywords of this layout
1805            * @param locale the locale of the language
1806            * @param defaultLocale the default locale
1807            */
1808            @Override
1809            public void setKeywords(java.lang.String keywords, java.util.Locale locale,
1810                    java.util.Locale defaultLocale) {
1811                    _layout.setKeywords(keywords, locale, defaultLocale);
1812            }
1813    
1814            @Override
1815            public void setKeywordsCurrentLanguageId(java.lang.String languageId) {
1816                    _layout.setKeywordsCurrentLanguageId(languageId);
1817            }
1818    
1819            /**
1820            * Sets the localized keywordses of this layout from the map of locales and localized keywordses.
1821            *
1822            * @param keywordsMap the locales and localized keywordses of this layout
1823            */
1824            @Override
1825            public void setKeywordsMap(
1826                    Map<java.util.Locale, java.lang.String> keywordsMap) {
1827                    _layout.setKeywordsMap(keywordsMap);
1828            }
1829    
1830            /**
1831            * Sets the localized keywordses of this layout from the map of locales and localized keywordses, and sets the default locale.
1832            *
1833            * @param keywordsMap the locales and localized keywordses of this layout
1834            * @param defaultLocale the default locale
1835            */
1836            @Override
1837            public void setKeywordsMap(
1838                    Map<java.util.Locale, java.lang.String> keywordsMap,
1839                    java.util.Locale defaultLocale) {
1840                    _layout.setKeywordsMap(keywordsMap, defaultLocale);
1841            }
1842    
1843            /**
1844            * Sets the last publish date of this layout.
1845            *
1846            * @param lastPublishDate the last publish date of this layout
1847            */
1848            @Override
1849            public void setLastPublishDate(Date lastPublishDate) {
1850                    _layout.setLastPublishDate(lastPublishDate);
1851            }
1852    
1853            /**
1854            * Sets the layout ID of this layout.
1855            *
1856            * @param layoutId the layout ID of this layout
1857            */
1858            @Override
1859            public void setLayoutId(long layoutId) {
1860                    _layout.setLayoutId(layoutId);
1861            }
1862    
1863            /**
1864            * Sets whether this layout is layout prototype link enabled.
1865            *
1866            * @param layoutPrototypeLinkEnabled the layout prototype link enabled of this layout
1867            */
1868            @Override
1869            public void setLayoutPrototypeLinkEnabled(
1870                    boolean layoutPrototypeLinkEnabled) {
1871                    _layout.setLayoutPrototypeLinkEnabled(layoutPrototypeLinkEnabled);
1872            }
1873    
1874            /**
1875            * Sets the layout prototype uuid of this layout.
1876            *
1877            * @param layoutPrototypeUuid the layout prototype uuid of this layout
1878            */
1879            @Override
1880            public void setLayoutPrototypeUuid(java.lang.String layoutPrototypeUuid) {
1881                    _layout.setLayoutPrototypeUuid(layoutPrototypeUuid);
1882            }
1883    
1884            @Override
1885            public void setLayoutSet(LayoutSet layoutSet) {
1886                    _layout.setLayoutSet(layoutSet);
1887            }
1888    
1889            /**
1890            * Sets the modified date of this layout.
1891            *
1892            * @param modifiedDate the modified date of this layout
1893            */
1894            @Override
1895            public void setModifiedDate(Date modifiedDate) {
1896                    _layout.setModifiedDate(modifiedDate);
1897            }
1898    
1899            /**
1900            * Sets the mvcc version of this layout.
1901            *
1902            * @param mvccVersion the mvcc version of this layout
1903            */
1904            @Override
1905            public void setMvccVersion(long mvccVersion) {
1906                    _layout.setMvccVersion(mvccVersion);
1907            }
1908    
1909            /**
1910            * Sets the name of this layout.
1911            *
1912            * @param name the name of this layout
1913            */
1914            @Override
1915            public void setName(java.lang.String name) {
1916                    _layout.setName(name);
1917            }
1918    
1919            /**
1920            * Sets the localized name of this layout in the language.
1921            *
1922            * @param name the localized name of this layout
1923            * @param locale the locale of the language
1924            */
1925            @Override
1926            public void setName(java.lang.String name, java.util.Locale locale) {
1927                    _layout.setName(name, locale);
1928            }
1929    
1930            /**
1931            * Sets the localized name of this layout in the language, and sets the default locale.
1932            *
1933            * @param name the localized name of this layout
1934            * @param locale the locale of the language
1935            * @param defaultLocale the default locale
1936            */
1937            @Override
1938            public void setName(java.lang.String name, java.util.Locale locale,
1939                    java.util.Locale defaultLocale) {
1940                    _layout.setName(name, locale, defaultLocale);
1941            }
1942    
1943            @Override
1944            public void setNameCurrentLanguageId(java.lang.String languageId) {
1945                    _layout.setNameCurrentLanguageId(languageId);
1946            }
1947    
1948            /**
1949            * Sets the localized names of this layout from the map of locales and localized names.
1950            *
1951            * @param nameMap the locales and localized names of this layout
1952            */
1953            @Override
1954            public void setNameMap(Map<java.util.Locale, java.lang.String> nameMap) {
1955                    _layout.setNameMap(nameMap);
1956            }
1957    
1958            /**
1959            * Sets the localized names of this layout from the map of locales and localized names, and sets the default locale.
1960            *
1961            * @param nameMap the locales and localized names of this layout
1962            * @param defaultLocale the default locale
1963            */
1964            @Override
1965            public void setNameMap(Map<java.util.Locale, java.lang.String> nameMap,
1966                    java.util.Locale defaultLocale) {
1967                    _layout.setNameMap(nameMap, defaultLocale);
1968            }
1969    
1970            @Override
1971            public void setNew(boolean n) {
1972                    _layout.setNew(n);
1973            }
1974    
1975            /**
1976            * Sets the parent layout ID of this layout.
1977            *
1978            * @param parentLayoutId the parent layout ID of this layout
1979            */
1980            @Override
1981            public void setParentLayoutId(long parentLayoutId) {
1982                    _layout.setParentLayoutId(parentLayoutId);
1983            }
1984    
1985            /**
1986            * Sets the plid of this layout.
1987            *
1988            * @param plid the plid of this layout
1989            */
1990            @Override
1991            public void setPlid(long plid) {
1992                    _layout.setPlid(plid);
1993            }
1994    
1995            /**
1996            * Sets the primary key of this layout.
1997            *
1998            * @param primaryKey the primary key of this layout
1999            */
2000            @Override
2001            public void setPrimaryKey(long primaryKey) {
2002                    _layout.setPrimaryKey(primaryKey);
2003            }
2004    
2005            @Override
2006            public void setPrimaryKeyObj(Serializable primaryKeyObj) {
2007                    _layout.setPrimaryKeyObj(primaryKeyObj);
2008            }
2009    
2010            /**
2011            * Sets the priority of this layout.
2012            *
2013            * @param priority the priority of this layout
2014            */
2015            @Override
2016            public void setPriority(int priority) {
2017                    _layout.setPriority(priority);
2018            }
2019    
2020            /**
2021            * Sets whether this layout is private layout.
2022            *
2023            * @param privateLayout the private layout of this layout
2024            */
2025            @Override
2026            public void setPrivateLayout(boolean privateLayout) {
2027                    _layout.setPrivateLayout(privateLayout);
2028            }
2029    
2030            /**
2031            * Sets the robots of this layout.
2032            *
2033            * @param robots the robots of this layout
2034            */
2035            @Override
2036            public void setRobots(java.lang.String robots) {
2037                    _layout.setRobots(robots);
2038            }
2039    
2040            /**
2041            * Sets the localized robots of this layout in the language.
2042            *
2043            * @param robots the localized robots of this layout
2044            * @param locale the locale of the language
2045            */
2046            @Override
2047            public void setRobots(java.lang.String robots, java.util.Locale locale) {
2048                    _layout.setRobots(robots, locale);
2049            }
2050    
2051            /**
2052            * Sets the localized robots of this layout in the language, and sets the default locale.
2053            *
2054            * @param robots the localized robots of this layout
2055            * @param locale the locale of the language
2056            * @param defaultLocale the default locale
2057            */
2058            @Override
2059            public void setRobots(java.lang.String robots, java.util.Locale locale,
2060                    java.util.Locale defaultLocale) {
2061                    _layout.setRobots(robots, locale, defaultLocale);
2062            }
2063    
2064            @Override
2065            public void setRobotsCurrentLanguageId(java.lang.String languageId) {
2066                    _layout.setRobotsCurrentLanguageId(languageId);
2067            }
2068    
2069            /**
2070            * Sets the localized robotses of this layout from the map of locales and localized robotses.
2071            *
2072            * @param robotsMap the locales and localized robotses of this layout
2073            */
2074            @Override
2075            public void setRobotsMap(Map<java.util.Locale, java.lang.String> robotsMap) {
2076                    _layout.setRobotsMap(robotsMap);
2077            }
2078    
2079            /**
2080            * Sets the localized robotses of this layout from the map of locales and localized robotses, and sets the default locale.
2081            *
2082            * @param robotsMap the locales and localized robotses of this layout
2083            * @param defaultLocale the default locale
2084            */
2085            @Override
2086            public void setRobotsMap(
2087                    Map<java.util.Locale, java.lang.String> robotsMap,
2088                    java.util.Locale defaultLocale) {
2089                    _layout.setRobotsMap(robotsMap, defaultLocale);
2090            }
2091    
2092            /**
2093            * Sets the source prototype layout uuid of this layout.
2094            *
2095            * @param sourcePrototypeLayoutUuid the source prototype layout uuid of this layout
2096            */
2097            @Override
2098            public void setSourcePrototypeLayoutUuid(
2099                    java.lang.String sourcePrototypeLayoutUuid) {
2100                    _layout.setSourcePrototypeLayoutUuid(sourcePrototypeLayoutUuid);
2101            }
2102    
2103            /**
2104            * Sets the theme ID of this layout.
2105            *
2106            * @param themeId the theme ID of this layout
2107            */
2108            @Override
2109            public void setThemeId(java.lang.String themeId) {
2110                    _layout.setThemeId(themeId);
2111            }
2112    
2113            /**
2114            * Sets the title of this layout.
2115            *
2116            * @param title the title of this layout
2117            */
2118            @Override
2119            public void setTitle(java.lang.String title) {
2120                    _layout.setTitle(title);
2121            }
2122    
2123            /**
2124            * Sets the localized title of this layout in the language.
2125            *
2126            * @param title the localized title of this layout
2127            * @param locale the locale of the language
2128            */
2129            @Override
2130            public void setTitle(java.lang.String title, java.util.Locale locale) {
2131                    _layout.setTitle(title, locale);
2132            }
2133    
2134            /**
2135            * Sets the localized title of this layout in the language, and sets the default locale.
2136            *
2137            * @param title the localized title of this layout
2138            * @param locale the locale of the language
2139            * @param defaultLocale the default locale
2140            */
2141            @Override
2142            public void setTitle(java.lang.String title, java.util.Locale locale,
2143                    java.util.Locale defaultLocale) {
2144                    _layout.setTitle(title, locale, defaultLocale);
2145            }
2146    
2147            @Override
2148            public void setTitleCurrentLanguageId(java.lang.String languageId) {
2149                    _layout.setTitleCurrentLanguageId(languageId);
2150            }
2151    
2152            /**
2153            * Sets the localized titles of this layout from the map of locales and localized titles.
2154            *
2155            * @param titleMap the locales and localized titles of this layout
2156            */
2157            @Override
2158            public void setTitleMap(Map<java.util.Locale, java.lang.String> titleMap) {
2159                    _layout.setTitleMap(titleMap);
2160            }
2161    
2162            /**
2163            * Sets the localized titles of this layout from the map of locales and localized titles, and sets the default locale.
2164            *
2165            * @param titleMap the locales and localized titles of this layout
2166            * @param defaultLocale the default locale
2167            */
2168            @Override
2169            public void setTitleMap(Map<java.util.Locale, java.lang.String> titleMap,
2170                    java.util.Locale defaultLocale) {
2171                    _layout.setTitleMap(titleMap, defaultLocale);
2172            }
2173    
2174            /**
2175            * Sets the type of this layout.
2176            *
2177            * @param type the type of this layout
2178            */
2179            @Override
2180            public void setType(java.lang.String type) {
2181                    _layout.setType(type);
2182            }
2183    
2184            /**
2185            * Sets the type settings of this layout.
2186            *
2187            * @param typeSettings the type settings of this layout
2188            */
2189            @Override
2190            public void setTypeSettings(java.lang.String typeSettings) {
2191                    _layout.setTypeSettings(typeSettings);
2192            }
2193    
2194            @Override
2195            public void setTypeSettingsProperties(
2196                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties) {
2197                    _layout.setTypeSettingsProperties(typeSettingsProperties);
2198            }
2199    
2200            /**
2201            * Sets the user ID of this layout.
2202            *
2203            * @param userId the user ID of this layout
2204            */
2205            @Override
2206            public void setUserId(long userId) {
2207                    _layout.setUserId(userId);
2208            }
2209    
2210            /**
2211            * Sets the user name of this layout.
2212            *
2213            * @param userName the user name of this layout
2214            */
2215            @Override
2216            public void setUserName(java.lang.String userName) {
2217                    _layout.setUserName(userName);
2218            }
2219    
2220            /**
2221            * Sets the user uuid of this layout.
2222            *
2223            * @param userUuid the user uuid of this layout
2224            */
2225            @Override
2226            public void setUserUuid(java.lang.String userUuid) {
2227                    _layout.setUserUuid(userUuid);
2228            }
2229    
2230            /**
2231            * Sets the uuid of this layout.
2232            *
2233            * @param uuid the uuid of this layout
2234            */
2235            @Override
2236            public void setUuid(java.lang.String uuid) {
2237                    _layout.setUuid(uuid);
2238            }
2239    
2240            @Override
2241            public boolean equals(Object obj) {
2242                    if (this == obj) {
2243                            return true;
2244                    }
2245    
2246                    if (!(obj instanceof LayoutWrapper)) {
2247                            return false;
2248                    }
2249    
2250                    LayoutWrapper layoutWrapper = (LayoutWrapper)obj;
2251    
2252                    if (Objects.equals(_layout, layoutWrapper._layout)) {
2253                            return true;
2254                    }
2255    
2256                    return false;
2257            }
2258    
2259            @Override
2260            public StagedModelType getStagedModelType() {
2261                    return _layout.getStagedModelType();
2262            }
2263    
2264            @Override
2265            public Layout getWrappedModel() {
2266                    return _layout;
2267            }
2268    
2269            @Override
2270            public boolean isEntityCacheEnabled() {
2271                    return _layout.isEntityCacheEnabled();
2272            }
2273    
2274            @Override
2275            public boolean isFinderCacheEnabled() {
2276                    return _layout.isFinderCacheEnabled();
2277            }
2278    
2279            @Override
2280            public void resetOriginalValues() {
2281                    _layout.resetOriginalValues();
2282            }
2283    
2284            private final Layout _layout;
2285    }