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