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