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