001    /**
002     * Copyright (c) 2000-2012 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 java.util.Date;
018    import java.util.HashMap;
019    import java.util.Map;
020    
021    /**
022     * <p>
023     * This class is a wrapper for {@link Layout}.
024     * </p>
025     *
026     * @author    Brian Wing Shun Chan
027     * @see       Layout
028     * @generated
029     */
030    public class LayoutWrapper implements Layout, ModelWrapper<Layout> {
031            public LayoutWrapper(Layout layout) {
032                    _layout = layout;
033            }
034    
035            public Class<?> getModelClass() {
036                    return Layout.class;
037            }
038    
039            public String getModelClassName() {
040                    return Layout.class.getName();
041            }
042    
043            public Map<String, Object> getModelAttributes() {
044                    Map<String, Object> attributes = new HashMap<String, Object>();
045    
046                    attributes.put("uuid", getUuid());
047                    attributes.put("plid", getPlid());
048                    attributes.put("groupId", getGroupId());
049                    attributes.put("companyId", getCompanyId());
050                    attributes.put("createDate", getCreateDate());
051                    attributes.put("modifiedDate", getModifiedDate());
052                    attributes.put("privateLayout", getPrivateLayout());
053                    attributes.put("layoutId", getLayoutId());
054                    attributes.put("parentLayoutId", getParentLayoutId());
055                    attributes.put("name", getName());
056                    attributes.put("title", getTitle());
057                    attributes.put("description", getDescription());
058                    attributes.put("keywords", getKeywords());
059                    attributes.put("robots", getRobots());
060                    attributes.put("type", getType());
061                    attributes.put("typeSettings", getTypeSettings());
062                    attributes.put("hidden", getHidden());
063                    attributes.put("friendlyURL", getFriendlyURL());
064                    attributes.put("iconImage", getIconImage());
065                    attributes.put("iconImageId", getIconImageId());
066                    attributes.put("themeId", getThemeId());
067                    attributes.put("colorSchemeId", getColorSchemeId());
068                    attributes.put("wapThemeId", getWapThemeId());
069                    attributes.put("wapColorSchemeId", getWapColorSchemeId());
070                    attributes.put("css", getCss());
071                    attributes.put("priority", getPriority());
072                    attributes.put("layoutPrototypeUuid", getLayoutPrototypeUuid());
073                    attributes.put("layoutPrototypeLinkEnabled",
074                            getLayoutPrototypeLinkEnabled());
075                    attributes.put("sourcePrototypeLayoutUuid",
076                            getSourcePrototypeLayoutUuid());
077    
078                    return attributes;
079            }
080    
081            public void setModelAttributes(Map<String, Object> attributes) {
082                    String uuid = (String)attributes.get("uuid");
083    
084                    if (uuid != null) {
085                            setUuid(uuid);
086                    }
087    
088                    Long plid = (Long)attributes.get("plid");
089    
090                    if (plid != null) {
091                            setPlid(plid);
092                    }
093    
094                    Long groupId = (Long)attributes.get("groupId");
095    
096                    if (groupId != null) {
097                            setGroupId(groupId);
098                    }
099    
100                    Long companyId = (Long)attributes.get("companyId");
101    
102                    if (companyId != null) {
103                            setCompanyId(companyId);
104                    }
105    
106                    Date createDate = (Date)attributes.get("createDate");
107    
108                    if (createDate != null) {
109                            setCreateDate(createDate);
110                    }
111    
112                    Date modifiedDate = (Date)attributes.get("modifiedDate");
113    
114                    if (modifiedDate != null) {
115                            setModifiedDate(modifiedDate);
116                    }
117    
118                    Boolean privateLayout = (Boolean)attributes.get("privateLayout");
119    
120                    if (privateLayout != null) {
121                            setPrivateLayout(privateLayout);
122                    }
123    
124                    Long layoutId = (Long)attributes.get("layoutId");
125    
126                    if (layoutId != null) {
127                            setLayoutId(layoutId);
128                    }
129    
130                    Long parentLayoutId = (Long)attributes.get("parentLayoutId");
131    
132                    if (parentLayoutId != null) {
133                            setParentLayoutId(parentLayoutId);
134                    }
135    
136                    String name = (String)attributes.get("name");
137    
138                    if (name != null) {
139                            setName(name);
140                    }
141    
142                    String title = (String)attributes.get("title");
143    
144                    if (title != null) {
145                            setTitle(title);
146                    }
147    
148                    String description = (String)attributes.get("description");
149    
150                    if (description != null) {
151                            setDescription(description);
152                    }
153    
154                    String keywords = (String)attributes.get("keywords");
155    
156                    if (keywords != null) {
157                            setKeywords(keywords);
158                    }
159    
160                    String robots = (String)attributes.get("robots");
161    
162                    if (robots != null) {
163                            setRobots(robots);
164                    }
165    
166                    String type = (String)attributes.get("type");
167    
168                    if (type != null) {
169                            setType(type);
170                    }
171    
172                    String typeSettings = (String)attributes.get("typeSettings");
173    
174                    if (typeSettings != null) {
175                            setTypeSettings(typeSettings);
176                    }
177    
178                    Boolean hidden = (Boolean)attributes.get("hidden");
179    
180                    if (hidden != null) {
181                            setHidden(hidden);
182                    }
183    
184                    String friendlyURL = (String)attributes.get("friendlyURL");
185    
186                    if (friendlyURL != null) {
187                            setFriendlyURL(friendlyURL);
188                    }
189    
190                    Boolean iconImage = (Boolean)attributes.get("iconImage");
191    
192                    if (iconImage != null) {
193                            setIconImage(iconImage);
194                    }
195    
196                    Long iconImageId = (Long)attributes.get("iconImageId");
197    
198                    if (iconImageId != null) {
199                            setIconImageId(iconImageId);
200                    }
201    
202                    String themeId = (String)attributes.get("themeId");
203    
204                    if (themeId != null) {
205                            setThemeId(themeId);
206                    }
207    
208                    String colorSchemeId = (String)attributes.get("colorSchemeId");
209    
210                    if (colorSchemeId != null) {
211                            setColorSchemeId(colorSchemeId);
212                    }
213    
214                    String wapThemeId = (String)attributes.get("wapThemeId");
215    
216                    if (wapThemeId != null) {
217                            setWapThemeId(wapThemeId);
218                    }
219    
220                    String wapColorSchemeId = (String)attributes.get("wapColorSchemeId");
221    
222                    if (wapColorSchemeId != null) {
223                            setWapColorSchemeId(wapColorSchemeId);
224                    }
225    
226                    String css = (String)attributes.get("css");
227    
228                    if (css != null) {
229                            setCss(css);
230                    }
231    
232                    Integer priority = (Integer)attributes.get("priority");
233    
234                    if (priority != null) {
235                            setPriority(priority);
236                    }
237    
238                    String layoutPrototypeUuid = (String)attributes.get(
239                                    "layoutPrototypeUuid");
240    
241                    if (layoutPrototypeUuid != null) {
242                            setLayoutPrototypeUuid(layoutPrototypeUuid);
243                    }
244    
245                    Boolean layoutPrototypeLinkEnabled = (Boolean)attributes.get(
246                                    "layoutPrototypeLinkEnabled");
247    
248                    if (layoutPrototypeLinkEnabled != null) {
249                            setLayoutPrototypeLinkEnabled(layoutPrototypeLinkEnabled);
250                    }
251    
252                    String sourcePrototypeLayoutUuid = (String)attributes.get(
253                                    "sourcePrototypeLayoutUuid");
254    
255                    if (sourcePrototypeLayoutUuid != null) {
256                            setSourcePrototypeLayoutUuid(sourcePrototypeLayoutUuid);
257                    }
258            }
259    
260            /**
261            * Returns the primary key of this layout.
262            *
263            * @return the primary key of this layout
264            */
265            public long getPrimaryKey() {
266                    return _layout.getPrimaryKey();
267            }
268    
269            /**
270            * Sets the primary key of this layout.
271            *
272            * @param primaryKey the primary key of this layout
273            */
274            public void setPrimaryKey(long primaryKey) {
275                    _layout.setPrimaryKey(primaryKey);
276            }
277    
278            /**
279            * Returns the uuid of this layout.
280            *
281            * @return the uuid of this layout
282            */
283            public java.lang.String getUuid() {
284                    return _layout.getUuid();
285            }
286    
287            /**
288            * Sets the uuid of this layout.
289            *
290            * @param uuid the uuid of this layout
291            */
292            public void setUuid(java.lang.String uuid) {
293                    _layout.setUuid(uuid);
294            }
295    
296            /**
297            * Returns the plid of this layout.
298            *
299            * @return the plid of this layout
300            */
301            public long getPlid() {
302                    return _layout.getPlid();
303            }
304    
305            /**
306            * Sets the plid of this layout.
307            *
308            * @param plid the plid of this layout
309            */
310            public void setPlid(long plid) {
311                    _layout.setPlid(plid);
312            }
313    
314            /**
315            * Returns the group ID of this layout.
316            *
317            * @return the group ID of this layout
318            */
319            public long getGroupId() {
320                    return _layout.getGroupId();
321            }
322    
323            /**
324            * Sets the group ID of this layout.
325            *
326            * @param groupId the group ID of this layout
327            */
328            public void setGroupId(long groupId) {
329                    _layout.setGroupId(groupId);
330            }
331    
332            /**
333            * Returns the company ID of this layout.
334            *
335            * @return the company ID of this layout
336            */
337            public long getCompanyId() {
338                    return _layout.getCompanyId();
339            }
340    
341            /**
342            * Sets the company ID of this layout.
343            *
344            * @param companyId the company ID of this layout
345            */
346            public void setCompanyId(long companyId) {
347                    _layout.setCompanyId(companyId);
348            }
349    
350            /**
351            * Returns the create date of this layout.
352            *
353            * @return the create date of this layout
354            */
355            public java.util.Date getCreateDate() {
356                    return _layout.getCreateDate();
357            }
358    
359            /**
360            * Sets the create date of this layout.
361            *
362            * @param createDate the create date of this layout
363            */
364            public void setCreateDate(java.util.Date createDate) {
365                    _layout.setCreateDate(createDate);
366            }
367    
368            /**
369            * Returns the modified date of this layout.
370            *
371            * @return the modified date of this layout
372            */
373            public java.util.Date getModifiedDate() {
374                    return _layout.getModifiedDate();
375            }
376    
377            /**
378            * Sets the modified date of this layout.
379            *
380            * @param modifiedDate the modified date of this layout
381            */
382            public void setModifiedDate(java.util.Date modifiedDate) {
383                    _layout.setModifiedDate(modifiedDate);
384            }
385    
386            /**
387            * Returns the private layout of this layout.
388            *
389            * @return the private layout of this layout
390            */
391            public boolean getPrivateLayout() {
392                    return _layout.getPrivateLayout();
393            }
394    
395            /**
396            * Returns <code>true</code> if this layout is private layout.
397            *
398            * @return <code>true</code> if this layout is private layout; <code>false</code> otherwise
399            */
400            public boolean isPrivateLayout() {
401                    return _layout.isPrivateLayout();
402            }
403    
404            /**
405            * Sets whether this layout is private layout.
406            *
407            * @param privateLayout the private layout of this layout
408            */
409            public void setPrivateLayout(boolean privateLayout) {
410                    _layout.setPrivateLayout(privateLayout);
411            }
412    
413            /**
414            * Returns the layout ID of this layout.
415            *
416            * @return the layout ID of this layout
417            */
418            public long getLayoutId() {
419                    return _layout.getLayoutId();
420            }
421    
422            /**
423            * Sets the layout ID of this layout.
424            *
425            * @param layoutId the layout ID of this layout
426            */
427            public void setLayoutId(long layoutId) {
428                    _layout.setLayoutId(layoutId);
429            }
430    
431            /**
432            * Returns the parent layout ID of this layout.
433            *
434            * @return the parent layout ID of this layout
435            */
436            public long getParentLayoutId() {
437                    return _layout.getParentLayoutId();
438            }
439    
440            /**
441            * Sets the parent layout ID of this layout.
442            *
443            * @param parentLayoutId the parent layout ID of this layout
444            */
445            public void setParentLayoutId(long parentLayoutId) {
446                    _layout.setParentLayoutId(parentLayoutId);
447            }
448    
449            /**
450            * Returns the name of this layout.
451            *
452            * @return the name of this layout
453            */
454            public java.lang.String getName() {
455                    return _layout.getName();
456            }
457    
458            /**
459            * Returns the localized name of this layout in the language. Uses the default language if no localization exists for the requested language.
460            *
461            * @param locale the locale of the language
462            * @return the localized name of this layout
463            */
464            public java.lang.String getName(java.util.Locale locale) {
465                    return _layout.getName(locale);
466            }
467    
468            /**
469            * Returns the localized name of this layout in the language, optionally using the default language if no localization exists for the requested language.
470            *
471            * @param locale the local of the language
472            * @param useDefault whether to use the default language if no localization exists for the requested language
473            * @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.
474            */
475            public java.lang.String getName(java.util.Locale locale, boolean useDefault) {
476                    return _layout.getName(locale, useDefault);
477            }
478    
479            /**
480            * Returns the localized name of this layout in the language. Uses the default language if no localization exists for the requested language.
481            *
482            * @param languageId the ID of the language
483            * @return the localized name of this layout
484            */
485            public java.lang.String getName(java.lang.String languageId) {
486                    return _layout.getName(languageId);
487            }
488    
489            /**
490            * Returns the localized name of this layout in the language, optionally using the default language if no localization exists for the requested language.
491            *
492            * @param languageId the ID of the language
493            * @param useDefault whether to use the default language if no localization exists for the requested language
494            * @return the localized name of this layout
495            */
496            public java.lang.String getName(java.lang.String languageId,
497                    boolean useDefault) {
498                    return _layout.getName(languageId, useDefault);
499            }
500    
501            public java.lang.String getNameCurrentLanguageId() {
502                    return _layout.getNameCurrentLanguageId();
503            }
504    
505            public java.lang.String getNameCurrentValue() {
506                    return _layout.getNameCurrentValue();
507            }
508    
509            /**
510            * Returns a map of the locales and localized names of this layout.
511            *
512            * @return the locales and localized names of this layout
513            */
514            public java.util.Map<java.util.Locale, java.lang.String> getNameMap() {
515                    return _layout.getNameMap();
516            }
517    
518            /**
519            * Sets the name of this layout.
520            *
521            * @param name the name of this layout
522            */
523            public void setName(java.lang.String name) {
524                    _layout.setName(name);
525            }
526    
527            /**
528            * Sets the localized name of this layout in the language.
529            *
530            * @param name the localized name of this layout
531            * @param locale the locale of the language
532            */
533            public void setName(java.lang.String name, java.util.Locale locale) {
534                    _layout.setName(name, locale);
535            }
536    
537            /**
538            * Sets the localized name of this layout in the language, and sets the default locale.
539            *
540            * @param name the localized name of this layout
541            * @param locale the locale of the language
542            * @param defaultLocale the default locale
543            */
544            public void setName(java.lang.String name, java.util.Locale locale,
545                    java.util.Locale defaultLocale) {
546                    _layout.setName(name, locale, defaultLocale);
547            }
548    
549            public void setNameCurrentLanguageId(java.lang.String languageId) {
550                    _layout.setNameCurrentLanguageId(languageId);
551            }
552    
553            /**
554            * Sets the localized names of this layout from the map of locales and localized names.
555            *
556            * @param nameMap the locales and localized names of this layout
557            */
558            public void setNameMap(
559                    java.util.Map<java.util.Locale, java.lang.String> nameMap) {
560                    _layout.setNameMap(nameMap);
561            }
562    
563            /**
564            * Sets the localized names of this layout from the map of locales and localized names, and sets the default locale.
565            *
566            * @param nameMap the locales and localized names of this layout
567            * @param defaultLocale the default locale
568            */
569            public void setNameMap(
570                    java.util.Map<java.util.Locale, java.lang.String> nameMap,
571                    java.util.Locale defaultLocale) {
572                    _layout.setNameMap(nameMap, defaultLocale);
573            }
574    
575            /**
576            * Returns the title of this layout.
577            *
578            * @return the title of this layout
579            */
580            public java.lang.String getTitle() {
581                    return _layout.getTitle();
582            }
583    
584            /**
585            * Returns the localized title of this layout in the language. Uses the default language if no localization exists for the requested language.
586            *
587            * @param locale the locale of the language
588            * @return the localized title of this layout
589            */
590            public java.lang.String getTitle(java.util.Locale locale) {
591                    return _layout.getTitle(locale);
592            }
593    
594            /**
595            * Returns the localized title of this layout in the language, optionally using the default language if no localization exists for the requested language.
596            *
597            * @param locale the local of the language
598            * @param useDefault whether to use the default language if no localization exists for the requested language
599            * @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.
600            */
601            public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
602                    return _layout.getTitle(locale, useDefault);
603            }
604    
605            /**
606            * Returns the localized title of this layout in the language. Uses the default language if no localization exists for the requested language.
607            *
608            * @param languageId the ID of the language
609            * @return the localized title of this layout
610            */
611            public java.lang.String getTitle(java.lang.String languageId) {
612                    return _layout.getTitle(languageId);
613            }
614    
615            /**
616            * Returns the localized title of this layout in the language, optionally using the default language if no localization exists for the requested language.
617            *
618            * @param languageId the ID of the language
619            * @param useDefault whether to use the default language if no localization exists for the requested language
620            * @return the localized title of this layout
621            */
622            public java.lang.String getTitle(java.lang.String languageId,
623                    boolean useDefault) {
624                    return _layout.getTitle(languageId, useDefault);
625            }
626    
627            public java.lang.String getTitleCurrentLanguageId() {
628                    return _layout.getTitleCurrentLanguageId();
629            }
630    
631            public java.lang.String getTitleCurrentValue() {
632                    return _layout.getTitleCurrentValue();
633            }
634    
635            /**
636            * Returns a map of the locales and localized titles of this layout.
637            *
638            * @return the locales and localized titles of this layout
639            */
640            public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
641                    return _layout.getTitleMap();
642            }
643    
644            /**
645            * Sets the title of this layout.
646            *
647            * @param title the title of this layout
648            */
649            public void setTitle(java.lang.String title) {
650                    _layout.setTitle(title);
651            }
652    
653            /**
654            * Sets the localized title of this layout in the language.
655            *
656            * @param title the localized title of this layout
657            * @param locale the locale of the language
658            */
659            public void setTitle(java.lang.String title, java.util.Locale locale) {
660                    _layout.setTitle(title, locale);
661            }
662    
663            /**
664            * Sets the localized title of this layout in the language, and sets the default locale.
665            *
666            * @param title the localized title of this layout
667            * @param locale the locale of the language
668            * @param defaultLocale the default locale
669            */
670            public void setTitle(java.lang.String title, java.util.Locale locale,
671                    java.util.Locale defaultLocale) {
672                    _layout.setTitle(title, locale, defaultLocale);
673            }
674    
675            public void setTitleCurrentLanguageId(java.lang.String languageId) {
676                    _layout.setTitleCurrentLanguageId(languageId);
677            }
678    
679            /**
680            * Sets the localized titles of this layout from the map of locales and localized titles.
681            *
682            * @param titleMap the locales and localized titles of this layout
683            */
684            public void setTitleMap(
685                    java.util.Map<java.util.Locale, java.lang.String> titleMap) {
686                    _layout.setTitleMap(titleMap);
687            }
688    
689            /**
690            * Sets the localized titles of this layout from the map of locales and localized titles, and sets the default locale.
691            *
692            * @param titleMap the locales and localized titles of this layout
693            * @param defaultLocale the default locale
694            */
695            public void setTitleMap(
696                    java.util.Map<java.util.Locale, java.lang.String> titleMap,
697                    java.util.Locale defaultLocale) {
698                    _layout.setTitleMap(titleMap, defaultLocale);
699            }
700    
701            /**
702            * Returns the description of this layout.
703            *
704            * @return the description of this layout
705            */
706            public java.lang.String getDescription() {
707                    return _layout.getDescription();
708            }
709    
710            /**
711            * Returns the localized description of this layout in the language. Uses the default language if no localization exists for the requested language.
712            *
713            * @param locale the locale of the language
714            * @return the localized description of this layout
715            */
716            public java.lang.String getDescription(java.util.Locale locale) {
717                    return _layout.getDescription(locale);
718            }
719    
720            /**
721            * Returns the localized description of this layout in the language, optionally using the default language if no localization exists for the requested language.
722            *
723            * @param locale the local of the language
724            * @param useDefault whether to use the default language if no localization exists for the requested language
725            * @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.
726            */
727            public java.lang.String getDescription(java.util.Locale locale,
728                    boolean useDefault) {
729                    return _layout.getDescription(locale, useDefault);
730            }
731    
732            /**
733            * Returns the localized description of this layout in the language. Uses the default language if no localization exists for the requested language.
734            *
735            * @param languageId the ID of the language
736            * @return the localized description of this layout
737            */
738            public java.lang.String getDescription(java.lang.String languageId) {
739                    return _layout.getDescription(languageId);
740            }
741    
742            /**
743            * Returns the localized description of this layout in the language, optionally using the default language if no localization exists for the requested language.
744            *
745            * @param languageId the ID of the language
746            * @param useDefault whether to use the default language if no localization exists for the requested language
747            * @return the localized description of this layout
748            */
749            public java.lang.String getDescription(java.lang.String languageId,
750                    boolean useDefault) {
751                    return _layout.getDescription(languageId, useDefault);
752            }
753    
754            public java.lang.String getDescriptionCurrentLanguageId() {
755                    return _layout.getDescriptionCurrentLanguageId();
756            }
757    
758            public java.lang.String getDescriptionCurrentValue() {
759                    return _layout.getDescriptionCurrentValue();
760            }
761    
762            /**
763            * Returns a map of the locales and localized descriptions of this layout.
764            *
765            * @return the locales and localized descriptions of this layout
766            */
767            public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
768                    return _layout.getDescriptionMap();
769            }
770    
771            /**
772            * Sets the description of this layout.
773            *
774            * @param description the description of this layout
775            */
776            public void setDescription(java.lang.String description) {
777                    _layout.setDescription(description);
778            }
779    
780            /**
781            * Sets the localized description of this layout in the language.
782            *
783            * @param description the localized description of this layout
784            * @param locale the locale of the language
785            */
786            public void setDescription(java.lang.String description,
787                    java.util.Locale locale) {
788                    _layout.setDescription(description, locale);
789            }
790    
791            /**
792            * Sets the localized description of this layout in the language, and sets the default locale.
793            *
794            * @param description the localized description of this layout
795            * @param locale the locale of the language
796            * @param defaultLocale the default locale
797            */
798            public void setDescription(java.lang.String description,
799                    java.util.Locale locale, java.util.Locale defaultLocale) {
800                    _layout.setDescription(description, locale, defaultLocale);
801            }
802    
803            public void setDescriptionCurrentLanguageId(java.lang.String languageId) {
804                    _layout.setDescriptionCurrentLanguageId(languageId);
805            }
806    
807            /**
808            * Sets the localized descriptions of this layout from the map of locales and localized descriptions.
809            *
810            * @param descriptionMap the locales and localized descriptions of this layout
811            */
812            public void setDescriptionMap(
813                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
814                    _layout.setDescriptionMap(descriptionMap);
815            }
816    
817            /**
818            * Sets the localized descriptions of this layout from the map of locales and localized descriptions, and sets the default locale.
819            *
820            * @param descriptionMap the locales and localized descriptions of this layout
821            * @param defaultLocale the default locale
822            */
823            public void setDescriptionMap(
824                    java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
825                    java.util.Locale defaultLocale) {
826                    _layout.setDescriptionMap(descriptionMap, defaultLocale);
827            }
828    
829            /**
830            * Returns the keywords of this layout.
831            *
832            * @return the keywords of this layout
833            */
834            public java.lang.String getKeywords() {
835                    return _layout.getKeywords();
836            }
837    
838            /**
839            * Returns the localized keywords of this layout in the language. Uses the default language if no localization exists for the requested language.
840            *
841            * @param locale the locale of the language
842            * @return the localized keywords of this layout
843            */
844            public java.lang.String getKeywords(java.util.Locale locale) {
845                    return _layout.getKeywords(locale);
846            }
847    
848            /**
849            * Returns the localized keywords of this layout in the language, optionally using the default language if no localization exists for the requested language.
850            *
851            * @param locale the local of the language
852            * @param useDefault whether to use the default language if no localization exists for the requested language
853            * @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.
854            */
855            public java.lang.String getKeywords(java.util.Locale locale,
856                    boolean useDefault) {
857                    return _layout.getKeywords(locale, useDefault);
858            }
859    
860            /**
861            * Returns the localized keywords of this layout in the language. Uses the default language if no localization exists for the requested language.
862            *
863            * @param languageId the ID of the language
864            * @return the localized keywords of this layout
865            */
866            public java.lang.String getKeywords(java.lang.String languageId) {
867                    return _layout.getKeywords(languageId);
868            }
869    
870            /**
871            * Returns the localized keywords of this layout in the language, optionally using the default language if no localization exists for the requested language.
872            *
873            * @param languageId the ID of the language
874            * @param useDefault whether to use the default language if no localization exists for the requested language
875            * @return the localized keywords of this layout
876            */
877            public java.lang.String getKeywords(java.lang.String languageId,
878                    boolean useDefault) {
879                    return _layout.getKeywords(languageId, useDefault);
880            }
881    
882            public java.lang.String getKeywordsCurrentLanguageId() {
883                    return _layout.getKeywordsCurrentLanguageId();
884            }
885    
886            public java.lang.String getKeywordsCurrentValue() {
887                    return _layout.getKeywordsCurrentValue();
888            }
889    
890            /**
891            * Returns a map of the locales and localized keywordses of this layout.
892            *
893            * @return the locales and localized keywordses of this layout
894            */
895            public java.util.Map<java.util.Locale, java.lang.String> getKeywordsMap() {
896                    return _layout.getKeywordsMap();
897            }
898    
899            /**
900            * Sets the keywords of this layout.
901            *
902            * @param keywords the keywords of this layout
903            */
904            public void setKeywords(java.lang.String keywords) {
905                    _layout.setKeywords(keywords);
906            }
907    
908            /**
909            * Sets the localized keywords of this layout in the language.
910            *
911            * @param keywords the localized keywords of this layout
912            * @param locale the locale of the language
913            */
914            public void setKeywords(java.lang.String keywords, java.util.Locale locale) {
915                    _layout.setKeywords(keywords, locale);
916            }
917    
918            /**
919            * Sets the localized keywords of this layout in the language, and sets the default locale.
920            *
921            * @param keywords the localized keywords of this layout
922            * @param locale the locale of the language
923            * @param defaultLocale the default locale
924            */
925            public void setKeywords(java.lang.String keywords, java.util.Locale locale,
926                    java.util.Locale defaultLocale) {
927                    _layout.setKeywords(keywords, locale, defaultLocale);
928            }
929    
930            public void setKeywordsCurrentLanguageId(java.lang.String languageId) {
931                    _layout.setKeywordsCurrentLanguageId(languageId);
932            }
933    
934            /**
935            * Sets the localized keywordses of this layout from the map of locales and localized keywordses.
936            *
937            * @param keywordsMap the locales and localized keywordses of this layout
938            */
939            public void setKeywordsMap(
940                    java.util.Map<java.util.Locale, java.lang.String> keywordsMap) {
941                    _layout.setKeywordsMap(keywordsMap);
942            }
943    
944            /**
945            * Sets the localized keywordses of this layout from the map of locales and localized keywordses, and sets the default locale.
946            *
947            * @param keywordsMap the locales and localized keywordses of this layout
948            * @param defaultLocale the default locale
949            */
950            public void setKeywordsMap(
951                    java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
952                    java.util.Locale defaultLocale) {
953                    _layout.setKeywordsMap(keywordsMap, defaultLocale);
954            }
955    
956            /**
957            * Returns the robots of this layout.
958            *
959            * @return the robots of this layout
960            */
961            public java.lang.String getRobots() {
962                    return _layout.getRobots();
963            }
964    
965            /**
966            * Returns the localized robots of this layout in the language. Uses the default language if no localization exists for the requested language.
967            *
968            * @param locale the locale of the language
969            * @return the localized robots of this layout
970            */
971            public java.lang.String getRobots(java.util.Locale locale) {
972                    return _layout.getRobots(locale);
973            }
974    
975            /**
976            * Returns the localized robots of this layout in the language, optionally using the default language if no localization exists for the requested language.
977            *
978            * @param locale the local of the language
979            * @param useDefault whether to use the default language if no localization exists for the requested language
980            * @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.
981            */
982            public java.lang.String getRobots(java.util.Locale locale,
983                    boolean useDefault) {
984                    return _layout.getRobots(locale, useDefault);
985            }
986    
987            /**
988            * Returns the localized robots of this layout in the language. Uses the default language if no localization exists for the requested language.
989            *
990            * @param languageId the ID of the language
991            * @return the localized robots of this layout
992            */
993            public java.lang.String getRobots(java.lang.String languageId) {
994                    return _layout.getRobots(languageId);
995            }
996    
997            /**
998            * Returns the localized robots of this layout in the language, optionally using the default language if no localization exists for the requested language.
999            *
1000            * @param languageId the ID of the language
1001            * @param useDefault whether to use the default language if no localization exists for the requested language
1002            * @return the localized robots of this layout
1003            */
1004            public java.lang.String getRobots(java.lang.String languageId,
1005                    boolean useDefault) {
1006                    return _layout.getRobots(languageId, useDefault);
1007            }
1008    
1009            public java.lang.String getRobotsCurrentLanguageId() {
1010                    return _layout.getRobotsCurrentLanguageId();
1011            }
1012    
1013            public java.lang.String getRobotsCurrentValue() {
1014                    return _layout.getRobotsCurrentValue();
1015            }
1016    
1017            /**
1018            * Returns a map of the locales and localized robotses of this layout.
1019            *
1020            * @return the locales and localized robotses of this layout
1021            */
1022            public java.util.Map<java.util.Locale, java.lang.String> getRobotsMap() {
1023                    return _layout.getRobotsMap();
1024            }
1025    
1026            /**
1027            * Sets the robots of this layout.
1028            *
1029            * @param robots the robots of this layout
1030            */
1031            public void setRobots(java.lang.String robots) {
1032                    _layout.setRobots(robots);
1033            }
1034    
1035            /**
1036            * Sets the localized robots of this layout in the language.
1037            *
1038            * @param robots the localized robots of this layout
1039            * @param locale the locale of the language
1040            */
1041            public void setRobots(java.lang.String robots, java.util.Locale locale) {
1042                    _layout.setRobots(robots, locale);
1043            }
1044    
1045            /**
1046            * Sets the localized robots of this layout in the language, and sets the default locale.
1047            *
1048            * @param robots the localized robots of this layout
1049            * @param locale the locale of the language
1050            * @param defaultLocale the default locale
1051            */
1052            public void setRobots(java.lang.String robots, java.util.Locale locale,
1053                    java.util.Locale defaultLocale) {
1054                    _layout.setRobots(robots, locale, defaultLocale);
1055            }
1056    
1057            public void setRobotsCurrentLanguageId(java.lang.String languageId) {
1058                    _layout.setRobotsCurrentLanguageId(languageId);
1059            }
1060    
1061            /**
1062            * Sets the localized robotses of this layout from the map of locales and localized robotses.
1063            *
1064            * @param robotsMap the locales and localized robotses of this layout
1065            */
1066            public void setRobotsMap(
1067                    java.util.Map<java.util.Locale, java.lang.String> robotsMap) {
1068                    _layout.setRobotsMap(robotsMap);
1069            }
1070    
1071            /**
1072            * Sets the localized robotses of this layout from the map of locales and localized robotses, and sets the default locale.
1073            *
1074            * @param robotsMap the locales and localized robotses of this layout
1075            * @param defaultLocale the default locale
1076            */
1077            public void setRobotsMap(
1078                    java.util.Map<java.util.Locale, java.lang.String> robotsMap,
1079                    java.util.Locale defaultLocale) {
1080                    _layout.setRobotsMap(robotsMap, defaultLocale);
1081            }
1082    
1083            /**
1084            * Returns the type of this layout.
1085            *
1086            * @return the type of this layout
1087            */
1088            public java.lang.String getType() {
1089                    return _layout.getType();
1090            }
1091    
1092            /**
1093            * Sets the type of this layout.
1094            *
1095            * @param type the type of this layout
1096            */
1097            public void setType(java.lang.String type) {
1098                    _layout.setType(type);
1099            }
1100    
1101            /**
1102            * Returns the type settings of this layout.
1103            *
1104            * @return the type settings of this layout
1105            */
1106            public java.lang.String getTypeSettings() {
1107                    return _layout.getTypeSettings();
1108            }
1109    
1110            /**
1111            * Sets the type settings of this layout.
1112            *
1113            * @param typeSettings the type settings of this layout
1114            */
1115            public void setTypeSettings(java.lang.String typeSettings) {
1116                    _layout.setTypeSettings(typeSettings);
1117            }
1118    
1119            /**
1120            * Returns the hidden of this layout.
1121            *
1122            * @return the hidden of this layout
1123            */
1124            public boolean getHidden() {
1125                    return _layout.getHidden();
1126            }
1127    
1128            /**
1129            * Returns <code>true</code> if this layout is hidden.
1130            *
1131            * @return <code>true</code> if this layout is hidden; <code>false</code> otherwise
1132            */
1133            public boolean isHidden() {
1134                    return _layout.isHidden();
1135            }
1136    
1137            /**
1138            * Sets whether this layout is hidden.
1139            *
1140            * @param hidden the hidden of this layout
1141            */
1142            public void setHidden(boolean hidden) {
1143                    _layout.setHidden(hidden);
1144            }
1145    
1146            /**
1147            * Returns the friendly u r l of this layout.
1148            *
1149            * @return the friendly u r l of this layout
1150            */
1151            public java.lang.String getFriendlyURL() {
1152                    return _layout.getFriendlyURL();
1153            }
1154    
1155            /**
1156            * Sets the friendly u r l of this layout.
1157            *
1158            * @param friendlyURL the friendly u r l of this layout
1159            */
1160            public void setFriendlyURL(java.lang.String friendlyURL) {
1161                    _layout.setFriendlyURL(friendlyURL);
1162            }
1163    
1164            /**
1165            * Returns the icon image of this layout.
1166            *
1167            * @return the icon image of this layout
1168            */
1169            public boolean getIconImage() {
1170                    return _layout.getIconImage();
1171            }
1172    
1173            /**
1174            * Returns <code>true</code> if this layout is icon image.
1175            *
1176            * @return <code>true</code> if this layout is icon image; <code>false</code> otherwise
1177            */
1178            public boolean isIconImage() {
1179                    return _layout.isIconImage();
1180            }
1181    
1182            /**
1183            * Sets whether this layout is icon image.
1184            *
1185            * @param iconImage the icon image of this layout
1186            */
1187            public void setIconImage(boolean iconImage) {
1188                    _layout.setIconImage(iconImage);
1189            }
1190    
1191            /**
1192            * Returns the icon image ID of this layout.
1193            *
1194            * @return the icon image ID of this layout
1195            */
1196            public long getIconImageId() {
1197                    return _layout.getIconImageId();
1198            }
1199    
1200            /**
1201            * Sets the icon image ID of this layout.
1202            *
1203            * @param iconImageId the icon image ID of this layout
1204            */
1205            public void setIconImageId(long iconImageId) {
1206                    _layout.setIconImageId(iconImageId);
1207            }
1208    
1209            /**
1210            * Returns the theme ID of this layout.
1211            *
1212            * @return the theme ID of this layout
1213            */
1214            public java.lang.String getThemeId() {
1215                    return _layout.getThemeId();
1216            }
1217    
1218            /**
1219            * Sets the theme ID of this layout.
1220            *
1221            * @param themeId the theme ID of this layout
1222            */
1223            public void setThemeId(java.lang.String themeId) {
1224                    _layout.setThemeId(themeId);
1225            }
1226    
1227            /**
1228            * Returns the color scheme ID of this layout.
1229            *
1230            * @return the color scheme ID of this layout
1231            */
1232            public java.lang.String getColorSchemeId() {
1233                    return _layout.getColorSchemeId();
1234            }
1235    
1236            /**
1237            * Sets the color scheme ID of this layout.
1238            *
1239            * @param colorSchemeId the color scheme ID of this layout
1240            */
1241            public void setColorSchemeId(java.lang.String colorSchemeId) {
1242                    _layout.setColorSchemeId(colorSchemeId);
1243            }
1244    
1245            /**
1246            * Returns the wap theme ID of this layout.
1247            *
1248            * @return the wap theme ID of this layout
1249            */
1250            public java.lang.String getWapThemeId() {
1251                    return _layout.getWapThemeId();
1252            }
1253    
1254            /**
1255            * Sets the wap theme ID of this layout.
1256            *
1257            * @param wapThemeId the wap theme ID of this layout
1258            */
1259            public void setWapThemeId(java.lang.String wapThemeId) {
1260                    _layout.setWapThemeId(wapThemeId);
1261            }
1262    
1263            /**
1264            * Returns the wap color scheme ID of this layout.
1265            *
1266            * @return the wap color scheme ID of this layout
1267            */
1268            public java.lang.String getWapColorSchemeId() {
1269                    return _layout.getWapColorSchemeId();
1270            }
1271    
1272            /**
1273            * Sets the wap color scheme ID of this layout.
1274            *
1275            * @param wapColorSchemeId the wap color scheme ID of this layout
1276            */
1277            public void setWapColorSchemeId(java.lang.String wapColorSchemeId) {
1278                    _layout.setWapColorSchemeId(wapColorSchemeId);
1279            }
1280    
1281            /**
1282            * Returns the css of this layout.
1283            *
1284            * @return the css of this layout
1285            */
1286            public java.lang.String getCss() {
1287                    return _layout.getCss();
1288            }
1289    
1290            /**
1291            * Sets the css of this layout.
1292            *
1293            * @param css the css of this layout
1294            */
1295            public void setCss(java.lang.String css) {
1296                    _layout.setCss(css);
1297            }
1298    
1299            /**
1300            * Returns the priority of this layout.
1301            *
1302            * @return the priority of this layout
1303            */
1304            public int getPriority() {
1305                    return _layout.getPriority();
1306            }
1307    
1308            /**
1309            * Sets the priority of this layout.
1310            *
1311            * @param priority the priority of this layout
1312            */
1313            public void setPriority(int priority) {
1314                    _layout.setPriority(priority);
1315            }
1316    
1317            /**
1318            * Returns the layout prototype uuid of this layout.
1319            *
1320            * @return the layout prototype uuid of this layout
1321            */
1322            public java.lang.String getLayoutPrototypeUuid() {
1323                    return _layout.getLayoutPrototypeUuid();
1324            }
1325    
1326            /**
1327            * Sets the layout prototype uuid of this layout.
1328            *
1329            * @param layoutPrototypeUuid the layout prototype uuid of this layout
1330            */
1331            public void setLayoutPrototypeUuid(java.lang.String layoutPrototypeUuid) {
1332                    _layout.setLayoutPrototypeUuid(layoutPrototypeUuid);
1333            }
1334    
1335            /**
1336            * Returns the layout prototype link enabled of this layout.
1337            *
1338            * @return the layout prototype link enabled of this layout
1339            */
1340            public boolean getLayoutPrototypeLinkEnabled() {
1341                    return _layout.getLayoutPrototypeLinkEnabled();
1342            }
1343    
1344            /**
1345            * Returns <code>true</code> if this layout is layout prototype link enabled.
1346            *
1347            * @return <code>true</code> if this layout is layout prototype link enabled; <code>false</code> otherwise
1348            */
1349            public boolean isLayoutPrototypeLinkEnabled() {
1350                    return _layout.isLayoutPrototypeLinkEnabled();
1351            }
1352    
1353            /**
1354            * Sets whether this layout is layout prototype link enabled.
1355            *
1356            * @param layoutPrototypeLinkEnabled the layout prototype link enabled of this layout
1357            */
1358            public void setLayoutPrototypeLinkEnabled(
1359                    boolean layoutPrototypeLinkEnabled) {
1360                    _layout.setLayoutPrototypeLinkEnabled(layoutPrototypeLinkEnabled);
1361            }
1362    
1363            /**
1364            * Returns the source prototype layout uuid of this layout.
1365            *
1366            * @return the source prototype layout uuid of this layout
1367            */
1368            public java.lang.String getSourcePrototypeLayoutUuid() {
1369                    return _layout.getSourcePrototypeLayoutUuid();
1370            }
1371    
1372            /**
1373            * Sets the source prototype layout uuid of this layout.
1374            *
1375            * @param sourcePrototypeLayoutUuid the source prototype layout uuid of this layout
1376            */
1377            public void setSourcePrototypeLayoutUuid(
1378                    java.lang.String sourcePrototypeLayoutUuid) {
1379                    _layout.setSourcePrototypeLayoutUuid(sourcePrototypeLayoutUuid);
1380            }
1381    
1382            public boolean isNew() {
1383                    return _layout.isNew();
1384            }
1385    
1386            public void setNew(boolean n) {
1387                    _layout.setNew(n);
1388            }
1389    
1390            public boolean isCachedModel() {
1391                    return _layout.isCachedModel();
1392            }
1393    
1394            public void setCachedModel(boolean cachedModel) {
1395                    _layout.setCachedModel(cachedModel);
1396            }
1397    
1398            public boolean isEscapedModel() {
1399                    return _layout.isEscapedModel();
1400            }
1401    
1402            public java.io.Serializable getPrimaryKeyObj() {
1403                    return _layout.getPrimaryKeyObj();
1404            }
1405    
1406            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
1407                    _layout.setPrimaryKeyObj(primaryKeyObj);
1408            }
1409    
1410            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
1411                    return _layout.getExpandoBridge();
1412            }
1413    
1414            public void setExpandoBridgeAttributes(
1415                    com.liferay.portal.service.ServiceContext serviceContext) {
1416                    _layout.setExpandoBridgeAttributes(serviceContext);
1417            }
1418    
1419            public void prepareLocalizedFieldsForImport(
1420                    java.util.Locale defaultImportLocale)
1421                    throws com.liferay.portal.LocaleException {
1422                    _layout.prepareLocalizedFieldsForImport(defaultImportLocale);
1423            }
1424    
1425            @Override
1426            public java.lang.Object clone() {
1427                    return new LayoutWrapper((Layout)_layout.clone());
1428            }
1429    
1430            public int compareTo(com.liferay.portal.model.Layout layout) {
1431                    return _layout.compareTo(layout);
1432            }
1433    
1434            @Override
1435            public int hashCode() {
1436                    return _layout.hashCode();
1437            }
1438    
1439            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Layout> toCacheModel() {
1440                    return _layout.toCacheModel();
1441            }
1442    
1443            public com.liferay.portal.model.Layout toEscapedModel() {
1444                    return new LayoutWrapper(_layout.toEscapedModel());
1445            }
1446    
1447            public com.liferay.portal.model.Layout toUnescapedModel() {
1448                    return new LayoutWrapper(_layout.toUnescapedModel());
1449            }
1450    
1451            @Override
1452            public java.lang.String toString() {
1453                    return _layout.toString();
1454            }
1455    
1456            public java.lang.String toXmlString() {
1457                    return _layout.toXmlString();
1458            }
1459    
1460            public void persist()
1461                    throws com.liferay.portal.kernel.exception.SystemException {
1462                    _layout.persist();
1463            }
1464    
1465            public java.util.List<com.liferay.portal.model.Layout> getAllChildren()
1466                    throws com.liferay.portal.kernel.exception.SystemException {
1467                    return _layout.getAllChildren();
1468            }
1469    
1470            public long getAncestorLayoutId()
1471                    throws com.liferay.portal.kernel.exception.PortalException,
1472                            com.liferay.portal.kernel.exception.SystemException {
1473                    return _layout.getAncestorLayoutId();
1474            }
1475    
1476            public long getAncestorPlid()
1477                    throws com.liferay.portal.kernel.exception.PortalException,
1478                            com.liferay.portal.kernel.exception.SystemException {
1479                    return _layout.getAncestorPlid();
1480            }
1481    
1482            public java.util.List<com.liferay.portal.model.Layout> getAncestors()
1483                    throws com.liferay.portal.kernel.exception.PortalException,
1484                            com.liferay.portal.kernel.exception.SystemException {
1485                    return _layout.getAncestors();
1486            }
1487    
1488            public java.util.List<com.liferay.portal.model.Layout> getChildren()
1489                    throws com.liferay.portal.kernel.exception.SystemException {
1490                    return _layout.getChildren();
1491            }
1492    
1493            public java.util.List<com.liferay.portal.model.Layout> getChildren(
1494                    com.liferay.portal.security.permission.PermissionChecker permissionChecker)
1495                    throws com.liferay.portal.kernel.exception.PortalException,
1496                            com.liferay.portal.kernel.exception.SystemException {
1497                    return _layout.getChildren(permissionChecker);
1498            }
1499    
1500            public com.liferay.portal.model.ColorScheme getColorScheme()
1501                    throws com.liferay.portal.kernel.exception.PortalException,
1502                            com.liferay.portal.kernel.exception.SystemException {
1503                    return _layout.getColorScheme();
1504            }
1505    
1506            public java.lang.String getCssText()
1507                    throws com.liferay.portal.kernel.exception.PortalException,
1508                            com.liferay.portal.kernel.exception.SystemException {
1509                    return _layout.getCssText();
1510            }
1511    
1512            public com.liferay.portal.model.Group getGroup()
1513                    throws com.liferay.portal.kernel.exception.PortalException,
1514                            com.liferay.portal.kernel.exception.SystemException {
1515                    return _layout.getGroup();
1516            }
1517    
1518            public java.lang.String getHTMLTitle(java.util.Locale locale) {
1519                    return _layout.getHTMLTitle(locale);
1520            }
1521    
1522            public java.lang.String getHTMLTitle(java.lang.String localeLanguageId) {
1523                    return _layout.getHTMLTitle(localeLanguageId);
1524            }
1525    
1526            public com.liferay.portal.model.LayoutSet getLayoutSet()
1527                    throws com.liferay.portal.kernel.exception.PortalException,
1528                            com.liferay.portal.kernel.exception.SystemException {
1529                    return _layout.getLayoutSet();
1530            }
1531    
1532            public com.liferay.portal.model.LayoutType getLayoutType() {
1533                    return _layout.getLayoutType();
1534            }
1535    
1536            public long getParentPlid()
1537                    throws com.liferay.portal.kernel.exception.PortalException,
1538                            com.liferay.portal.kernel.exception.SystemException {
1539                    return _layout.getParentPlid();
1540            }
1541    
1542            public java.lang.String getRegularURL(
1543                    javax.servlet.http.HttpServletRequest request)
1544                    throws com.liferay.portal.kernel.exception.PortalException,
1545                            com.liferay.portal.kernel.exception.SystemException {
1546                    return _layout.getRegularURL(request);
1547            }
1548    
1549            public java.lang.String getResetLayoutURL(
1550                    javax.servlet.http.HttpServletRequest request)
1551                    throws com.liferay.portal.kernel.exception.PortalException,
1552                            com.liferay.portal.kernel.exception.SystemException {
1553                    return _layout.getResetLayoutURL(request);
1554            }
1555    
1556            public java.lang.String getResetMaxStateURL(
1557                    javax.servlet.http.HttpServletRequest request)
1558                    throws com.liferay.portal.kernel.exception.PortalException,
1559                            com.liferay.portal.kernel.exception.SystemException {
1560                    return _layout.getResetMaxStateURL(request);
1561            }
1562    
1563            public com.liferay.portal.model.Group getScopeGroup()
1564                    throws com.liferay.portal.kernel.exception.PortalException,
1565                            com.liferay.portal.kernel.exception.SystemException {
1566                    return _layout.getScopeGroup();
1567            }
1568    
1569            public java.lang.String getTarget() {
1570                    return _layout.getTarget();
1571            }
1572    
1573            public com.liferay.portal.model.Theme getTheme()
1574                    throws com.liferay.portal.kernel.exception.PortalException,
1575                            com.liferay.portal.kernel.exception.SystemException {
1576                    return _layout.getTheme();
1577            }
1578    
1579            public java.lang.String getThemeSetting(java.lang.String key,
1580                    java.lang.String device) {
1581                    return _layout.getThemeSetting(key, device);
1582            }
1583    
1584            public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties() {
1585                    return _layout.getTypeSettingsProperties();
1586            }
1587    
1588            public java.lang.String getTypeSettingsProperty(java.lang.String key) {
1589                    return _layout.getTypeSettingsProperty(key);
1590            }
1591    
1592            public java.lang.String getTypeSettingsProperty(java.lang.String key,
1593                    java.lang.String defaultValue) {
1594                    return _layout.getTypeSettingsProperty(key, defaultValue);
1595            }
1596    
1597            public com.liferay.portal.model.ColorScheme getWapColorScheme()
1598                    throws com.liferay.portal.kernel.exception.PortalException,
1599                            com.liferay.portal.kernel.exception.SystemException {
1600                    return _layout.getWapColorScheme();
1601            }
1602    
1603            public com.liferay.portal.model.Theme getWapTheme()
1604                    throws com.liferay.portal.kernel.exception.PortalException,
1605                            com.liferay.portal.kernel.exception.SystemException {
1606                    return _layout.getWapTheme();
1607            }
1608    
1609            public boolean hasAncestor(long layoutId)
1610                    throws com.liferay.portal.kernel.exception.PortalException,
1611                            com.liferay.portal.kernel.exception.SystemException {
1612                    return _layout.hasAncestor(layoutId);
1613            }
1614    
1615            public boolean hasChildren()
1616                    throws com.liferay.portal.kernel.exception.SystemException {
1617                    return _layout.hasChildren();
1618            }
1619    
1620            public boolean hasScopeGroup()
1621                    throws com.liferay.portal.kernel.exception.PortalException,
1622                            com.liferay.portal.kernel.exception.SystemException {
1623                    return _layout.hasScopeGroup();
1624            }
1625    
1626            public boolean isChildSelected(boolean selectable,
1627                    com.liferay.portal.model.Layout layout)
1628                    throws com.liferay.portal.kernel.exception.PortalException,
1629                            com.liferay.portal.kernel.exception.SystemException {
1630                    return _layout.isChildSelected(selectable, layout);
1631            }
1632    
1633            public boolean isContentDisplayPage() {
1634                    return _layout.isContentDisplayPage();
1635            }
1636    
1637            public boolean isFirstChild() {
1638                    return _layout.isFirstChild();
1639            }
1640    
1641            public boolean isFirstParent() {
1642                    return _layout.isFirstParent();
1643            }
1644    
1645            public boolean isInheritLookAndFeel() {
1646                    return _layout.isInheritLookAndFeel();
1647            }
1648    
1649            public boolean isInheritWapLookAndFeel() {
1650                    return _layout.isInheritWapLookAndFeel();
1651            }
1652    
1653            public boolean isLayoutPrototypeLinkActive() {
1654                    return _layout.isLayoutPrototypeLinkActive();
1655            }
1656    
1657            public boolean isPublicLayout() {
1658                    return _layout.isPublicLayout();
1659            }
1660    
1661            public boolean isRootLayout() {
1662                    return _layout.isRootLayout();
1663            }
1664    
1665            public boolean isSelected(boolean selectable,
1666                    com.liferay.portal.model.Layout layout, long ancestorPlid) {
1667                    return _layout.isSelected(selectable, layout, ancestorPlid);
1668            }
1669    
1670            public boolean isSupportsEmbeddedPortlets() {
1671                    return _layout.isSupportsEmbeddedPortlets();
1672            }
1673    
1674            public boolean isTypeArticle() {
1675                    return _layout.isTypeArticle();
1676            }
1677    
1678            public boolean isTypeControlPanel() {
1679                    return _layout.isTypeControlPanel();
1680            }
1681    
1682            public boolean isTypeEmbedded() {
1683                    return _layout.isTypeEmbedded();
1684            }
1685    
1686            public boolean isTypeLinkToLayout() {
1687                    return _layout.isTypeLinkToLayout();
1688            }
1689    
1690            public boolean isTypePanel() {
1691                    return _layout.isTypePanel();
1692            }
1693    
1694            public boolean isTypePortlet() {
1695                    return _layout.isTypePortlet();
1696            }
1697    
1698            public boolean isTypeURL() {
1699                    return _layout.isTypeURL();
1700            }
1701    
1702            public void setLayoutSet(com.liferay.portal.model.LayoutSet layoutSet) {
1703                    _layout.setLayoutSet(layoutSet);
1704            }
1705    
1706            public void setTypeSettingsProperties(
1707                    com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties) {
1708                    _layout.setTypeSettingsProperties(typeSettingsProperties);
1709            }
1710    
1711            /**
1712             * @deprecated Renamed to {@link #getWrappedModel}
1713             */
1714            public Layout getWrappedLayout() {
1715                    return _layout;
1716            }
1717    
1718            public Layout getWrappedModel() {
1719                    return _layout;
1720            }
1721    
1722            public void resetOriginalValues() {
1723                    _layout.resetOriginalValues();
1724            }
1725    
1726            private Layout _layout;
1727    }