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