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