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