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.ui.vaadin.gwt.client.applauncher.shared;
35
36 import java.io.Serializable;
37 import java.util.ArrayList;
38 import java.util.List;
39
40
41
42
43 public class AppGroup implements Serializable {
44
45 private List<AppTile> appTiles = new ArrayList<AppTile>();
46
47 private String name;
48
49 private String caption;
50
51 private String backgroundColor;
52
53 private boolean isPermanent;
54
55 private boolean clientGroup;
56
57 public AppGroup() {
58 }
59
60 public AppGroup(String name, String caption, String backgroundColor, boolean isPermanent, boolean clientGroup) {
61 this.name = name;
62 this.caption = caption;
63 this.backgroundColor = backgroundColor;
64 this.isPermanent = isPermanent;
65 this.clientGroup = clientGroup;
66 }
67
68
69
70
71 @Deprecated
72 public void setBackgroundColor(String backgroundColor) {
73 this.backgroundColor = backgroundColor;
74 }
75
76 public void addAppTile(final AppTile tile) {
77 appTiles.add(tile);
78 }
79
80 public void setName(String name) {
81 this.name = name;
82 }
83
84 public String getName() {
85 return name;
86 }
87
88 public String getCaption() {
89 return caption;
90 }
91
92
93
94
95 @Deprecated
96 public String getBackgroundColor() {
97 return backgroundColor;
98 }
99
100 public List<AppTile> getAppTiles() {
101 return appTiles;
102 }
103
104 public void setAppTiles(List<AppTile> appTiles) {
105 this.appTiles = appTiles;
106 }
107
108
109
110
111 @Deprecated
112 public boolean isPermanent() {
113 return isPermanent;
114 }
115
116
117
118
119 @Deprecated
120 public boolean isClientGroup() {
121 return clientGroup;
122 }
123
124
125
126
127 @Deprecated
128 public void setPermanent(boolean isPermanent) {
129 this.isPermanent = isPermanent;
130 }
131
132
133
134
135 @Deprecated
136 public void setClientGroup(boolean clientGroup) {
137 this.clientGroup = clientGroup;
138 }
139
140 public void setCaption(String caption) {
141 this.caption = caption;
142 }
143 }