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.digglike.business;
35
36 import fr.paris.lutece.portal.service.rbac.RBACResource;
37
38
39
40
41
42
43
44 public class DefaultMessage implements RBACResource
45 {
46 public static final String RESOURCE_TYPE = "DIGGLIKE_DEFAULT_MESSAGE_TYPE";
47 private String _strUnavailabilityMessage;
48 private String _strLibelleValidateButton;
49 private String _strLibelleContribution;
50 private int _nNumberDiggSubmitInTopScore = -1;
51 private int _nNumberDiggSubmitInTopComment = -1;
52 private int _nNumberDiggSubmitCaractersShown = -1;
53 private String _strNotificationNewCommentTitle;
54 private String _strNotificationNewCommentBody;
55 private String _strNotificationNewDiggSubmitTitle;
56 private String _strNotificationNewDiggSubmitBody;
57
58
59
60
61
62 public String getNotificationNewCommentTitle() {
63 return _strNotificationNewCommentTitle;
64 }
65
66
67
68
69
70 public void setNotificationNewCommentTitle(
71 String _strNotificationNewCommentTitle) {
72 this._strNotificationNewCommentTitle = _strNotificationNewCommentTitle;
73 }
74
75
76
77
78
79 public String getNotificationNewCommentBody() {
80 return _strNotificationNewCommentBody;
81 }
82
83
84
85
86 public void setNotificationNewCommentBody(
87 String _strNotificationNewCommentBody) {
88 this._strNotificationNewCommentBody = _strNotificationNewCommentBody;
89 }
90
91
92
93
94
95 public String getNotificationNewDiggSubmitTitle() {
96 return _strNotificationNewDiggSubmitTitle;
97 }
98
99
100
101
102 public void setNotificationNewDiggSubmitTitle(
103 String _strNotificationNewDiggSubmitTitle) {
104 this._strNotificationNewDiggSubmitTitle = _strNotificationNewDiggSubmitTitle;
105 }
106
107
108
109
110 public String getNotificationNewDiggSubmitBody() {
111 return _strNotificationNewDiggSubmitBody;
112 }
113
114
115
116
117 public void setNotificationNewDiggSubmitBody(
118 String _strNotificationDiggSubmitBody) {
119 this._strNotificationNewDiggSubmitBody = _strNotificationDiggSubmitBody;
120 }
121
122
123
124
125
126
127 public String getLibelleValidateButton( )
128 {
129 return _strLibelleValidateButton;
130 }
131
132
133
134
135
136 public void setLibelleValidateButton( String libelleValidateButton )
137 {
138 _strLibelleValidateButton = libelleValidateButton;
139 }
140
141
142
143
144
145 public String getUnavailabilityMessage( )
146 {
147 return _strUnavailabilityMessage;
148 }
149
150
151
152
153
154 public void setUnavailabilityMessage( String unavailabilityMessage )
155 {
156 _strUnavailabilityMessage = unavailabilityMessage;
157 }
158
159
160
161
162
163 public String getResourceTypeCode( )
164 {
165 return RESOURCE_TYPE;
166 }
167
168
169
170
171
172 public String getResourceId( )
173 {
174 return "";
175 }
176
177
178
179
180
181 public String getLibelleContribution( )
182 {
183 return _strLibelleContribution;
184 }
185
186
187
188
189
190 public void setLibelleContribution( String libelleDiggName )
191 {
192 _strLibelleContribution = libelleDiggName;
193 }
194
195
196
197
198
199 public int getNumberDiggSubmitInTopComment( )
200 {
201 return _nNumberDiggSubmitInTopComment;
202 }
203
204
205
206
207
208 public void setNumberDiggSubmitInTopComment( int numberTopComment )
209 {
210 _nNumberDiggSubmitInTopComment = numberTopComment;
211 }
212
213
214
215
216
217 public int getNumberDiggSubmitInTopScore( )
218 {
219 return _nNumberDiggSubmitInTopScore;
220 }
221
222
223
224
225
226 public void setNumberDiggSubmitInTopScore( int numberTopScore )
227 {
228 _nNumberDiggSubmitInTopScore = numberTopScore;
229 }
230
231
232
233
234
235 public int getNumberDiggSubmitCaractersShown( )
236 {
237 return _nNumberDiggSubmitCaractersShown;
238 }
239
240
241
242
243
244 public void setNumberDiggSubmitCaractersShown( int numberCaractersShown )
245 {
246 _nNumberDiggSubmitCaractersShown = numberCaractersShown;
247 }
248 }