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