001    /**
002     * Copyright (c) 2000-2013 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 LayoutSetBranch}.
028     * </p>
029     *
030     * @author Brian Wing Shun Chan
031     * @see LayoutSetBranch
032     * @generated
033     */
034    @ProviderType
035    public class LayoutSetBranchWrapper implements LayoutSetBranch,
036            ModelWrapper<LayoutSetBranch> {
037            public LayoutSetBranchWrapper(LayoutSetBranch layoutSetBranch) {
038                    _layoutSetBranch = layoutSetBranch;
039            }
040    
041            @Override
042            public Class<?> getModelClass() {
043                    return LayoutSetBranch.class;
044            }
045    
046            @Override
047            public String getModelClassName() {
048                    return LayoutSetBranch.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("layoutSetBranchId", getLayoutSetBranchId());
056                    attributes.put("groupId", getGroupId());
057                    attributes.put("companyId", getCompanyId());
058                    attributes.put("userId", getUserId());
059                    attributes.put("userName", getUserName());
060                    attributes.put("createDate", getCreateDate());
061                    attributes.put("modifiedDate", getModifiedDate());
062                    attributes.put("privateLayout", getPrivateLayout());
063                    attributes.put("name", getName());
064                    attributes.put("description", getDescription());
065                    attributes.put("master", getMaster());
066                    attributes.put("logo", getLogo());
067                    attributes.put("logoId", getLogoId());
068                    attributes.put("themeId", getThemeId());
069                    attributes.put("colorSchemeId", getColorSchemeId());
070                    attributes.put("wapThemeId", getWapThemeId());
071                    attributes.put("wapColorSchemeId", getWapColorSchemeId());
072                    attributes.put("css", getCss());
073                    attributes.put("settings", getSettings());
074                    attributes.put("layoutSetPrototypeUuid", getLayoutSetPrototypeUuid());
075                    attributes.put("layoutSetPrototypeLinkEnabled",
076                            getLayoutSetPrototypeLinkEnabled());
077    
078                    return attributes;
079            }
080    
081            @Override
082            public void setModelAttributes(Map<String, Object> attributes) {
083                    Long layoutSetBranchId = (Long)attributes.get("layoutSetBranchId");
084    
085                    if (layoutSetBranchId != null) {
086                            setLayoutSetBranchId(layoutSetBranchId);
087                    }
088    
089                    Long groupId = (Long)attributes.get("groupId");
090    
091                    if (groupId != null) {
092                            setGroupId(groupId);
093                    }
094    
095                    Long companyId = (Long)attributes.get("companyId");
096    
097                    if (companyId != null) {
098                            setCompanyId(companyId);
099                    }
100    
101                    Long userId = (Long)attributes.get("userId");
102    
103                    if (userId != null) {
104                            setUserId(userId);
105                    }
106    
107                    String userName = (String)attributes.get("userName");
108    
109                    if (userName != null) {
110                            setUserName(userName);
111                    }
112    
113                    Date createDate = (Date)attributes.get("createDate");
114    
115                    if (createDate != null) {
116                            setCreateDate(createDate);
117                    }
118    
119                    Date modifiedDate = (Date)attributes.get("modifiedDate");
120    
121                    if (modifiedDate != null) {
122                            setModifiedDate(modifiedDate);
123                    }
124    
125                    Boolean privateLayout = (Boolean)attributes.get("privateLayout");
126    
127                    if (privateLayout != null) {
128                            setPrivateLayout(privateLayout);
129                    }
130    
131                    String name = (String)attributes.get("name");
132    
133                    if (name != null) {
134                            setName(name);
135                    }
136    
137                    String description = (String)attributes.get("description");
138    
139                    if (description != null) {
140                            setDescription(description);
141                    }
142    
143                    Boolean master = (Boolean)attributes.get("master");
144    
145                    if (master != null) {
146                            setMaster(master);
147                    }
148    
149                    Boolean logo = (Boolean)attributes.get("logo");
150    
151                    if (logo != null) {
152                            setLogo(logo);
153                    }
154    
155                    Long logoId = (Long)attributes.get("logoId");
156    
157                    if (logoId != null) {
158                            setLogoId(logoId);
159                    }
160    
161                    String themeId = (String)attributes.get("themeId");
162    
163                    if (themeId != null) {
164                            setThemeId(themeId);
165                    }
166    
167                    String colorSchemeId = (String)attributes.get("colorSchemeId");
168    
169                    if (colorSchemeId != null) {
170                            setColorSchemeId(colorSchemeId);
171                    }
172    
173                    String wapThemeId = (String)attributes.get("wapThemeId");
174    
175                    if (wapThemeId != null) {
176                            setWapThemeId(wapThemeId);
177                    }
178    
179                    String wapColorSchemeId = (String)attributes.get("wapColorSchemeId");
180    
181                    if (wapColorSchemeId != null) {
182                            setWapColorSchemeId(wapColorSchemeId);
183                    }
184    
185                    String css = (String)attributes.get("css");
186    
187                    if (css != null) {
188                            setCss(css);
189                    }
190    
191                    String settings = (String)attributes.get("settings");
192    
193                    if (settings != null) {
194                            setSettings(settings);
195                    }
196    
197                    String layoutSetPrototypeUuid = (String)attributes.get(
198                                    "layoutSetPrototypeUuid");
199    
200                    if (layoutSetPrototypeUuid != null) {
201                            setLayoutSetPrototypeUuid(layoutSetPrototypeUuid);
202                    }
203    
204                    Boolean layoutSetPrototypeLinkEnabled = (Boolean)attributes.get(
205                                    "layoutSetPrototypeLinkEnabled");
206    
207                    if (layoutSetPrototypeLinkEnabled != null) {
208                            setLayoutSetPrototypeLinkEnabled(layoutSetPrototypeLinkEnabled);
209                    }
210            }
211    
212            /**
213            * Returns the primary key of this layout set branch.
214            *
215            * @return the primary key of this layout set branch
216            */
217            @Override
218            public long getPrimaryKey() {
219                    return _layoutSetBranch.getPrimaryKey();
220            }
221    
222            /**
223            * Sets the primary key of this layout set branch.
224            *
225            * @param primaryKey the primary key of this layout set branch
226            */
227            @Override
228            public void setPrimaryKey(long primaryKey) {
229                    _layoutSetBranch.setPrimaryKey(primaryKey);
230            }
231    
232            /**
233            * Returns the layout set branch ID of this layout set branch.
234            *
235            * @return the layout set branch ID of this layout set branch
236            */
237            @Override
238            public long getLayoutSetBranchId() {
239                    return _layoutSetBranch.getLayoutSetBranchId();
240            }
241    
242            /**
243            * Sets the layout set branch ID of this layout set branch.
244            *
245            * @param layoutSetBranchId the layout set branch ID of this layout set branch
246            */
247            @Override
248            public void setLayoutSetBranchId(long layoutSetBranchId) {
249                    _layoutSetBranch.setLayoutSetBranchId(layoutSetBranchId);
250            }
251    
252            /**
253            * Returns the group ID of this layout set branch.
254            *
255            * @return the group ID of this layout set branch
256            */
257            @Override
258            public long getGroupId() {
259                    return _layoutSetBranch.getGroupId();
260            }
261    
262            /**
263            * Sets the group ID of this layout set branch.
264            *
265            * @param groupId the group ID of this layout set branch
266            */
267            @Override
268            public void setGroupId(long groupId) {
269                    _layoutSetBranch.setGroupId(groupId);
270            }
271    
272            /**
273            * Returns the company ID of this layout set branch.
274            *
275            * @return the company ID of this layout set branch
276            */
277            @Override
278            public long getCompanyId() {
279                    return _layoutSetBranch.getCompanyId();
280            }
281    
282            /**
283            * Sets the company ID of this layout set branch.
284            *
285            * @param companyId the company ID of this layout set branch
286            */
287            @Override
288            public void setCompanyId(long companyId) {
289                    _layoutSetBranch.setCompanyId(companyId);
290            }
291    
292            /**
293            * Returns the user ID of this layout set branch.
294            *
295            * @return the user ID of this layout set branch
296            */
297            @Override
298            public long getUserId() {
299                    return _layoutSetBranch.getUserId();
300            }
301    
302            /**
303            * Sets the user ID of this layout set branch.
304            *
305            * @param userId the user ID of this layout set branch
306            */
307            @Override
308            public void setUserId(long userId) {
309                    _layoutSetBranch.setUserId(userId);
310            }
311    
312            /**
313            * Returns the user uuid of this layout set branch.
314            *
315            * @return the user uuid of this layout set branch
316            * @throws SystemException if a system exception occurred
317            */
318            @Override
319            public java.lang.String getUserUuid()
320                    throws com.liferay.portal.kernel.exception.SystemException {
321                    return _layoutSetBranch.getUserUuid();
322            }
323    
324            /**
325            * Sets the user uuid of this layout set branch.
326            *
327            * @param userUuid the user uuid of this layout set branch
328            */
329            @Override
330            public void setUserUuid(java.lang.String userUuid) {
331                    _layoutSetBranch.setUserUuid(userUuid);
332            }
333    
334            /**
335            * Returns the user name of this layout set branch.
336            *
337            * @return the user name of this layout set branch
338            */
339            @Override
340            public java.lang.String getUserName() {
341                    return _layoutSetBranch.getUserName();
342            }
343    
344            /**
345            * Sets the user name of this layout set branch.
346            *
347            * @param userName the user name of this layout set branch
348            */
349            @Override
350            public void setUserName(java.lang.String userName) {
351                    _layoutSetBranch.setUserName(userName);
352            }
353    
354            /**
355            * Returns the create date of this layout set branch.
356            *
357            * @return the create date of this layout set branch
358            */
359            @Override
360            public java.util.Date getCreateDate() {
361                    return _layoutSetBranch.getCreateDate();
362            }
363    
364            /**
365            * Sets the create date of this layout set branch.
366            *
367            * @param createDate the create date of this layout set branch
368            */
369            @Override
370            public void setCreateDate(java.util.Date createDate) {
371                    _layoutSetBranch.setCreateDate(createDate);
372            }
373    
374            /**
375            * Returns the modified date of this layout set branch.
376            *
377            * @return the modified date of this layout set branch
378            */
379            @Override
380            public java.util.Date getModifiedDate() {
381                    return _layoutSetBranch.getModifiedDate();
382            }
383    
384            /**
385            * Sets the modified date of this layout set branch.
386            *
387            * @param modifiedDate the modified date of this layout set branch
388            */
389            @Override
390            public void setModifiedDate(java.util.Date modifiedDate) {
391                    _layoutSetBranch.setModifiedDate(modifiedDate);
392            }
393    
394            /**
395            * Returns the private layout of this layout set branch.
396            *
397            * @return the private layout of this layout set branch
398            */
399            @Override
400            public boolean getPrivateLayout() {
401                    return _layoutSetBranch.getPrivateLayout();
402            }
403    
404            /**
405            * Returns <code>true</code> if this layout set branch is private layout.
406            *
407            * @return <code>true</code> if this layout set branch is private layout; <code>false</code> otherwise
408            */
409            @Override
410            public boolean isPrivateLayout() {
411                    return _layoutSetBranch.isPrivateLayout();
412            }
413    
414            /**
415            * Sets whether this layout set branch is private layout.
416            *
417            * @param privateLayout the private layout of this layout set branch
418            */
419            @Override
420            public void setPrivateLayout(boolean privateLayout) {
421                    _layoutSetBranch.setPrivateLayout(privateLayout);
422            }
423    
424            /**
425            * Returns the name of this layout set branch.
426            *
427            * @return the name of this layout set branch
428            */
429            @Override
430            public java.lang.String getName() {
431                    return _layoutSetBranch.getName();
432            }
433    
434            /**
435            * Sets the name of this layout set branch.
436            *
437            * @param name the name of this layout set branch
438            */
439            @Override
440            public void setName(java.lang.String name) {
441                    _layoutSetBranch.setName(name);
442            }
443    
444            /**
445            * Returns the description of this layout set branch.
446            *
447            * @return the description of this layout set branch
448            */
449            @Override
450            public java.lang.String getDescription() {
451                    return _layoutSetBranch.getDescription();
452            }
453    
454            /**
455            * Sets the description of this layout set branch.
456            *
457            * @param description the description of this layout set branch
458            */
459            @Override
460            public void setDescription(java.lang.String description) {
461                    _layoutSetBranch.setDescription(description);
462            }
463    
464            /**
465            * Returns the master of this layout set branch.
466            *
467            * @return the master of this layout set branch
468            */
469            @Override
470            public boolean getMaster() {
471                    return _layoutSetBranch.getMaster();
472            }
473    
474            /**
475            * Returns <code>true</code> if this layout set branch is master.
476            *
477            * @return <code>true</code> if this layout set branch is master; <code>false</code> otherwise
478            */
479            @Override
480            public boolean isMaster() {
481                    return _layoutSetBranch.isMaster();
482            }
483    
484            /**
485            * Sets whether this layout set branch is master.
486            *
487            * @param master the master of this layout set branch
488            */
489            @Override
490            public void setMaster(boolean master) {
491                    _layoutSetBranch.setMaster(master);
492            }
493    
494            /**
495            * Returns the logo of this layout set branch.
496            *
497            * @return the logo of this layout set branch
498            */
499            @Override
500            public boolean getLogo() {
501                    return _layoutSetBranch.getLogo();
502            }
503    
504            /**
505            * Returns <code>true</code> if this layout set branch is logo.
506            *
507            * @return <code>true</code> if this layout set branch is logo; <code>false</code> otherwise
508            */
509            @Override
510            public boolean isLogo() {
511                    return _layoutSetBranch.isLogo();
512            }
513    
514            /**
515            * Sets whether this layout set branch is logo.
516            *
517            * @param logo the logo of this layout set branch
518            */
519            @Override
520            public void setLogo(boolean logo) {
521                    _layoutSetBranch.setLogo(logo);
522            }
523    
524            /**
525            * Returns the logo ID of this layout set branch.
526            *
527            * @return the logo ID of this layout set branch
528            */
529            @Override
530            public long getLogoId() {
531                    return _layoutSetBranch.getLogoId();
532            }
533    
534            /**
535            * Sets the logo ID of this layout set branch.
536            *
537            * @param logoId the logo ID of this layout set branch
538            */
539            @Override
540            public void setLogoId(long logoId) {
541                    _layoutSetBranch.setLogoId(logoId);
542            }
543    
544            /**
545            * Returns the theme ID of this layout set branch.
546            *
547            * @return the theme ID of this layout set branch
548            */
549            @Override
550            public java.lang.String getThemeId() {
551                    return _layoutSetBranch.getThemeId();
552            }
553    
554            /**
555            * Sets the theme ID of this layout set branch.
556            *
557            * @param themeId the theme ID of this layout set branch
558            */
559            @Override
560            public void setThemeId(java.lang.String themeId) {
561                    _layoutSetBranch.setThemeId(themeId);
562            }
563    
564            /**
565            * Returns the color scheme ID of this layout set branch.
566            *
567            * @return the color scheme ID of this layout set branch
568            */
569            @Override
570            public java.lang.String getColorSchemeId() {
571                    return _layoutSetBranch.getColorSchemeId();
572            }
573    
574            /**
575            * Sets the color scheme ID of this layout set branch.
576            *
577            * @param colorSchemeId the color scheme ID of this layout set branch
578            */
579            @Override
580            public void setColorSchemeId(java.lang.String colorSchemeId) {
581                    _layoutSetBranch.setColorSchemeId(colorSchemeId);
582            }
583    
584            /**
585            * Returns the wap theme ID of this layout set branch.
586            *
587            * @return the wap theme ID of this layout set branch
588            */
589            @Override
590            public java.lang.String getWapThemeId() {
591                    return _layoutSetBranch.getWapThemeId();
592            }
593    
594            /**
595            * Sets the wap theme ID of this layout set branch.
596            *
597            * @param wapThemeId the wap theme ID of this layout set branch
598            */
599            @Override
600            public void setWapThemeId(java.lang.String wapThemeId) {
601                    _layoutSetBranch.setWapThemeId(wapThemeId);
602            }
603    
604            /**
605            * Returns the wap color scheme ID of this layout set branch.
606            *
607            * @return the wap color scheme ID of this layout set branch
608            */
609            @Override
610            public java.lang.String getWapColorSchemeId() {
611                    return _layoutSetBranch.getWapColorSchemeId();
612            }
613    
614            /**
615            * Sets the wap color scheme ID of this layout set branch.
616            *
617            * @param wapColorSchemeId the wap color scheme ID of this layout set branch
618            */
619            @Override
620            public void setWapColorSchemeId(java.lang.String wapColorSchemeId) {
621                    _layoutSetBranch.setWapColorSchemeId(wapColorSchemeId);
622            }
623    
624            /**
625            * Returns the css of this layout set branch.
626            *
627            * @return the css of this layout set branch
628            */
629            @Override
630            public java.lang.String getCss() {
631                    return _layoutSetBranch.getCss();
632            }
633    
634            /**
635            * Sets the css of this layout set branch.
636            *
637            * @param css the css of this layout set branch
638            */
639            @Override
640            public void setCss(java.lang.String css) {
641                    _layoutSetBranch.setCss(css);
642            }
643    
644            /**
645            * Returns the settings of this layout set branch.
646            *
647            * @return the settings of this layout set branch
648            */
649            @Override
650            public java.lang.String getSettings() {
651                    return _layoutSetBranch.getSettings();
652            }
653    
654            /**
655            * Sets the settings of this layout set branch.
656            *
657            * @param settings the settings of this layout set branch
658            */
659            @Override
660            public void setSettings(java.lang.String settings) {
661                    _layoutSetBranch.setSettings(settings);
662            }
663    
664            /**
665            * Returns the layout set prototype uuid of this layout set branch.
666            *
667            * @return the layout set prototype uuid of this layout set branch
668            */
669            @Override
670            public java.lang.String getLayoutSetPrototypeUuid() {
671                    return _layoutSetBranch.getLayoutSetPrototypeUuid();
672            }
673    
674            /**
675            * Sets the layout set prototype uuid of this layout set branch.
676            *
677            * @param layoutSetPrototypeUuid the layout set prototype uuid of this layout set branch
678            */
679            @Override
680            public void setLayoutSetPrototypeUuid(
681                    java.lang.String layoutSetPrototypeUuid) {
682                    _layoutSetBranch.setLayoutSetPrototypeUuid(layoutSetPrototypeUuid);
683            }
684    
685            /**
686            * Returns the layout set prototype link enabled of this layout set branch.
687            *
688            * @return the layout set prototype link enabled of this layout set branch
689            */
690            @Override
691            public boolean getLayoutSetPrototypeLinkEnabled() {
692                    return _layoutSetBranch.getLayoutSetPrototypeLinkEnabled();
693            }
694    
695            /**
696            * Returns <code>true</code> if this layout set branch is layout set prototype link enabled.
697            *
698            * @return <code>true</code> if this layout set branch is layout set prototype link enabled; <code>false</code> otherwise
699            */
700            @Override
701            public boolean isLayoutSetPrototypeLinkEnabled() {
702                    return _layoutSetBranch.isLayoutSetPrototypeLinkEnabled();
703            }
704    
705            /**
706            * Sets whether this layout set branch is layout set prototype link enabled.
707            *
708            * @param layoutSetPrototypeLinkEnabled the layout set prototype link enabled of this layout set branch
709            */
710            @Override
711            public void setLayoutSetPrototypeLinkEnabled(
712                    boolean layoutSetPrototypeLinkEnabled) {
713                    _layoutSetBranch.setLayoutSetPrototypeLinkEnabled(layoutSetPrototypeLinkEnabled);
714            }
715    
716            @Override
717            public boolean isNew() {
718                    return _layoutSetBranch.isNew();
719            }
720    
721            @Override
722            public void setNew(boolean n) {
723                    _layoutSetBranch.setNew(n);
724            }
725    
726            @Override
727            public boolean isCachedModel() {
728                    return _layoutSetBranch.isCachedModel();
729            }
730    
731            @Override
732            public void setCachedModel(boolean cachedModel) {
733                    _layoutSetBranch.setCachedModel(cachedModel);
734            }
735    
736            @Override
737            public boolean isEscapedModel() {
738                    return _layoutSetBranch.isEscapedModel();
739            }
740    
741            @Override
742            public java.io.Serializable getPrimaryKeyObj() {
743                    return _layoutSetBranch.getPrimaryKeyObj();
744            }
745    
746            @Override
747            public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
748                    _layoutSetBranch.setPrimaryKeyObj(primaryKeyObj);
749            }
750    
751            @Override
752            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
753                    return _layoutSetBranch.getExpandoBridge();
754            }
755    
756            @Override
757            public void setExpandoBridgeAttributes(
758                    com.liferay.portal.model.BaseModel<?> baseModel) {
759                    _layoutSetBranch.setExpandoBridgeAttributes(baseModel);
760            }
761    
762            @Override
763            public void setExpandoBridgeAttributes(
764                    com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
765                    _layoutSetBranch.setExpandoBridgeAttributes(expandoBridge);
766            }
767    
768            @Override
769            public void setExpandoBridgeAttributes(
770                    com.liferay.portal.service.ServiceContext serviceContext) {
771                    _layoutSetBranch.setExpandoBridgeAttributes(serviceContext);
772            }
773    
774            @Override
775            public java.lang.Object clone() {
776                    return new LayoutSetBranchWrapper((LayoutSetBranch)_layoutSetBranch.clone());
777            }
778    
779            @Override
780            public int compareTo(
781                    com.liferay.portal.model.LayoutSetBranch layoutSetBranch) {
782                    return _layoutSetBranch.compareTo(layoutSetBranch);
783            }
784    
785            @Override
786            public int hashCode() {
787                    return _layoutSetBranch.hashCode();
788            }
789    
790            @Override
791            public com.liferay.portal.model.CacheModel<com.liferay.portal.model.LayoutSetBranch> toCacheModel() {
792                    return _layoutSetBranch.toCacheModel();
793            }
794    
795            @Override
796            public com.liferay.portal.model.LayoutSetBranch toEscapedModel() {
797                    return new LayoutSetBranchWrapper(_layoutSetBranch.toEscapedModel());
798            }
799    
800            @Override
801            public com.liferay.portal.model.LayoutSetBranch toUnescapedModel() {
802                    return new LayoutSetBranchWrapper(_layoutSetBranch.toUnescapedModel());
803            }
804    
805            @Override
806            public java.lang.String toString() {
807                    return _layoutSetBranch.toString();
808            }
809    
810            @Override
811            public java.lang.String toXmlString() {
812                    return _layoutSetBranch.toXmlString();
813            }
814    
815            @Override
816            public void persist()
817                    throws com.liferay.portal.kernel.exception.SystemException {
818                    _layoutSetBranch.persist();
819            }
820    
821            @Override
822            public com.liferay.portal.model.ColorScheme getColorScheme()
823                    throws com.liferay.portal.kernel.exception.SystemException {
824                    return _layoutSetBranch.getColorScheme();
825            }
826    
827            @Override
828            public com.liferay.portal.model.Group getGroup()
829                    throws com.liferay.portal.kernel.exception.PortalException,
830                            com.liferay.portal.kernel.exception.SystemException {
831                    return _layoutSetBranch.getGroup();
832            }
833    
834            @Override
835            public com.liferay.portal.model.LayoutSet getLayoutSet() {
836                    return _layoutSetBranch.getLayoutSet();
837            }
838    
839            @Override
840            public long getLiveLogoId() {
841                    return _layoutSetBranch.getLiveLogoId();
842            }
843    
844            @Override
845            public com.liferay.portal.kernel.util.UnicodeProperties getSettingsProperties() {
846                    return _layoutSetBranch.getSettingsProperties();
847            }
848    
849            @Override
850            public java.lang.String getSettingsProperty(java.lang.String key) {
851                    return _layoutSetBranch.getSettingsProperty(key);
852            }
853    
854            @Override
855            public com.liferay.portal.model.Theme getTheme()
856                    throws com.liferay.portal.kernel.exception.SystemException {
857                    return _layoutSetBranch.getTheme();
858            }
859    
860            @Override
861            public java.lang.String getThemeSetting(java.lang.String key,
862                    java.lang.String device)
863                    throws com.liferay.portal.kernel.exception.SystemException {
864                    return _layoutSetBranch.getThemeSetting(key, device);
865            }
866    
867            @Override
868            public com.liferay.portal.model.ColorScheme getWapColorScheme()
869                    throws com.liferay.portal.kernel.exception.SystemException {
870                    return _layoutSetBranch.getWapColorScheme();
871            }
872    
873            @Override
874            public com.liferay.portal.model.Theme getWapTheme()
875                    throws com.liferay.portal.kernel.exception.SystemException {
876                    return _layoutSetBranch.getWapTheme();
877            }
878    
879            @Override
880            public boolean isLayoutSetPrototypeLinkActive() {
881                    return _layoutSetBranch.isLayoutSetPrototypeLinkActive();
882            }
883    
884            @Override
885            public void setSettingsProperties(
886                    com.liferay.portal.kernel.util.UnicodeProperties settingsProperties) {
887                    _layoutSetBranch.setSettingsProperties(settingsProperties);
888            }
889    
890            @Override
891            public boolean equals(Object obj) {
892                    if (this == obj) {
893                            return true;
894                    }
895    
896                    if (!(obj instanceof LayoutSetBranchWrapper)) {
897                            return false;
898                    }
899    
900                    LayoutSetBranchWrapper layoutSetBranchWrapper = (LayoutSetBranchWrapper)obj;
901    
902                    if (Validator.equals(_layoutSetBranch,
903                                            layoutSetBranchWrapper._layoutSetBranch)) {
904                            return true;
905                    }
906    
907                    return false;
908            }
909    
910            /**
911             * @deprecated As of 6.1.0, replaced by {@link #getWrappedModel}
912             */
913            public LayoutSetBranch getWrappedLayoutSetBranch() {
914                    return _layoutSetBranch;
915            }
916    
917            @Override
918            public LayoutSetBranch getWrappedModel() {
919                    return _layoutSetBranch;
920            }
921    
922            @Override
923            public void resetOriginalValues() {
924                    _layoutSetBranch.resetOriginalValues();
925            }
926    
927            private LayoutSetBranch _layoutSetBranch;
928    }