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