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