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 fr.paris.lutece.plugins.grubusiness.business.notification;
35
36 import com.fasterxml.jackson.annotation.JsonProperty;
37 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
38 import com.fasterxml.jackson.annotation.JsonRootName;
39
40
41
42
43
44
45
46
47
48
49 @JsonRootName( value = "mydashboard" )
50 @JsonPropertyOrder( {
51 "status_id", "status_text", "message", "subject", "data", "sender_name"
52 } )
53 public class MyDashboardNotification
54 {
55
56 private int _nStatusId;
57 private String _strStatusText;
58 private String _strMessage;
59 private String _strSubject;
60 private String _strSenderName;
61 private String _strData;
62
63
64
65
66 public MyDashboardNotification( )
67 {
68 _nStatusId = NotificationConstants.DEFAULT_INT;
69 _strStatusText = NotificationConstants.DEFAULT_STRING;
70 _strMessage = NotificationConstants.DEFAULT_STRING;
71 _strSubject = NotificationConstants.DEFAULT_STRING;
72 _strSenderName = NotificationConstants.DEFAULT_STRING;
73 _strData = NotificationConstants.DEFAULT_STRING;
74 }
75
76
77
78
79 @JsonProperty( "status_id" )
80 public int getStatusId( )
81 {
82 return _nStatusId;
83 }
84
85
86
87
88
89 @JsonProperty( "status_id" )
90 public void setStatusId( int nStatusId )
91 {
92 _nStatusId = nStatusId;
93 }
94
95
96
97
98
99
100 @JsonProperty( "status_text" )
101 public String getStatusText( )
102 {
103 return _strStatusText;
104 }
105
106
107
108
109
110
111
112 @JsonProperty( "status_text" )
113 public void setStatusText( String strStatusText )
114 {
115 _strStatusText = strStatusText;
116 }
117
118
119
120
121
122
123 @JsonProperty( "message" )
124 public String getMessage( )
125 {
126 return _strMessage;
127 }
128
129
130
131
132
133
134
135 @JsonProperty( "message" )
136 public void setMessage( String strMessage )
137 {
138 _strMessage = strMessage;
139 }
140
141
142
143
144
145
146 @JsonProperty( "subject" )
147 public String getSubject( )
148 {
149 return _strSubject;
150 }
151
152
153
154
155
156
157
158 @JsonProperty( "subject" )
159 public void setSubject( String strSubject )
160 {
161 _strSubject = strSubject;
162 }
163
164
165
166
167
168
169 @JsonProperty( "sender_name" )
170 public String getSenderName( )
171 {
172 return _strSenderName;
173 }
174
175
176
177
178
179
180
181 @JsonProperty( "sender_name" )
182 public void setSenderName( String strSenderName )
183 {
184 _strSenderName = strSenderName;
185 }
186
187
188
189
190
191
192 @JsonProperty( "data" )
193 public String getData( )
194 {
195 return _strData;
196 }
197
198
199
200
201
202
203
204 @JsonProperty( "data" )
205 public void setData( String strData )
206 {
207 _strData = strData;
208 }
209 }