1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34 package info.magnolia.module.templatingkit.templates;
35
36 import info.magnolia.rendering.template.AreaDefinition;
37 import info.magnolia.rendering.template.configured.ConfiguredAreaDefinition;
38
39
40
41
42
43
44
45 public class MainAreaIntro extends ConfiguredAreaDefinition{
46 private String dialog;
47
48
49
50
51 private String divID;
52
53 private Boolean showTOC;
54 private Boolean showAuthorDate;
55 private Boolean showAbstract;
56 private Boolean showTextFeatures;
57 private Boolean showCategories;
58 private Boolean showImage;
59
60 private AreaDefinition infoBlock;
61
62 public Boolean getShowTOC() {
63 return showTOC;
64 }
65 public void setShowTOC(Boolean showTOC) {
66 this.showTOC = showTOC;
67 }
68 public Boolean getShowAuthorDate() {
69 return showAuthorDate;
70 }
71 public void setShowAuthorDate(Boolean showAuthorDate) {
72 this.showAuthorDate = showAuthorDate;
73 }
74 public Boolean getShowAbstract() {
75 return showAbstract;
76 }
77 public void setShowAbstract(Boolean showAbstract) {
78 this.showAbstract = showAbstract;
79 }
80 public Boolean getShowTextFeatures() {
81 return showTextFeatures;
82 }
83 public void setShowTextFeatures(Boolean showTextFeatures) {
84 this.showTextFeatures = showTextFeatures;
85 }
86 public Boolean getShowCategories() {
87 return showCategories;
88 }
89 public void setShowCategories(Boolean showCategories) {
90 this.showCategories = showCategories;
91 }
92
93 @Override
94 public String getDialog() {
95 return this.dialog;
96 }
97
98 @Override
99 public void setDialog(String dialog) {
100 this.dialog = dialog;
101 }
102
103 public AreaDefinition getInfoBlock() {
104 return this.getAreas().get("infoBlock");
105 }
106
107
108
109
110 public void setInfoBlock(AreaDefinition infoBlock) {
111 this.getAreas().put("infoBlock", infoBlock);
112 }
113
114 public String getDivID() {
115 return this.divID;
116 }
117
118 public void setDivID(String divID) {
119 this.divID = divID;
120 }
121
122 public Boolean getShowImage() {
123 return showImage;
124 }
125 public void setShowImage(Boolean showImage) {
126 this.showImage = showImage;
127 }
128
129 }