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