001
014
015 package com.liferay.portal.model;
016
017 import com.liferay.portal.kernel.util.Validator;
018
019 import java.util.Date;
020 import java.util.HashMap;
021 import java.util.Map;
022
023
032 public class LayoutWrapper implements Layout, ModelWrapper<Layout> {
033 public LayoutWrapper(Layout layout) {
034 _layout = layout;
035 }
036
037 public Class<?> getModelClass() {
038 return Layout.class;
039 }
040
041 public String getModelClassName() {
042 return Layout.class.getName();
043 }
044
045 public Map<String, Object> getModelAttributes() {
046 Map<String, Object> attributes = new HashMap<String, Object>();
047
048 attributes.put("uuid", getUuid());
049 attributes.put("plid", getPlid());
050 attributes.put("groupId", getGroupId());
051 attributes.put("companyId", getCompanyId());
052 attributes.put("createDate", getCreateDate());
053 attributes.put("modifiedDate", getModifiedDate());
054 attributes.put("privateLayout", getPrivateLayout());
055 attributes.put("layoutId", getLayoutId());
056 attributes.put("parentLayoutId", getParentLayoutId());
057 attributes.put("name", getName());
058 attributes.put("title", getTitle());
059 attributes.put("description", getDescription());
060 attributes.put("keywords", getKeywords());
061 attributes.put("robots", getRobots());
062 attributes.put("type", getType());
063 attributes.put("typeSettings", getTypeSettings());
064 attributes.put("hidden", getHidden());
065 attributes.put("friendlyURL", getFriendlyURL());
066 attributes.put("iconImage", getIconImage());
067 attributes.put("iconImageId", getIconImageId());
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("priority", getPriority());
074 attributes.put("layoutPrototypeUuid", getLayoutPrototypeUuid());
075 attributes.put("layoutPrototypeLinkEnabled",
076 getLayoutPrototypeLinkEnabled());
077 attributes.put("sourcePrototypeLayoutUuid",
078 getSourcePrototypeLayoutUuid());
079
080 return attributes;
081 }
082
083 public void setModelAttributes(Map<String, Object> attributes) {
084 String uuid = (String)attributes.get("uuid");
085
086 if (uuid != null) {
087 setUuid(uuid);
088 }
089
090 Long plid = (Long)attributes.get("plid");
091
092 if (plid != null) {
093 setPlid(plid);
094 }
095
096 Long groupId = (Long)attributes.get("groupId");
097
098 if (groupId != null) {
099 setGroupId(groupId);
100 }
101
102 Long companyId = (Long)attributes.get("companyId");
103
104 if (companyId != null) {
105 setCompanyId(companyId);
106 }
107
108 Date createDate = (Date)attributes.get("createDate");
109
110 if (createDate != null) {
111 setCreateDate(createDate);
112 }
113
114 Date modifiedDate = (Date)attributes.get("modifiedDate");
115
116 if (modifiedDate != null) {
117 setModifiedDate(modifiedDate);
118 }
119
120 Boolean privateLayout = (Boolean)attributes.get("privateLayout");
121
122 if (privateLayout != null) {
123 setPrivateLayout(privateLayout);
124 }
125
126 Long layoutId = (Long)attributes.get("layoutId");
127
128 if (layoutId != null) {
129 setLayoutId(layoutId);
130 }
131
132 Long parentLayoutId = (Long)attributes.get("parentLayoutId");
133
134 if (parentLayoutId != null) {
135 setParentLayoutId(parentLayoutId);
136 }
137
138 String name = (String)attributes.get("name");
139
140 if (name != null) {
141 setName(name);
142 }
143
144 String title = (String)attributes.get("title");
145
146 if (title != null) {
147 setTitle(title);
148 }
149
150 String description = (String)attributes.get("description");
151
152 if (description != null) {
153 setDescription(description);
154 }
155
156 String keywords = (String)attributes.get("keywords");
157
158 if (keywords != null) {
159 setKeywords(keywords);
160 }
161
162 String robots = (String)attributes.get("robots");
163
164 if (robots != null) {
165 setRobots(robots);
166 }
167
168 String type = (String)attributes.get("type");
169
170 if (type != null) {
171 setType(type);
172 }
173
174 String typeSettings = (String)attributes.get("typeSettings");
175
176 if (typeSettings != null) {
177 setTypeSettings(typeSettings);
178 }
179
180 Boolean hidden = (Boolean)attributes.get("hidden");
181
182 if (hidden != null) {
183 setHidden(hidden);
184 }
185
186 String friendlyURL = (String)attributes.get("friendlyURL");
187
188 if (friendlyURL != null) {
189 setFriendlyURL(friendlyURL);
190 }
191
192 Boolean iconImage = (Boolean)attributes.get("iconImage");
193
194 if (iconImage != null) {
195 setIconImage(iconImage);
196 }
197
198 Long iconImageId = (Long)attributes.get("iconImageId");
199
200 if (iconImageId != null) {
201 setIconImageId(iconImageId);
202 }
203
204 String themeId = (String)attributes.get("themeId");
205
206 if (themeId != null) {
207 setThemeId(themeId);
208 }
209
210 String colorSchemeId = (String)attributes.get("colorSchemeId");
211
212 if (colorSchemeId != null) {
213 setColorSchemeId(colorSchemeId);
214 }
215
216 String wapThemeId = (String)attributes.get("wapThemeId");
217
218 if (wapThemeId != null) {
219 setWapThemeId(wapThemeId);
220 }
221
222 String wapColorSchemeId = (String)attributes.get("wapColorSchemeId");
223
224 if (wapColorSchemeId != null) {
225 setWapColorSchemeId(wapColorSchemeId);
226 }
227
228 String css = (String)attributes.get("css");
229
230 if (css != null) {
231 setCss(css);
232 }
233
234 Integer priority = (Integer)attributes.get("priority");
235
236 if (priority != null) {
237 setPriority(priority);
238 }
239
240 String layoutPrototypeUuid = (String)attributes.get(
241 "layoutPrototypeUuid");
242
243 if (layoutPrototypeUuid != null) {
244 setLayoutPrototypeUuid(layoutPrototypeUuid);
245 }
246
247 Boolean layoutPrototypeLinkEnabled = (Boolean)attributes.get(
248 "layoutPrototypeLinkEnabled");
249
250 if (layoutPrototypeLinkEnabled != null) {
251 setLayoutPrototypeLinkEnabled(layoutPrototypeLinkEnabled);
252 }
253
254 String sourcePrototypeLayoutUuid = (String)attributes.get(
255 "sourcePrototypeLayoutUuid");
256
257 if (sourcePrototypeLayoutUuid != null) {
258 setSourcePrototypeLayoutUuid(sourcePrototypeLayoutUuid);
259 }
260 }
261
262
267 public long getPrimaryKey() {
268 return _layout.getPrimaryKey();
269 }
270
271
276 public void setPrimaryKey(long primaryKey) {
277 _layout.setPrimaryKey(primaryKey);
278 }
279
280
285 public java.lang.String getUuid() {
286 return _layout.getUuid();
287 }
288
289
294 public void setUuid(java.lang.String uuid) {
295 _layout.setUuid(uuid);
296 }
297
298
303 public long getPlid() {
304 return _layout.getPlid();
305 }
306
307
312 public void setPlid(long plid) {
313 _layout.setPlid(plid);
314 }
315
316
321 public long getGroupId() {
322 return _layout.getGroupId();
323 }
324
325
330 public void setGroupId(long groupId) {
331 _layout.setGroupId(groupId);
332 }
333
334
339 public long getCompanyId() {
340 return _layout.getCompanyId();
341 }
342
343
348 public void setCompanyId(long companyId) {
349 _layout.setCompanyId(companyId);
350 }
351
352
357 public java.util.Date getCreateDate() {
358 return _layout.getCreateDate();
359 }
360
361
366 public void setCreateDate(java.util.Date createDate) {
367 _layout.setCreateDate(createDate);
368 }
369
370
375 public java.util.Date getModifiedDate() {
376 return _layout.getModifiedDate();
377 }
378
379
384 public void setModifiedDate(java.util.Date modifiedDate) {
385 _layout.setModifiedDate(modifiedDate);
386 }
387
388
393 public boolean getPrivateLayout() {
394 return _layout.getPrivateLayout();
395 }
396
397
402 public boolean isPrivateLayout() {
403 return _layout.isPrivateLayout();
404 }
405
406
411 public void setPrivateLayout(boolean privateLayout) {
412 _layout.setPrivateLayout(privateLayout);
413 }
414
415
420 public long getLayoutId() {
421 return _layout.getLayoutId();
422 }
423
424
429 public void setLayoutId(long layoutId) {
430 _layout.setLayoutId(layoutId);
431 }
432
433
438 public long getParentLayoutId() {
439 return _layout.getParentLayoutId();
440 }
441
442
447 public void setParentLayoutId(long parentLayoutId) {
448 _layout.setParentLayoutId(parentLayoutId);
449 }
450
451
456 public java.lang.String getName() {
457 return _layout.getName();
458 }
459
460
466 public java.lang.String getName(java.util.Locale locale) {
467 return _layout.getName(locale);
468 }
469
470
477 public java.lang.String getName(java.util.Locale locale, boolean useDefault) {
478 return _layout.getName(locale, useDefault);
479 }
480
481
487 public java.lang.String getName(java.lang.String languageId) {
488 return _layout.getName(languageId);
489 }
490
491
498 public java.lang.String getName(java.lang.String languageId,
499 boolean useDefault) {
500 return _layout.getName(languageId, useDefault);
501 }
502
503 public java.lang.String getNameCurrentLanguageId() {
504 return _layout.getNameCurrentLanguageId();
505 }
506
507 public java.lang.String getNameCurrentValue() {
508 return _layout.getNameCurrentValue();
509 }
510
511
516 public java.util.Map<java.util.Locale, java.lang.String> getNameMap() {
517 return _layout.getNameMap();
518 }
519
520
525 public void setName(java.lang.String name) {
526 _layout.setName(name);
527 }
528
529
535 public void setName(java.lang.String name, java.util.Locale locale) {
536 _layout.setName(name, locale);
537 }
538
539
546 public void setName(java.lang.String name, java.util.Locale locale,
547 java.util.Locale defaultLocale) {
548 _layout.setName(name, locale, defaultLocale);
549 }
550
551 public void setNameCurrentLanguageId(java.lang.String languageId) {
552 _layout.setNameCurrentLanguageId(languageId);
553 }
554
555
560 public void setNameMap(
561 java.util.Map<java.util.Locale, java.lang.String> nameMap) {
562 _layout.setNameMap(nameMap);
563 }
564
565
571 public void setNameMap(
572 java.util.Map<java.util.Locale, java.lang.String> nameMap,
573 java.util.Locale defaultLocale) {
574 _layout.setNameMap(nameMap, defaultLocale);
575 }
576
577
582 public java.lang.String getTitle() {
583 return _layout.getTitle();
584 }
585
586
592 public java.lang.String getTitle(java.util.Locale locale) {
593 return _layout.getTitle(locale);
594 }
595
596
603 public java.lang.String getTitle(java.util.Locale locale, boolean useDefault) {
604 return _layout.getTitle(locale, useDefault);
605 }
606
607
613 public java.lang.String getTitle(java.lang.String languageId) {
614 return _layout.getTitle(languageId);
615 }
616
617
624 public java.lang.String getTitle(java.lang.String languageId,
625 boolean useDefault) {
626 return _layout.getTitle(languageId, useDefault);
627 }
628
629 public java.lang.String getTitleCurrentLanguageId() {
630 return _layout.getTitleCurrentLanguageId();
631 }
632
633 public java.lang.String getTitleCurrentValue() {
634 return _layout.getTitleCurrentValue();
635 }
636
637
642 public java.util.Map<java.util.Locale, java.lang.String> getTitleMap() {
643 return _layout.getTitleMap();
644 }
645
646
651 public void setTitle(java.lang.String title) {
652 _layout.setTitle(title);
653 }
654
655
661 public void setTitle(java.lang.String title, java.util.Locale locale) {
662 _layout.setTitle(title, locale);
663 }
664
665
672 public void setTitle(java.lang.String title, java.util.Locale locale,
673 java.util.Locale defaultLocale) {
674 _layout.setTitle(title, locale, defaultLocale);
675 }
676
677 public void setTitleCurrentLanguageId(java.lang.String languageId) {
678 _layout.setTitleCurrentLanguageId(languageId);
679 }
680
681
686 public void setTitleMap(
687 java.util.Map<java.util.Locale, java.lang.String> titleMap) {
688 _layout.setTitleMap(titleMap);
689 }
690
691
697 public void setTitleMap(
698 java.util.Map<java.util.Locale, java.lang.String> titleMap,
699 java.util.Locale defaultLocale) {
700 _layout.setTitleMap(titleMap, defaultLocale);
701 }
702
703
708 public java.lang.String getDescription() {
709 return _layout.getDescription();
710 }
711
712
718 public java.lang.String getDescription(java.util.Locale locale) {
719 return _layout.getDescription(locale);
720 }
721
722
729 public java.lang.String getDescription(java.util.Locale locale,
730 boolean useDefault) {
731 return _layout.getDescription(locale, useDefault);
732 }
733
734
740 public java.lang.String getDescription(java.lang.String languageId) {
741 return _layout.getDescription(languageId);
742 }
743
744
751 public java.lang.String getDescription(java.lang.String languageId,
752 boolean useDefault) {
753 return _layout.getDescription(languageId, useDefault);
754 }
755
756 public java.lang.String getDescriptionCurrentLanguageId() {
757 return _layout.getDescriptionCurrentLanguageId();
758 }
759
760 public java.lang.String getDescriptionCurrentValue() {
761 return _layout.getDescriptionCurrentValue();
762 }
763
764
769 public java.util.Map<java.util.Locale, java.lang.String> getDescriptionMap() {
770 return _layout.getDescriptionMap();
771 }
772
773
778 public void setDescription(java.lang.String description) {
779 _layout.setDescription(description);
780 }
781
782
788 public void setDescription(java.lang.String description,
789 java.util.Locale locale) {
790 _layout.setDescription(description, locale);
791 }
792
793
800 public void setDescription(java.lang.String description,
801 java.util.Locale locale, java.util.Locale defaultLocale) {
802 _layout.setDescription(description, locale, defaultLocale);
803 }
804
805 public void setDescriptionCurrentLanguageId(java.lang.String languageId) {
806 _layout.setDescriptionCurrentLanguageId(languageId);
807 }
808
809
814 public void setDescriptionMap(
815 java.util.Map<java.util.Locale, java.lang.String> descriptionMap) {
816 _layout.setDescriptionMap(descriptionMap);
817 }
818
819
825 public void setDescriptionMap(
826 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
827 java.util.Locale defaultLocale) {
828 _layout.setDescriptionMap(descriptionMap, defaultLocale);
829 }
830
831
836 public java.lang.String getKeywords() {
837 return _layout.getKeywords();
838 }
839
840
846 public java.lang.String getKeywords(java.util.Locale locale) {
847 return _layout.getKeywords(locale);
848 }
849
850
857 public java.lang.String getKeywords(java.util.Locale locale,
858 boolean useDefault) {
859 return _layout.getKeywords(locale, useDefault);
860 }
861
862
868 public java.lang.String getKeywords(java.lang.String languageId) {
869 return _layout.getKeywords(languageId);
870 }
871
872
879 public java.lang.String getKeywords(java.lang.String languageId,
880 boolean useDefault) {
881 return _layout.getKeywords(languageId, useDefault);
882 }
883
884 public java.lang.String getKeywordsCurrentLanguageId() {
885 return _layout.getKeywordsCurrentLanguageId();
886 }
887
888 public java.lang.String getKeywordsCurrentValue() {
889 return _layout.getKeywordsCurrentValue();
890 }
891
892
897 public java.util.Map<java.util.Locale, java.lang.String> getKeywordsMap() {
898 return _layout.getKeywordsMap();
899 }
900
901
906 public void setKeywords(java.lang.String keywords) {
907 _layout.setKeywords(keywords);
908 }
909
910
916 public void setKeywords(java.lang.String keywords, java.util.Locale locale) {
917 _layout.setKeywords(keywords, locale);
918 }
919
920
927 public void setKeywords(java.lang.String keywords, java.util.Locale locale,
928 java.util.Locale defaultLocale) {
929 _layout.setKeywords(keywords, locale, defaultLocale);
930 }
931
932 public void setKeywordsCurrentLanguageId(java.lang.String languageId) {
933 _layout.setKeywordsCurrentLanguageId(languageId);
934 }
935
936
941 public void setKeywordsMap(
942 java.util.Map<java.util.Locale, java.lang.String> keywordsMap) {
943 _layout.setKeywordsMap(keywordsMap);
944 }
945
946
952 public void setKeywordsMap(
953 java.util.Map<java.util.Locale, java.lang.String> keywordsMap,
954 java.util.Locale defaultLocale) {
955 _layout.setKeywordsMap(keywordsMap, defaultLocale);
956 }
957
958
963 public java.lang.String getRobots() {
964 return _layout.getRobots();
965 }
966
967
973 public java.lang.String getRobots(java.util.Locale locale) {
974 return _layout.getRobots(locale);
975 }
976
977
984 public java.lang.String getRobots(java.util.Locale locale,
985 boolean useDefault) {
986 return _layout.getRobots(locale, useDefault);
987 }
988
989
995 public java.lang.String getRobots(java.lang.String languageId) {
996 return _layout.getRobots(languageId);
997 }
998
999
1006 public java.lang.String getRobots(java.lang.String languageId,
1007 boolean useDefault) {
1008 return _layout.getRobots(languageId, useDefault);
1009 }
1010
1011 public java.lang.String getRobotsCurrentLanguageId() {
1012 return _layout.getRobotsCurrentLanguageId();
1013 }
1014
1015 public java.lang.String getRobotsCurrentValue() {
1016 return _layout.getRobotsCurrentValue();
1017 }
1018
1019
1024 public java.util.Map<java.util.Locale, java.lang.String> getRobotsMap() {
1025 return _layout.getRobotsMap();
1026 }
1027
1028
1033 public void setRobots(java.lang.String robots) {
1034 _layout.setRobots(robots);
1035 }
1036
1037
1043 public void setRobots(java.lang.String robots, java.util.Locale locale) {
1044 _layout.setRobots(robots, locale);
1045 }
1046
1047
1054 public void setRobots(java.lang.String robots, java.util.Locale locale,
1055 java.util.Locale defaultLocale) {
1056 _layout.setRobots(robots, locale, defaultLocale);
1057 }
1058
1059 public void setRobotsCurrentLanguageId(java.lang.String languageId) {
1060 _layout.setRobotsCurrentLanguageId(languageId);
1061 }
1062
1063
1068 public void setRobotsMap(
1069 java.util.Map<java.util.Locale, java.lang.String> robotsMap) {
1070 _layout.setRobotsMap(robotsMap);
1071 }
1072
1073
1079 public void setRobotsMap(
1080 java.util.Map<java.util.Locale, java.lang.String> robotsMap,
1081 java.util.Locale defaultLocale) {
1082 _layout.setRobotsMap(robotsMap, defaultLocale);
1083 }
1084
1085
1090 public java.lang.String getType() {
1091 return _layout.getType();
1092 }
1093
1094
1099 public void setType(java.lang.String type) {
1100 _layout.setType(type);
1101 }
1102
1103
1108 public java.lang.String getTypeSettings() {
1109 return _layout.getTypeSettings();
1110 }
1111
1112
1117 public void setTypeSettings(java.lang.String typeSettings) {
1118 _layout.setTypeSettings(typeSettings);
1119 }
1120
1121
1126 public boolean getHidden() {
1127 return _layout.getHidden();
1128 }
1129
1130
1135 public boolean isHidden() {
1136 return _layout.isHidden();
1137 }
1138
1139
1144 public void setHidden(boolean hidden) {
1145 _layout.setHidden(hidden);
1146 }
1147
1148
1153 public java.lang.String getFriendlyURL() {
1154 return _layout.getFriendlyURL();
1155 }
1156
1157
1162 public void setFriendlyURL(java.lang.String friendlyURL) {
1163 _layout.setFriendlyURL(friendlyURL);
1164 }
1165
1166
1171 public boolean getIconImage() {
1172 return _layout.getIconImage();
1173 }
1174
1175
1180 public boolean isIconImage() {
1181 return _layout.isIconImage();
1182 }
1183
1184
1189 public void setIconImage(boolean iconImage) {
1190 _layout.setIconImage(iconImage);
1191 }
1192
1193
1198 public long getIconImageId() {
1199 return _layout.getIconImageId();
1200 }
1201
1202
1207 public void setIconImageId(long iconImageId) {
1208 _layout.setIconImageId(iconImageId);
1209 }
1210
1211
1216 public java.lang.String getThemeId() {
1217 return _layout.getThemeId();
1218 }
1219
1220
1225 public void setThemeId(java.lang.String themeId) {
1226 _layout.setThemeId(themeId);
1227 }
1228
1229
1234 public java.lang.String getColorSchemeId() {
1235 return _layout.getColorSchemeId();
1236 }
1237
1238
1243 public void setColorSchemeId(java.lang.String colorSchemeId) {
1244 _layout.setColorSchemeId(colorSchemeId);
1245 }
1246
1247
1252 public java.lang.String getWapThemeId() {
1253 return _layout.getWapThemeId();
1254 }
1255
1256
1261 public void setWapThemeId(java.lang.String wapThemeId) {
1262 _layout.setWapThemeId(wapThemeId);
1263 }
1264
1265
1270 public java.lang.String getWapColorSchemeId() {
1271 return _layout.getWapColorSchemeId();
1272 }
1273
1274
1279 public void setWapColorSchemeId(java.lang.String wapColorSchemeId) {
1280 _layout.setWapColorSchemeId(wapColorSchemeId);
1281 }
1282
1283
1288 public java.lang.String getCss() {
1289 return _layout.getCss();
1290 }
1291
1292
1297 public void setCss(java.lang.String css) {
1298 _layout.setCss(css);
1299 }
1300
1301
1306 public int getPriority() {
1307 return _layout.getPriority();
1308 }
1309
1310
1315 public void setPriority(int priority) {
1316 _layout.setPriority(priority);
1317 }
1318
1319
1324 public java.lang.String getLayoutPrototypeUuid() {
1325 return _layout.getLayoutPrototypeUuid();
1326 }
1327
1328
1333 public void setLayoutPrototypeUuid(java.lang.String layoutPrototypeUuid) {
1334 _layout.setLayoutPrototypeUuid(layoutPrototypeUuid);
1335 }
1336
1337
1342 public boolean getLayoutPrototypeLinkEnabled() {
1343 return _layout.getLayoutPrototypeLinkEnabled();
1344 }
1345
1346
1351 public boolean isLayoutPrototypeLinkEnabled() {
1352 return _layout.isLayoutPrototypeLinkEnabled();
1353 }
1354
1355
1360 public void setLayoutPrototypeLinkEnabled(
1361 boolean layoutPrototypeLinkEnabled) {
1362 _layout.setLayoutPrototypeLinkEnabled(layoutPrototypeLinkEnabled);
1363 }
1364
1365
1370 public java.lang.String getSourcePrototypeLayoutUuid() {
1371 return _layout.getSourcePrototypeLayoutUuid();
1372 }
1373
1374
1379 public void setSourcePrototypeLayoutUuid(
1380 java.lang.String sourcePrototypeLayoutUuid) {
1381 _layout.setSourcePrototypeLayoutUuid(sourcePrototypeLayoutUuid);
1382 }
1383
1384 public boolean isNew() {
1385 return _layout.isNew();
1386 }
1387
1388 public void setNew(boolean n) {
1389 _layout.setNew(n);
1390 }
1391
1392 public boolean isCachedModel() {
1393 return _layout.isCachedModel();
1394 }
1395
1396 public void setCachedModel(boolean cachedModel) {
1397 _layout.setCachedModel(cachedModel);
1398 }
1399
1400 public boolean isEscapedModel() {
1401 return _layout.isEscapedModel();
1402 }
1403
1404 public java.io.Serializable getPrimaryKeyObj() {
1405 return _layout.getPrimaryKeyObj();
1406 }
1407
1408 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
1409 _layout.setPrimaryKeyObj(primaryKeyObj);
1410 }
1411
1412 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
1413 return _layout.getExpandoBridge();
1414 }
1415
1416 public void setExpandoBridgeAttributes(
1417 com.liferay.portal.service.ServiceContext serviceContext) {
1418 _layout.setExpandoBridgeAttributes(serviceContext);
1419 }
1420
1421 public void prepareLocalizedFieldsForImport(
1422 java.util.Locale defaultImportLocale)
1423 throws com.liferay.portal.LocaleException {
1424 _layout.prepareLocalizedFieldsForImport(defaultImportLocale);
1425 }
1426
1427 @Override
1428 public java.lang.Object clone() {
1429 return new LayoutWrapper((Layout)_layout.clone());
1430 }
1431
1432 public int compareTo(com.liferay.portal.model.Layout layout) {
1433 return _layout.compareTo(layout);
1434 }
1435
1436 @Override
1437 public int hashCode() {
1438 return _layout.hashCode();
1439 }
1440
1441 public com.liferay.portal.model.CacheModel<com.liferay.portal.model.Layout> toCacheModel() {
1442 return _layout.toCacheModel();
1443 }
1444
1445 public com.liferay.portal.model.Layout toEscapedModel() {
1446 return new LayoutWrapper(_layout.toEscapedModel());
1447 }
1448
1449 public com.liferay.portal.model.Layout toUnescapedModel() {
1450 return new LayoutWrapper(_layout.toUnescapedModel());
1451 }
1452
1453 @Override
1454 public java.lang.String toString() {
1455 return _layout.toString();
1456 }
1457
1458 public java.lang.String toXmlString() {
1459 return _layout.toXmlString();
1460 }
1461
1462 public void persist()
1463 throws com.liferay.portal.kernel.exception.SystemException {
1464 _layout.persist();
1465 }
1466
1467 public java.util.List<com.liferay.portal.model.Layout> getAllChildren()
1468 throws com.liferay.portal.kernel.exception.SystemException {
1469 return _layout.getAllChildren();
1470 }
1471
1472 public long getAncestorLayoutId()
1473 throws com.liferay.portal.kernel.exception.PortalException,
1474 com.liferay.portal.kernel.exception.SystemException {
1475 return _layout.getAncestorLayoutId();
1476 }
1477
1478 public long getAncestorPlid()
1479 throws com.liferay.portal.kernel.exception.PortalException,
1480 com.liferay.portal.kernel.exception.SystemException {
1481 return _layout.getAncestorPlid();
1482 }
1483
1484 public java.util.List<com.liferay.portal.model.Layout> getAncestors()
1485 throws com.liferay.portal.kernel.exception.PortalException,
1486 com.liferay.portal.kernel.exception.SystemException {
1487 return _layout.getAncestors();
1488 }
1489
1490 public java.util.List<com.liferay.portal.model.Layout> getChildren()
1491 throws com.liferay.portal.kernel.exception.SystemException {
1492 return _layout.getChildren();
1493 }
1494
1495 public java.util.List<com.liferay.portal.model.Layout> getChildren(
1496 com.liferay.portal.security.permission.PermissionChecker permissionChecker)
1497 throws com.liferay.portal.kernel.exception.PortalException,
1498 com.liferay.portal.kernel.exception.SystemException {
1499 return _layout.getChildren(permissionChecker);
1500 }
1501
1502 public com.liferay.portal.model.ColorScheme getColorScheme()
1503 throws com.liferay.portal.kernel.exception.PortalException,
1504 com.liferay.portal.kernel.exception.SystemException {
1505 return _layout.getColorScheme();
1506 }
1507
1508 public java.lang.String getCssText()
1509 throws com.liferay.portal.kernel.exception.PortalException,
1510 com.liferay.portal.kernel.exception.SystemException {
1511 return _layout.getCssText();
1512 }
1513
1514 public com.liferay.portal.model.Group getGroup()
1515 throws com.liferay.portal.kernel.exception.PortalException,
1516 com.liferay.portal.kernel.exception.SystemException {
1517 return _layout.getGroup();
1518 }
1519
1520 public java.lang.String getHTMLTitle(java.util.Locale locale) {
1521 return _layout.getHTMLTitle(locale);
1522 }
1523
1524 public java.lang.String getHTMLTitle(java.lang.String localeLanguageId) {
1525 return _layout.getHTMLTitle(localeLanguageId);
1526 }
1527
1528 public com.liferay.portal.model.LayoutSet getLayoutSet()
1529 throws com.liferay.portal.kernel.exception.PortalException,
1530 com.liferay.portal.kernel.exception.SystemException {
1531 return _layout.getLayoutSet();
1532 }
1533
1534 public com.liferay.portal.model.LayoutType getLayoutType() {
1535 return _layout.getLayoutType();
1536 }
1537
1538 public long getParentPlid()
1539 throws com.liferay.portal.kernel.exception.PortalException,
1540 com.liferay.portal.kernel.exception.SystemException {
1541 return _layout.getParentPlid();
1542 }
1543
1544 public java.lang.String getRegularURL(
1545 javax.servlet.http.HttpServletRequest request)
1546 throws com.liferay.portal.kernel.exception.PortalException,
1547 com.liferay.portal.kernel.exception.SystemException {
1548 return _layout.getRegularURL(request);
1549 }
1550
1551 public java.lang.String getResetLayoutURL(
1552 javax.servlet.http.HttpServletRequest request)
1553 throws com.liferay.portal.kernel.exception.PortalException,
1554 com.liferay.portal.kernel.exception.SystemException {
1555 return _layout.getResetLayoutURL(request);
1556 }
1557
1558 public java.lang.String getResetMaxStateURL(
1559 javax.servlet.http.HttpServletRequest request)
1560 throws com.liferay.portal.kernel.exception.PortalException,
1561 com.liferay.portal.kernel.exception.SystemException {
1562 return _layout.getResetMaxStateURL(request);
1563 }
1564
1565 public com.liferay.portal.model.Group getScopeGroup()
1566 throws com.liferay.portal.kernel.exception.PortalException,
1567 com.liferay.portal.kernel.exception.SystemException {
1568 return _layout.getScopeGroup();
1569 }
1570
1571 public java.lang.String getTarget() {
1572 return _layout.getTarget();
1573 }
1574
1575 public com.liferay.portal.model.Theme getTheme()
1576 throws com.liferay.portal.kernel.exception.PortalException,
1577 com.liferay.portal.kernel.exception.SystemException {
1578 return _layout.getTheme();
1579 }
1580
1581 public java.lang.String getThemeSetting(java.lang.String key,
1582 java.lang.String device) {
1583 return _layout.getThemeSetting(key, device);
1584 }
1585
1586 public com.liferay.portal.kernel.util.UnicodeProperties getTypeSettingsProperties() {
1587 return _layout.getTypeSettingsProperties();
1588 }
1589
1590 public java.lang.String getTypeSettingsProperty(java.lang.String key) {
1591 return _layout.getTypeSettingsProperty(key);
1592 }
1593
1594 public java.lang.String getTypeSettingsProperty(java.lang.String key,
1595 java.lang.String defaultValue) {
1596 return _layout.getTypeSettingsProperty(key, defaultValue);
1597 }
1598
1599 public com.liferay.portal.model.ColorScheme getWapColorScheme()
1600 throws com.liferay.portal.kernel.exception.PortalException,
1601 com.liferay.portal.kernel.exception.SystemException {
1602 return _layout.getWapColorScheme();
1603 }
1604
1605 public com.liferay.portal.model.Theme getWapTheme()
1606 throws com.liferay.portal.kernel.exception.PortalException,
1607 com.liferay.portal.kernel.exception.SystemException {
1608 return _layout.getWapTheme();
1609 }
1610
1611 public boolean hasAncestor(long layoutId)
1612 throws com.liferay.portal.kernel.exception.PortalException,
1613 com.liferay.portal.kernel.exception.SystemException {
1614 return _layout.hasAncestor(layoutId);
1615 }
1616
1617 public boolean hasChildren()
1618 throws com.liferay.portal.kernel.exception.SystemException {
1619 return _layout.hasChildren();
1620 }
1621
1622 public boolean hasScopeGroup()
1623 throws com.liferay.portal.kernel.exception.PortalException,
1624 com.liferay.portal.kernel.exception.SystemException {
1625 return _layout.hasScopeGroup();
1626 }
1627
1628 public boolean isChildSelected(boolean selectable,
1629 com.liferay.portal.model.Layout layout)
1630 throws com.liferay.portal.kernel.exception.PortalException,
1631 com.liferay.portal.kernel.exception.SystemException {
1632 return _layout.isChildSelected(selectable, layout);
1633 }
1634
1635 public boolean isContentDisplayPage() {
1636 return _layout.isContentDisplayPage();
1637 }
1638
1639 public boolean isFirstChild() {
1640 return _layout.isFirstChild();
1641 }
1642
1643 public boolean isFirstParent() {
1644 return _layout.isFirstParent();
1645 }
1646
1647 public boolean isInheritLookAndFeel() {
1648 return _layout.isInheritLookAndFeel();
1649 }
1650
1651 public boolean isInheritWapLookAndFeel() {
1652 return _layout.isInheritWapLookAndFeel();
1653 }
1654
1655 public boolean isLayoutPrototypeLinkActive() {
1656 return _layout.isLayoutPrototypeLinkActive();
1657 }
1658
1659 public boolean isPublicLayout() {
1660 return _layout.isPublicLayout();
1661 }
1662
1663 public boolean isRootLayout() {
1664 return _layout.isRootLayout();
1665 }
1666
1667 public boolean isSelected(boolean selectable,
1668 com.liferay.portal.model.Layout layout, long ancestorPlid) {
1669 return _layout.isSelected(selectable, layout, ancestorPlid);
1670 }
1671
1672 public boolean isTypeArticle() {
1673 return _layout.isTypeArticle();
1674 }
1675
1676 public boolean isTypeControlPanel() {
1677 return _layout.isTypeControlPanel();
1678 }
1679
1680 public boolean isTypeEmbedded() {
1681 return _layout.isTypeEmbedded();
1682 }
1683
1684 public boolean isTypeLinkToLayout() {
1685 return _layout.isTypeLinkToLayout();
1686 }
1687
1688 public boolean isTypePanel() {
1689 return _layout.isTypePanel();
1690 }
1691
1692 public boolean isTypePortlet() {
1693 return _layout.isTypePortlet();
1694 }
1695
1696 public boolean isTypeURL() {
1697 return _layout.isTypeURL();
1698 }
1699
1700 public void setLayoutSet(com.liferay.portal.model.LayoutSet layoutSet) {
1701 _layout.setLayoutSet(layoutSet);
1702 }
1703
1704 public void setTypeSettingsProperties(
1705 com.liferay.portal.kernel.util.UnicodeProperties typeSettingsProperties) {
1706 _layout.setTypeSettingsProperties(typeSettingsProperties);
1707 }
1708
1709 @Override
1710 public boolean equals(Object obj) {
1711 if (this == obj) {
1712 return true;
1713 }
1714
1715 if (!(obj instanceof LayoutWrapper)) {
1716 return false;
1717 }
1718
1719 LayoutWrapper layoutWrapper = (LayoutWrapper)obj;
1720
1721 if (Validator.equals(_layout, layoutWrapper._layout)) {
1722 return true;
1723 }
1724
1725 return false;
1726 }
1727
1728
1731 public Layout getWrappedLayout() {
1732 return _layout;
1733 }
1734
1735 public Layout getWrappedModel() {
1736 return _layout;
1737 }
1738
1739 public void resetOriginalValues() {
1740 _layout.resetOriginalValues();
1741 }
1742
1743 private Layout _layout;
1744 }