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