001
014
015 package com.liferay.portal.model;
016
017 import java.util.Date;
018 import java.util.HashMap;
019 import java.util.Map;
020
021
030 public class LayoutSetBranchWrapper implements LayoutSetBranch,
031 ModelWrapper<LayoutSetBranch> {
032 public LayoutSetBranchWrapper(LayoutSetBranch layoutSetBranch) {
033 _layoutSetBranch = layoutSetBranch;
034 }
035
036 public Class<?> getModelClass() {
037 return LayoutSetBranch.class;
038 }
039
040 public String getModelClassName() {
041 return LayoutSetBranch.class.getName();
042 }
043
044 public Map<String, Object> getModelAttributes() {
045 Map<String, Object> attributes = new HashMap<String, Object>();
046
047 attributes.put("layoutSetBranchId", getLayoutSetBranchId());
048 attributes.put("groupId", getGroupId());
049 attributes.put("companyId", getCompanyId());
050 attributes.put("userId", getUserId());
051 attributes.put("userName", getUserName());
052 attributes.put("createDate", getCreateDate());
053 attributes.put("modifiedDate", getModifiedDate());
054 attributes.put("privateLayout", getPrivateLayout());
055 attributes.put("name", getName());
056 attributes.put("description", getDescription());
057 attributes.put("master", getMaster());
058 attributes.put("logo", getLogo());
059 attributes.put("logoId", getLogoId());
060 attributes.put("themeId", getThemeId());
061 attributes.put("colorSchemeId", getColorSchemeId());
062 attributes.put("wapThemeId", getWapThemeId());
063 attributes.put("wapColorSchemeId", getWapColorSchemeId());
064 attributes.put("css", getCss());
065 attributes.put("settings", getSettings());
066 attributes.put("layoutSetPrototypeUuid", getLayoutSetPrototypeUuid());
067 attributes.put("layoutSetPrototypeLinkEnabled",
068 getLayoutSetPrototypeLinkEnabled());
069
070 return attributes;
071 }
072
073 public void setModelAttributes(Map<String, Object> attributes) {
074 Long layoutSetBranchId = (Long)attributes.get("layoutSetBranchId");
075
076 if (layoutSetBranchId != null) {
077 setLayoutSetBranchId(layoutSetBranchId);
078 }
079
080 Long groupId = (Long)attributes.get("groupId");
081
082 if (groupId != null) {
083 setGroupId(groupId);
084 }
085
086 Long companyId = (Long)attributes.get("companyId");
087
088 if (companyId != null) {
089 setCompanyId(companyId);
090 }
091
092 Long userId = (Long)attributes.get("userId");
093
094 if (userId != null) {
095 setUserId(userId);
096 }
097
098 String userName = (String)attributes.get("userName");
099
100 if (userName != null) {
101 setUserName(userName);
102 }
103
104 Date createDate = (Date)attributes.get("createDate");
105
106 if (createDate != null) {
107 setCreateDate(createDate);
108 }
109
110 Date modifiedDate = (Date)attributes.get("modifiedDate");
111
112 if (modifiedDate != null) {
113 setModifiedDate(modifiedDate);
114 }
115
116 Boolean privateLayout = (Boolean)attributes.get("privateLayout");
117
118 if (privateLayout != null) {
119 setPrivateLayout(privateLayout);
120 }
121
122 String name = (String)attributes.get("name");
123
124 if (name != null) {
125 setName(name);
126 }
127
128 String description = (String)attributes.get("description");
129
130 if (description != null) {
131 setDescription(description);
132 }
133
134 Boolean master = (Boolean)attributes.get("master");
135
136 if (master != null) {
137 setMaster(master);
138 }
139
140 Boolean logo = (Boolean)attributes.get("logo");
141
142 if (logo != null) {
143 setLogo(logo);
144 }
145
146 Long logoId = (Long)attributes.get("logoId");
147
148 if (logoId != null) {
149 setLogoId(logoId);
150 }
151
152 String themeId = (String)attributes.get("themeId");
153
154 if (themeId != null) {
155 setThemeId(themeId);
156 }
157
158 String colorSchemeId = (String)attributes.get("colorSchemeId");
159
160 if (colorSchemeId != null) {
161 setColorSchemeId(colorSchemeId);
162 }
163
164 String wapThemeId = (String)attributes.get("wapThemeId");
165
166 if (wapThemeId != null) {
167 setWapThemeId(wapThemeId);
168 }
169
170 String wapColorSchemeId = (String)attributes.get("wapColorSchemeId");
171
172 if (wapColorSchemeId != null) {
173 setWapColorSchemeId(wapColorSchemeId);
174 }
175
176 String css = (String)attributes.get("css");
177
178 if (css != null) {
179 setCss(css);
180 }
181
182 String settings = (String)attributes.get("settings");
183
184 if (settings != null) {
185 setSettings(settings);
186 }
187
188 String layoutSetPrototypeUuid = (String)attributes.get(
189 "layoutSetPrototypeUuid");
190
191 if (layoutSetPrototypeUuid != null) {
192 setLayoutSetPrototypeUuid(layoutSetPrototypeUuid);
193 }
194
195 Boolean layoutSetPrototypeLinkEnabled = (Boolean)attributes.get(
196 "layoutSetPrototypeLinkEnabled");
197
198 if (layoutSetPrototypeLinkEnabled != null) {
199 setLayoutSetPrototypeLinkEnabled(layoutSetPrototypeLinkEnabled);
200 }
201 }
202
203
208 public long getPrimaryKey() {
209 return _layoutSetBranch.getPrimaryKey();
210 }
211
212
217 public void setPrimaryKey(long primaryKey) {
218 _layoutSetBranch.setPrimaryKey(primaryKey);
219 }
220
221
226 public long getLayoutSetBranchId() {
227 return _layoutSetBranch.getLayoutSetBranchId();
228 }
229
230
235 public void setLayoutSetBranchId(long layoutSetBranchId) {
236 _layoutSetBranch.setLayoutSetBranchId(layoutSetBranchId);
237 }
238
239
244 public long getGroupId() {
245 return _layoutSetBranch.getGroupId();
246 }
247
248
253 public void setGroupId(long groupId) {
254 _layoutSetBranch.setGroupId(groupId);
255 }
256
257
262 public long getCompanyId() {
263 return _layoutSetBranch.getCompanyId();
264 }
265
266
271 public void setCompanyId(long companyId) {
272 _layoutSetBranch.setCompanyId(companyId);
273 }
274
275
280 public long getUserId() {
281 return _layoutSetBranch.getUserId();
282 }
283
284
289 public void setUserId(long userId) {
290 _layoutSetBranch.setUserId(userId);
291 }
292
293
299 public java.lang.String getUserUuid()
300 throws com.liferay.portal.kernel.exception.SystemException {
301 return _layoutSetBranch.getUserUuid();
302 }
303
304
309 public void setUserUuid(java.lang.String userUuid) {
310 _layoutSetBranch.setUserUuid(userUuid);
311 }
312
313
318 public java.lang.String getUserName() {
319 return _layoutSetBranch.getUserName();
320 }
321
322
327 public void setUserName(java.lang.String userName) {
328 _layoutSetBranch.setUserName(userName);
329 }
330
331
336 public java.util.Date getCreateDate() {
337 return _layoutSetBranch.getCreateDate();
338 }
339
340
345 public void setCreateDate(java.util.Date createDate) {
346 _layoutSetBranch.setCreateDate(createDate);
347 }
348
349
354 public java.util.Date getModifiedDate() {
355 return _layoutSetBranch.getModifiedDate();
356 }
357
358
363 public void setModifiedDate(java.util.Date modifiedDate) {
364 _layoutSetBranch.setModifiedDate(modifiedDate);
365 }
366
367
372 public boolean getPrivateLayout() {
373 return _layoutSetBranch.getPrivateLayout();
374 }
375
376
381 public boolean isPrivateLayout() {
382 return _layoutSetBranch.isPrivateLayout();
383 }
384
385
390 public void setPrivateLayout(boolean privateLayout) {
391 _layoutSetBranch.setPrivateLayout(privateLayout);
392 }
393
394
399 public java.lang.String getName() {
400 return _layoutSetBranch.getName();
401 }
402
403
408 public void setName(java.lang.String name) {
409 _layoutSetBranch.setName(name);
410 }
411
412
417 public java.lang.String getDescription() {
418 return _layoutSetBranch.getDescription();
419 }
420
421
426 public void setDescription(java.lang.String description) {
427 _layoutSetBranch.setDescription(description);
428 }
429
430
435 public boolean getMaster() {
436 return _layoutSetBranch.getMaster();
437 }
438
439
444 public boolean isMaster() {
445 return _layoutSetBranch.isMaster();
446 }
447
448
453 public void setMaster(boolean master) {
454 _layoutSetBranch.setMaster(master);
455 }
456
457
462 public boolean getLogo() {
463 return _layoutSetBranch.getLogo();
464 }
465
466
471 public boolean isLogo() {
472 return _layoutSetBranch.isLogo();
473 }
474
475
480 public void setLogo(boolean logo) {
481 _layoutSetBranch.setLogo(logo);
482 }
483
484
489 public long getLogoId() {
490 return _layoutSetBranch.getLogoId();
491 }
492
493
498 public void setLogoId(long logoId) {
499 _layoutSetBranch.setLogoId(logoId);
500 }
501
502
507 public java.lang.String getThemeId() {
508 return _layoutSetBranch.getThemeId();
509 }
510
511
516 public void setThemeId(java.lang.String themeId) {
517 _layoutSetBranch.setThemeId(themeId);
518 }
519
520
525 public java.lang.String getColorSchemeId() {
526 return _layoutSetBranch.getColorSchemeId();
527 }
528
529
534 public void setColorSchemeId(java.lang.String colorSchemeId) {
535 _layoutSetBranch.setColorSchemeId(colorSchemeId);
536 }
537
538
543 public java.lang.String getWapThemeId() {
544 return _layoutSetBranch.getWapThemeId();
545 }
546
547
552 public void setWapThemeId(java.lang.String wapThemeId) {
553 _layoutSetBranch.setWapThemeId(wapThemeId);
554 }
555
556
561 public java.lang.String getWapColorSchemeId() {
562 return _layoutSetBranch.getWapColorSchemeId();
563 }
564
565
570 public void setWapColorSchemeId(java.lang.String wapColorSchemeId) {
571 _layoutSetBranch.setWapColorSchemeId(wapColorSchemeId);
572 }
573
574
579 public java.lang.String getCss() {
580 return _layoutSetBranch.getCss();
581 }
582
583
588 public void setCss(java.lang.String css) {
589 _layoutSetBranch.setCss(css);
590 }
591
592
597 public java.lang.String getSettings() {
598 return _layoutSetBranch.getSettings();
599 }
600
601
606 public void setSettings(java.lang.String settings) {
607 _layoutSetBranch.setSettings(settings);
608 }
609
610
615 public java.lang.String getLayoutSetPrototypeUuid() {
616 return _layoutSetBranch.getLayoutSetPrototypeUuid();
617 }
618
619
624 public void setLayoutSetPrototypeUuid(
625 java.lang.String layoutSetPrototypeUuid) {
626 _layoutSetBranch.setLayoutSetPrototypeUuid(layoutSetPrototypeUuid);
627 }
628
629
634 public boolean getLayoutSetPrototypeLinkEnabled() {
635 return _layoutSetBranch.getLayoutSetPrototypeLinkEnabled();
636 }
637
638
643 public boolean isLayoutSetPrototypeLinkEnabled() {
644 return _layoutSetBranch.isLayoutSetPrototypeLinkEnabled();
645 }
646
647
652 public void setLayoutSetPrototypeLinkEnabled(
653 boolean layoutSetPrototypeLinkEnabled) {
654 _layoutSetBranch.setLayoutSetPrototypeLinkEnabled(layoutSetPrototypeLinkEnabled);
655 }
656
657 public boolean isNew() {
658 return _layoutSetBranch.isNew();
659 }
660
661 public void setNew(boolean n) {
662 _layoutSetBranch.setNew(n);
663 }
664
665 public boolean isCachedModel() {
666 return _layoutSetBranch.isCachedModel();
667 }
668
669 public void setCachedModel(boolean cachedModel) {
670 _layoutSetBranch.setCachedModel(cachedModel);
671 }
672
673 public boolean isEscapedModel() {
674 return _layoutSetBranch.isEscapedModel();
675 }
676
677 public java.io.Serializable getPrimaryKeyObj() {
678 return _layoutSetBranch.getPrimaryKeyObj();
679 }
680
681 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
682 _layoutSetBranch.setPrimaryKeyObj(primaryKeyObj);
683 }
684
685 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
686 return _layoutSetBranch.getExpandoBridge();
687 }
688
689 public void setExpandoBridgeAttributes(
690 com.liferay.portal.model.BaseModel<?> baseModel) {
691 _layoutSetBranch.setExpandoBridgeAttributes(baseModel);
692 }
693
694 public void setExpandoBridgeAttributes(
695 com.liferay.portlet.expando.model.ExpandoBridge expandoBridge) {
696 _layoutSetBranch.setExpandoBridgeAttributes(expandoBridge);
697 }
698
699 public void setExpandoBridgeAttributes(
700 com.liferay.portal.service.ServiceContext serviceContext) {
701 _layoutSetBranch.setExpandoBridgeAttributes(serviceContext);
702 }
703
704 @Override
705 public java.lang.Object clone() {
706 return new LayoutSetBranchWrapper((LayoutSetBranch)_layoutSetBranch.clone());
707 }
708
709 public int compareTo(
710 com.liferay.portal.model.LayoutSetBranch layoutSetBranch) {
711 return _layoutSetBranch.compareTo(layoutSetBranch);
712 }
713
714 @Override
715 public int hashCode() {
716 return _layoutSetBranch.hashCode();
717 }
718
719 public com.liferay.portal.model.CacheModel<com.liferay.portal.model.LayoutSetBranch> toCacheModel() {
720 return _layoutSetBranch.toCacheModel();
721 }
722
723 public com.liferay.portal.model.LayoutSetBranch toEscapedModel() {
724 return new LayoutSetBranchWrapper(_layoutSetBranch.toEscapedModel());
725 }
726
727 public com.liferay.portal.model.LayoutSetBranch toUnescapedModel() {
728 return new LayoutSetBranchWrapper(_layoutSetBranch.toUnescapedModel());
729 }
730
731 @Override
732 public java.lang.String toString() {
733 return _layoutSetBranch.toString();
734 }
735
736 public java.lang.String toXmlString() {
737 return _layoutSetBranch.toXmlString();
738 }
739
740 public void persist()
741 throws com.liferay.portal.kernel.exception.SystemException {
742 _layoutSetBranch.persist();
743 }
744
745 public com.liferay.portal.model.ColorScheme getColorScheme()
746 throws com.liferay.portal.kernel.exception.SystemException {
747 return _layoutSetBranch.getColorScheme();
748 }
749
750 public com.liferay.portal.model.Group getGroup()
751 throws com.liferay.portal.kernel.exception.PortalException,
752 com.liferay.portal.kernel.exception.SystemException {
753 return _layoutSetBranch.getGroup();
754 }
755
756 public com.liferay.portal.model.LayoutSet getLayoutSet() {
757 return _layoutSetBranch.getLayoutSet();
758 }
759
760 public long getLiveLogoId() {
761 return _layoutSetBranch.getLiveLogoId();
762 }
763
764 public com.liferay.portal.kernel.util.UnicodeProperties getSettingsProperties() {
765 return _layoutSetBranch.getSettingsProperties();
766 }
767
768 public java.lang.String getSettingsProperty(java.lang.String key) {
769 return _layoutSetBranch.getSettingsProperty(key);
770 }
771
772 public com.liferay.portal.model.Theme getTheme()
773 throws com.liferay.portal.kernel.exception.SystemException {
774 return _layoutSetBranch.getTheme();
775 }
776
777 public java.lang.String getThemeSetting(java.lang.String key,
778 java.lang.String device)
779 throws com.liferay.portal.kernel.exception.SystemException {
780 return _layoutSetBranch.getThemeSetting(key, device);
781 }
782
783 public com.liferay.portal.model.ColorScheme getWapColorScheme()
784 throws com.liferay.portal.kernel.exception.SystemException {
785 return _layoutSetBranch.getWapColorScheme();
786 }
787
788 public com.liferay.portal.model.Theme getWapTheme()
789 throws com.liferay.portal.kernel.exception.SystemException {
790 return _layoutSetBranch.getWapTheme();
791 }
792
793 public boolean isLayoutSetPrototypeLinkActive() {
794 return _layoutSetBranch.isLayoutSetPrototypeLinkActive();
795 }
796
797 public void setSettingsProperties(
798 com.liferay.portal.kernel.util.UnicodeProperties settingsProperties) {
799 _layoutSetBranch.setSettingsProperties(settingsProperties);
800 }
801
802
805 public LayoutSetBranch getWrappedLayoutSetBranch() {
806 return _layoutSetBranch;
807 }
808
809 public LayoutSetBranch getWrappedModel() {
810 return _layoutSetBranch;
811 }
812
813 public void resetOriginalValues() {
814 _layoutSetBranch.resetOriginalValues();
815 }
816
817 private LayoutSetBranch _layoutSetBranch;
818 }