1
|
package eu.dnetlib.uoaadmintools.entities;
|
2
|
|
3
|
import com.fasterxml.jackson.annotation.JsonProperty;
|
4
|
import eu.dnetlib.uoaadmintools.entities.layoutEntities.Box;
|
5
|
import eu.dnetlib.uoaadmintools.entities.layoutEntities.Buttons;
|
6
|
import eu.dnetlib.uoaadmintools.entities.layoutEntities.Links;
|
7
|
import eu.dnetlib.uoaadmintools.entities.layoutEntities.Panel;
|
8
|
import org.springframework.data.annotation.Id;
|
9
|
|
10
|
public class Layout {
|
11
|
|
12
|
@Id
|
13
|
@JsonProperty("_id")
|
14
|
private String id;
|
15
|
// private String mainColor;
|
16
|
// private String secondaryColor;
|
17
|
// private Panel panel;
|
18
|
// private Box box;
|
19
|
// private Links links;
|
20
|
// private Buttons buttons;
|
21
|
|
22
|
private String portalPid;
|
23
|
private Object layoutOptions;
|
24
|
|
25
|
public Layout() { }
|
26
|
|
27
|
public Layout(String id, String mainColor, String secondaryColor, Panel panel, Box box, Links links, Buttons buttons, String portalPid) {
|
28
|
this.id = id;
|
29
|
// this.mainColor = mainColor;
|
30
|
// this.secondaryColor = secondaryColor;
|
31
|
// this.panel = panel;
|
32
|
// this.box = box;
|
33
|
// this.links = links;
|
34
|
// this.buttons = buttons;
|
35
|
|
36
|
this.portalPid = portalPid;
|
37
|
}
|
38
|
|
39
|
public String getId() {
|
40
|
return id;
|
41
|
}
|
42
|
|
43
|
public void setId(String id) {
|
44
|
this.id = id;
|
45
|
}
|
46
|
|
47
|
// public String getMainColor() {
|
48
|
// return mainColor;
|
49
|
// }
|
50
|
//
|
51
|
// public void setMainColor(String mainColor) {
|
52
|
// this.mainColor = mainColor;
|
53
|
// }
|
54
|
//
|
55
|
// public String getSecondaryColor() {
|
56
|
// return secondaryColor;
|
57
|
// }
|
58
|
//
|
59
|
// public void setSecondaryColor(String secondaryColor) {
|
60
|
// this.secondaryColor = secondaryColor;
|
61
|
// }
|
62
|
//
|
63
|
// public Panel getPanel() {
|
64
|
// return panel;
|
65
|
// }
|
66
|
//
|
67
|
// public void setPanel(Panel panel) {
|
68
|
// this.panel = panel;
|
69
|
// }
|
70
|
//
|
71
|
// public Box getBox() {
|
72
|
// return box;
|
73
|
// }
|
74
|
//
|
75
|
// public void setBox(Box box) {
|
76
|
// this.box = box;
|
77
|
// }
|
78
|
//
|
79
|
// public Links getLinks() {
|
80
|
// return links;
|
81
|
// }
|
82
|
//
|
83
|
// public void setLinks(Links links) {
|
84
|
// this.links = links;
|
85
|
// }
|
86
|
//
|
87
|
// public Buttons getButtons() {
|
88
|
// return buttons;
|
89
|
// }
|
90
|
//
|
91
|
// public void setButtons(Buttons buttons) {
|
92
|
// this.buttons = buttons;
|
93
|
// }
|
94
|
|
95
|
public String getPortalPid() {
|
96
|
return portalPid;
|
97
|
}
|
98
|
|
99
|
public void setPortalPid(String portalPid) {
|
100
|
this.portalPid = portalPid;
|
101
|
}
|
102
|
|
103
|
public Object getLayoutOptions() {
|
104
|
return layoutOptions;
|
105
|
}
|
106
|
|
107
|
public void setLayoutOptions(Object layoutOptions) {
|
108
|
this.layoutOptions = layoutOptions;
|
109
|
}
|
110
|
}
|