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