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 isTypeURL() {
1597                    return _layout.isTypeURL();
1598            }
1599    
1600            @Override
1601            public boolean matches(javax.servlet.http.HttpServletRequest request,
1602                    java.lang.String friendlyURL) {
1603                    return _layout.matches(request, friendlyURL);
1604            }
1605    
1606            @Override
1607            public void persist() {
1608                    _layout.persist();
1609            }
1610    
1611            @Override
1612            public void prepareLocalizedFieldsForImport()
1613                    throws com.liferay.portal.LocaleException {
1614                    _layout.prepareLocalizedFieldsForImport();
1615            }
1616    
1617            @Override
1618            public void prepareLocalizedFieldsForImport(
1619                    java.util.Locale defaultImportLocale)
1620                    throws com.liferay.portal.LocaleException {
1621                    _layout.prepareLocalizedFieldsForImport(defaultImportLocale);
1622            }
1623    
1624            @Override
1625            public void setCachedModel(boolean cachedModel) {
1626                    _layout.setCachedModel(cachedModel);
1627            }
1628    
1629            /**
1630            * Sets the color scheme ID of this layout.
1631            *
1632            * @param colorSchemeId the color scheme ID of this layout
1633            */
1634            @Override
1635            public void setColorSchemeId(java.lang.String colorSchemeId) {
1636                    _layout.setColorSchemeId(colorSchemeId);
1637            }
1638    
1639            /**
1640            * Sets the company ID of this layout.
1641            *
1642            * @param companyId the company ID of this layout
1643            */
1644            @Override
1645            public void setCompanyId(long companyId) {
1646                    _layout.setCompanyId(companyId);
1647            }
1648    
1649            /**
1650            * Sets the create date of this layout.
1651            *
1652            * @param createDate the create date of this layout
1653            */
1654            @Override
1655            public void setCreateDate(Date createDate) {
1656                    _layout.setCreateDate(createDate);
1657            }
1658    
1659            /**
1660            * Sets the css of this layout.
1661            *
1662            * @param css the css of this layout
1663            */
1664            @Override
1665            public void setCss(java.lang.String css) {
1666                    _layout.setCss(css);
1667            }
1668    
1669            /**
1670            * Sets the description of this layout.
1671            *
1672            * @param description the description of this layout
1673            */
1674            @Override
1675            public void setDescription(java.lang.String description) {
1676                    _layout.setDescription(description);
1677            }
1678    
1679            /**
1680            * Sets the localized description of this layout in the language.
1681            *
1682            * @param description the localized description of this layout
1683            * @param locale the locale of the language
1684            */
1685            @Override
1686            public void setDescription(java.lang.String description,
1687                    java.util.Locale locale) {
1688                    _layout.setDescription(description, locale);
1689            }
1690    
1691            /**
1692            * Sets the localized description of this layout in the language, and sets the default locale.
1693            *
1694            * @param description the localized description of this layout
1695            * @param locale the locale of the language
1696            * @param defaultLocale the default locale
1697            */
1698            @Override
1699            public void setDescription(java.lang.String description,
1700                    java.util.Locale locale, java.util.Locale defaultLocale) {
1701                    _layout.setDescription(description, locale, defaultLocale);
1702            }
1703    
1704            @Override
1705            public void setDescriptionCurrentLanguageId(java.lang.String languageId) {
1706                    _layout.setDescriptionCurrentLanguageId(languageId);
1707            }
1708    
1709            /**
1710            * Sets the localized descriptions of this layout from the map of locales and localized descriptions.
1711            *
1712            * @param descriptionMap the locales and localized descriptions of this layout
1713            */
1714            @Override
1715            public void setDescriptionMap(
1716                    Map<java.util.Locale, java.lang.String> descriptionMap) {
1717                    _layout.setDescriptionMap(descriptionMap);
1718            }
1719    
1720            /**
1721            * Sets the localized descriptions of this layout from the map of locales and localized descriptions, and sets the default locale.
1722            *
1723            * @param descriptionMap the locales and localized descriptions of this layout
1724            * @param defaultLocale the default locale
1725            */
1726            @Override
1727            public void setDescriptionMap(
1728                    Map<java.util.Locale, java.lang.String> descriptionMap,
1729                    java.util.Locale defaultLocale) {
1730                    _layout.setDescriptionMap(descriptionMap, defaultLocale);
1731            }
1732    
1733            @Override
1734            public void setExpandoBridgeAttributes(BaseModel<?> baseModel) {
1735                    _layout.setExpandoBridgeAttributes(baseModel);
1736            }
1737    
1738            @Override
1739            public void setExpandoBridgeAttributes(
1740                    com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
1741                    _layout.setExpandoBridgeAttributes(expandoBridge);
1742            }
1743    
1744            @Override
1745            public void setExpandoBridgeAttributes(
1746                    com.liferay.portal.service.ServiceContext serviceContext) {
1747                    _layout.setExpandoBridgeAttributes(serviceContext);
1748            }
1749    
1750            /**
1751            * Sets the friendly u r l of this layout.
1752            *
1753            * @param friendlyURL the friendly u r l of this layout
1754            */
1755            @Override
1756            public void setFriendlyURL(java.lang.String friendlyURL) {
1757                    _layout.setFriendlyURL(friendlyURL);
1758            }
1759    
1760            /**
1761            * Sets the group ID of this layout.
1762            *
1763            * @param groupId the group ID of this layout
1764            */
1765            @Override
1766            public void setGroupId(long groupId) {
1767                    _layout.setGroupId(groupId);
1768            }
1769    
1770            /**
1771            * Sets whether this layout is hidden.
1772            *
1773            * @param hidden the hidden of this layout
1774            */
1775            @Override
1776            public void setHidden(boolean hidden) {
1777                    _layout.setHidden(hidden);
1778            }
1779    
1780            /**
1781            * Sets the icon image ID of this layout.
1782            *
1783            * @param iconImageId the icon image ID of this layout
1784            */
1785            @Override
1786            public void setIconImageId(long iconImageId) {
1787                    _layout.setIconImageId(iconImageId);
1788            }
1789    
1790            /**
1791            * Sets the keywords of this layout.
1792            *
1793            * @param keywords the keywords of this layout
1794            */
1795            @Override
1796            public void setKeywords(java.lang.String keywords) {
1797                    _layout.setKeywords(keywords);
1798            }
1799    
1800            /**
1801            * Sets the localized keywords of this layout in the language.
1802            *
1803            * @param keywords the localized keywords of this layout
1804            * @param locale the locale of the language
1805            */
1806            @Override
1807            public void setKeywords(java.lang.String keywords, java.util.Locale locale) {
1808                    _layout.setKeywords(keywords, locale);
1809            }
1810    
1811            /**
1812            * Sets the localized keywords of this layout in the language, and sets the default locale.
1813            *
1814            * @param keywords the localized keywords of this layout
1815            * @param locale the locale of the language
1816            * @param defaultLocale the default locale
1817            */
1818            @Override
1819            public void setKeywords(java.lang.String keywords, java.util.Locale locale,
1820                    java.util.Locale defaultLocale) {
1821                    _layout.setKeywords(keywords, locale, defaultLocale);
1822            }
1823    
1824            @Override
1825            public void setKeywordsCurrentLanguageId(java.lang.String languageId) {
1826                    _layout.setKeywordsCurrentLanguageId(languageId);
1827            }
1828    
1829            /**
1830            * Sets the localized keywordses of this layout from the map of locales and localized keywordses.
1831            *
1832            * @param keywordsMap the locales and localized keywordses of this layout
1833            */
1834            @Override
1835            public void setKeywordsMap(
1836                    Map<java.util.Locale, java.lang.String> keywordsMap) {
1837                    _layout.setKeywordsMap(keywordsMap);
1838            }
1839    
1840            /**
1841            * Sets the localized keywordses of this layout from the map of locales and localized keywordses, and sets the default locale.
1842            *
1843            * @param keywordsMap the locales and localized keywordses of this layout
1844            * @param defaultLocale the default locale
1845            */
1846            @Override
1847            public void setKeywordsMap(
1848                    Map<java.util.Locale, java.lang.String> keywordsMap,
1849                    java.util.Locale defaultLocale) {
1850                    _layout.setKeywordsMap(keywordsMap, defaultLocale);
1851            }
1852    
1853            /**
1854            * Sets the last publish date of this layout.
1855            *
1856            * @param lastPublishDate the last publish date of this layout
1857            */
1858            @Override
1859            public void setLastPublishDate(Date lastPublishDate) {
1860                    _layout.setLastPublishDate(lastPublishDate);
1861            }
1862    
1863            /**
1864            * Sets the layout ID of this layout.
1865            *
1866            * @param layoutId the layout ID of this layout
1867            */
1868            @Override
1869            public void setLayoutId(long layoutId) {
1870                    _layout.setLayoutId(layoutId);
1871            }
1872    
1873            /**
1874            * Sets whether this layout is layout prototype link enabled.
1875            *
1876            * @param layoutPrototypeLinkEnabled the layout prototype link enabled of this layout
1877            */
1878            @Override
1879            public void setLayoutPrototypeLinkEnabled(
1880                    boolean layoutPrototypeLinkEnabled) {
1881                    _layout.setLayoutPrototypeLinkEnabled(layoutPrototypeLinkEnabled);
1882            }
1883    
1884            /**
1885            * Sets the layout prototype uuid of this layout.
1886            *
1887            * @param layoutPrototypeUuid the layout prototype uuid of this layout
1888            */
1889            @Override
1890            public void setLayoutPrototypeUuid(java.lang.String layoutPrototypeUuid) {
1891                    _layout.setLayoutPrototypeUuid(layoutPrototypeUuid);
1892            }
1893    
1894            @Override
1895            public void setLayoutSet(com.liferay.portal.model.LayoutSet layoutSet) {
1896                    _layout.setLayoutSet(layoutSet);
1897            }
1898    
1899            /**
1900            * Sets the modified date of this layout.
1901            *
1902            * @param modifiedDate the modified date of this layout
1903            */
1904            @Override
1905            public void setModifiedDate(Date modifiedDate) {
1906                    _layout.setModifiedDate(modifiedDate);
1907            }
1908    
1909            /**
1910            * Sets the mvcc version of this layout.
1911            *
1912            * @param mvccVersion the mvcc version of this layout
1913            */
1914            @Override
1915            public void setMvccVersion(long mvccVersion) {
1916                    _layout.setMvccVersion(mvccVersion);
1917            }
1918    
1919            /**
1920            * Sets the name of this layout.
1921            *
1922            * @param name the name of this layout
1923            */
1924            @Override
1925            public void setName(java.lang.String name) {
1926                    _layout.setName(name);
1927            }
1928    
1929            /**
1930            * Sets the localized name of this layout in the language.
1931            *
1932            * @param name the localized name of this layout
1933            * @param locale the locale of the language
1934            */
1935            @Override
1936            public void setName(java.lang.String name, java.util.Locale locale) {
1937                    _layout.setName(name, locale);
1938            }
1939    
1940            /**
1941            * Sets the localized name of this layout in the language, and sets the default locale.
1942            *
1943            * @param name the localized name of this layout
1944            * @param locale the locale of the language
1945            * @param defaultLocale the default locale
1946            */
1947            @Override
1948            public void setName(java.lang.String name, java.util.Locale locale,
1949                    java.util.Locale defaultLocale) {
1950                    _layout.setName(name, locale, defaultLocale);
1951            }
1952    
1953            @Override
1954            public void setNameCurrentLanguageId(java.lang.String languageId) {
1955                    _layout.setNameCurrentLanguageId(languageId);
1956            }
1957    
1958            /**
1959            * Sets the localized names of this layout from the map of locales and localized names.
1960            *
1961            * @param nameMap the locales and localized names of this layout
1962            */
1963            @Override
1964            public void setNameMap(Map<java.util.Locale, java.lang.String> nameMap) {
1965                    _layout.setNameMap(nameMap);
1966            }
1967    
1968            /**
1969            * Sets the localized names of this layout from the map of locales and localized names, and sets the default locale.
1970            *
1971            * @param nameMap the locales and localized names of this layout
1972            * @param defaultLocale the default locale
1973            */
1974            @Override
1975            public void setNameMap(Map<java.util.Locale, java.lang.String> nameMap,
1976                    java.util.Locale defaultLocale) {
1977                    _layout.setNameMap(nameMap, defaultLocale);
1978            }
1979    
1980            @Override
1981            public void setNew(boolean n) {
1982                    _layout.setNew(n);
1983            }
1984    
1985            /**
1986            * Sets the parent layout ID of this layout.
1987            *
1988            * @param parentLayoutId the parent layout ID of this layout
1989            */
1990            @Override
1991            public void setParentLayoutId(long parentLayoutId) {
1992                    _layout.setParentLayoutId(parentLayoutId);
1993            }
1994    
1995            /**
1996            * Sets the plid of this layout.
1997            *
1998            * @param plid the plid of this layout
1999            */
2000            @Override
2001            public void setPlid(long plid) {
2002                    _layout.setPlid(plid);
2003            }
2004    
2005            /**
2006            * Sets the primary key of this layout.
2007            *
2008            * @param primaryKey the primary key of this layout
2009            */
2010            @Override
2011            public void setPrimaryKey(long primaryKey) {
2012                    _layout.setPrimaryKey(primaryKey);
2013            }
2014    
2015            @Override
2016            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
2017                    _layout.setPrimaryKeyObj(primaryKeyObj);
2018            }
2019    
2020            /**
2021            * Sets the priority of this layout.
2022            *
2023            * @param priority the priority of this layout
2024            */
2025            @Override
2026            public void setPriority(int priority) {
2027                    _layout.setPriority(priority);
2028            }
2029    
2030            /**
2031            * Sets whether this layout is private layout.
2032            *
2033            * @param privateLayout the private layout of this layout
2034            */
2035            @Override
2036            public void setPrivateLayout(boolean privateLayout) {
2037                    _layout.setPrivateLayout(privateLayout);
2038            }
2039    
2040            /**
2041            * Sets the robots of this layout.
2042            *
2043            * @param robots the robots of this layout
2044            */
2045            @Override
2046            public void setRobots(java.lang.String robots) {
2047                    _layout.setRobots(robots);
2048            }
2049    
2050            /**
2051            * Sets the localized robots of this layout in the language.
2052            *
2053            * @param robots the localized robots of this layout
2054            * @param locale the locale of the language
2055            */
2056            @Override
2057            public void setRobots(java.lang.String robots, java.util.Locale locale) {
2058                    _layout.setRobots(robots, locale);
2059            }
2060    
2061            /**
2062            * Sets the localized robots of this layout in the language, and sets the default locale.
2063            *
2064            * @param robots the localized robots of this layout
2065            * @param locale the locale of the language
2066            * @param defaultLocale the default locale
2067            */
2068            @Override
2069            public void setRobots(java.lang.String robots, java.util.Locale locale,
2070                    java.util.Locale defaultLocale) {
2071                    _layout.setRobots(robots, locale, defaultLocale);
2072            }
2073    
2074            @Override
2075            public void setRobotsCurrentLanguageId(java.lang.String languageId) {
2076                    _layout.setRobotsCurrentLanguageId(languageId);
2077            }
2078    
2079            /**
2080            * Sets the localized robotses of this layout from the map of locales and localized robotses.
2081            *
2082            * @param robotsMap the locales and localized robotses of this layout
2083            */
2084            @Override
2085            public void setRobotsMap(Map<java.util.Locale, java.lang.String> robotsMap) {
2086                    _layout.setRobotsMap(robotsMap);
2087            }
2088    
2089            /**
2090            * Sets the localized robotses of this layout from the map of locales and localized robotses, and sets the default locale.
2091            *
2092            * @param robotsMap the locales and localized robotses of this layout
2093            * @param defaultLocale the default locale
2094            */
2095            @Override
2096            public void setRobotsMap(
2097                    Map<java.util.Locale, java.lang.String> robotsMap,
2098                    java.util.Locale defaultLocale) {
2099                    _layout.setRobotsMap(robotsMap, defaultLocale);
2100            }
2101    
2102            /**
2103            * Sets the source prototype layout uuid of this layout.
2104            *
2105            * @param sourcePrototypeLayoutUuid the source prototype layout uuid of this layout
2106            */
2107            @Override
2108            public void setSourcePrototypeLayoutUuid(
2109                    java.lang.String sourcePrototypeLayoutUuid) {
2110                    _layout.setSourcePrototypeLayoutUuid(sourcePrototypeLayoutUuid);
2111            }
2112    
2113            /**
2114            * Sets the theme ID of this layout.
2115            *
2116            * @param themeId the theme ID of this layout
2117            */
2118            @Override
2119            public void setThemeId(java.lang.String themeId) {
2120                    _layout.setThemeId(themeId);
2121            }
2122    
2123            /**
2124            * Sets the title of this layout.
2125            *
2126            * @param title the title of this layout
2127            */
2128            @Override
2129            public void setTitle(java.lang.String title) {
2130                    _layout.setTitle(title);
2131            }
2132    
2133            /**
2134            * Sets the localized title of this layout in the language.
2135            *
2136            * @param title the localized title of this layout
2137            * @param locale the locale of the language
2138            */
2139            @Override
2140            public void setTitle(java.lang.String title, java.util.Locale locale) {
2141                    _layout.setTitle(title, locale);
2142            }
2143    
2144            /**
2145            * Sets the localized title of this layout in the language, and sets the default locale.
2146            *
2147            * @param title the localized title of this layout
2148            * @param locale the locale of the language
2149            * @param defaultLocale the default locale
2150            */
2151            @Override
2152            public void setTitle(java.lang.String title, java.util.Locale locale,
2153                    java.util.Locale defaultLocale) {
2154                    _layout.setTitle(title, locale, defaultLocale);
2155            }
2156    
2157            @Override
2158            public void setTitleCurrentLanguageId(java.lang.String languageId) {
2159                    _layout.setTitleCurrentLanguageId(languageId);
2160            }
2161    
2162            /**
2163            * Sets the localized titles of this layout from the map of locales and localized titles.
2164            *
2165            * @param titleMap the locales and localized titles of this layout
2166            */
2167            @Override
2168            public void setTitleMap(Map<java.util.Locale, java.lang.String> titleMap) {
2169                    _layout.setTitleMap(titleMap);
2170            }
2171    
2172            /**
2173            * Sets the localized titles of this layout from the map of locales and localized titles, and sets the default locale.
2174            *
2175            * @param titleMap the locales and localized titles of this layout
2176            * @param defaultLocale the default locale
2177            */
2178            @Override
2179            public void setTitleMap(Map<java.util.Locale, java.lang.String> titleMap,
2180                    java.util.Locale defaultLocale) {
2181                    _layout.setTitleMap(titleMap, defaultLocale);
2182            }
2183    
2184            /**
2185            * Sets the type of this layout.
2186            *
2187            * @param type the type of this layout
2188            */
2189            @Override
2190            public void setType(java.lang.String type) {
2191                    _layout.setType(type);
2192            }
2193    
2194            /**
2195            * Sets the type settings of this layout.
2196            *
2197            * @param typeSettings the type settings of this layout
2198            */
2199            @Override
2200            public void setTypeSettings(java.lang.String typeSettings) {
2201                    _layout.setTypeSettings(typeSettings);
2202            }
2203    
2204            @Override
2205            public void setTypeSettingsProperties(
2206                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties) {
2207                    _layout.setTypeSettingsProperties(typeSettingsProperties);
2208            }
2209    
2210            /**
2211            * Sets the user ID of this layout.
2212            *
2213            * @param userId the user ID of this layout
2214            */
2215            @Override
2216            public void setUserId(long userId) {
2217                    _layout.setUserId(userId);
2218            }
2219    
2220            /**
2221            * Sets the user name of this layout.
2222            *
2223            * @param userName the user name of this layout
2224            */
2225            @Override
2226            public void setUserName(java.lang.String userName) {
2227                    _layout.setUserName(userName);
2228            }
2229    
2230            /**
2231            * Sets the user uuid of this layout.
2232            *
2233            * @param userUuid the user uuid of this layout
2234            */
2235            @Override
2236            public void setUserUuid(java.lang.String userUuid) {
2237                    _layout.setUserUuid(userUuid);
2238            }
2239    
2240            /**
2241            * Sets the uuid of this layout.
2242            *
2243            * @param uuid the uuid of this layout
2244            */
2245            @Override
2246            public void setUuid(java.lang.String uuid) {
2247                    _layout.setUuid(uuid);
2248            }
2249    
2250            /**
2251            * Sets the wap color scheme ID of this layout.
2252            *
2253            * @param wapColorSchemeId the wap color scheme ID of this layout
2254            */
2255            @Override
2256            public void setWapColorSchemeId(java.lang.String wapColorSchemeId) {
2257                    _layout.setWapColorSchemeId(wapColorSchemeId);
2258            }
2259    
2260            /**
2261            * Sets the wap theme ID of this layout.
2262            *
2263            * @param wapThemeId the wap theme ID of this layout
2264            */
2265            @Override
2266            public void setWapThemeId(java.lang.String wapThemeId) {
2267                    _layout.setWapThemeId(wapThemeId);
2268            }
2269    
2270            @Override
2271            public CacheModel<com.liferay.portal.model.Layout> toCacheModel() {
2272                    return _layout.toCacheModel();
2273            }
2274    
2275            @Override
2276            public com.liferay.portal.model.Layout toEscapedModel() {
2277                    return new LayoutWrapper(_layout.toEscapedModel());
2278            }
2279    
2280            @Override
2281            public java.lang.String toString() {
2282                    return _layout.toString();
2283            }
2284    
2285            @Override
2286            public com.liferay.portal.model.Layout toUnescapedModel() {
2287                    return new LayoutWrapper(_layout.toUnescapedModel());
2288            }
2289    
2290            @Override
2291            public java.lang.String toXmlString() {
2292                    return _layout.toXmlString();
2293            }
2294    
2295            @Override
2296            public boolean equals(Object obj) {
2297                    if (this == obj) {
2298                            return true;
2299                    }
2300    
2301                    if (!(obj instanceof LayoutWrapper)) {
2302                            return false;
2303                    }
2304    
2305                    LayoutWrapper layoutWrapper = (LayoutWrapper)obj;
2306    
2307                    if (Validator.equals(_layout, layoutWrapper._layout)) {
2308                            return true;
2309                    }
2310    
2311                    return false;
2312            }
2313    
2314            @Override
2315            public StagedModelType getStagedModelType() {
2316                    return _layout.getStagedModelType();
2317            }
2318    
2319            /**
2320             * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
2321             */
2322            @Deprecated
2323            public Layout getWrappedLayout() {
2324                    return _layout;
2325            }
2326    
2327            @Override
2328            public Layout getWrappedModel() {
2329                    return _layout;
2330            }
2331    
2332            @Override
2333            public boolean isEntityCacheEnabled() {
2334                    return _layout.isEntityCacheEnabled();
2335            }
2336    
2337            @Override
2338            public boolean isFinderCacheEnabled() {
2339                    return _layout.isFinderCacheEnabled();
2340            }
2341    
2342            @Override
2343            public void resetOriginalValues() {
2344                    _layout.resetOriginalValues();
2345            }
2346    
2347            private final Layout _layout;
2348    }