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