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.calendar.business;
35
36 import fr.paris.lutece.plugins.calendar.business.category.Category;
37 import fr.paris.lutece.portal.service.image.ImageResource;
38
39 import java.sql.Timestamp;
40 import java.util.Collection;
41 import java.util.Date;
42
43
44
45
46
47 public class SimpleEvent implements Event
48 {
49 private static final long serialVersionUID = -1675274063314004181L;
50
51
52 private int _nId;
53 private Date _dateEvent;
54 private Date _dateEnd;
55 private String _strTitle;
56 private String _strLocation;
57 private String _strEventClass;
58 private String _strDescription;
59 private String _strDateTimeStart;
60 private String _strDateTimeEnd;
61 private String _strStatus;
62
63
64 private int _nIdCalendar;
65 private int _nPriority;
66 private int _nPeriodicity;
67 private int _nOccurrence;
68 private String _strUrl;
69 private String _strLocationTown;
70 private String _strLocationZip;
71 private String _strLocationAddress;
72 private String _strMapUrl;
73 private String _strLinkUrl;
74 private int _nDocumentId;
75 private String _strPageUrl;
76 private ImageResource _imageRessource;
77 private String[] _listTags;
78 private String _strListTags;
79 private int _nTopEvent;
80 private String _strImageUrl;
81 private String _searchType;
82 private Timestamp _dateCreation;
83 private Collection<Category> _listCategories;
84 private String[] _listExcludedDays;
85
86
87
88
89
90
91 public int getId( )
92 {
93 return _nId;
94 }
95
96
97
98
99
100
101 public void setId( int nId )
102 {
103 _nId = nId;
104 }
105
106
107
108
109
110
111 public Date getDate( )
112 {
113 return _dateEvent;
114 }
115
116
117
118
119
120
121 public void setDate( Date dateEvent )
122 {
123 _dateEvent = dateEvent;
124 }
125
126
127
128
129
130
131 public String getTitle( )
132 {
133 return _strTitle;
134 }
135
136
137
138
139
140
141 public void setTitle( String strTitle )
142 {
143 _strTitle = strTitle;
144 }
145
146
147
148
149
150
151 public String getLocation( )
152 {
153 return _strLocation;
154 }
155
156
157
158
159
160
161 public void setLocation( String strLocation )
162 {
163 _strLocation = strLocation;
164 }
165
166
167
168
169
170
171 public String getEventClass( )
172 {
173 return _strEventClass;
174 }
175
176
177
178
179
180
181 public void setEventClass( String strEventClass )
182 {
183 _strEventClass = strEventClass;
184 }
185
186
187
188
189
190
191 public String getDescription( )
192 {
193 return _strDescription;
194 }
195
196
197
198
199
200
201 public void setDescription( String strDescription )
202 {
203 _strDescription = strDescription;
204 }
205
206
207
208
209
210
211 public String getDateTimeStart( )
212 {
213 return _strDateTimeStart;
214 }
215
216
217
218
219
220
221 public void setDateTimeStart( String strDateTimeStart )
222 {
223 _strDateTimeStart = strDateTimeStart;
224 }
225
226
227
228
229
230
231 public String getDateTimeEnd( )
232 {
233 return _strDateTimeEnd;
234 }
235
236
237
238
239
240
241 public void setDateTimeEnd( String strDateTimeEnd )
242 {
243 _strDateTimeEnd = strDateTimeEnd;
244 }
245
246
247
248
249
250
251 public String getStatus( )
252 {
253 return _strStatus;
254 }
255
256
257
258
259
260
261 public void setStatus( String strStatus )
262 {
263 _strStatus = strStatus;
264 }
265
266
267
268
269
270
271 public int getPriority( )
272 {
273 return _nPriority;
274 }
275
276
277
278
279
280
281 public void setPriority( int nPriority )
282 {
283 _nPriority = nPriority;
284 }
285
286
287
288
289
290
291 public String getUrl( )
292 {
293 return _strUrl;
294 }
295
296
297
298
299
300
301 public void setUrl( String strUrl )
302 {
303 _strUrl = strUrl;
304 }
305
306
307
308
309
310
311 public int getPeriodicity( )
312 {
313 return _nPeriodicity;
314 }
315
316
317
318
319
320
321 public void setPeriodicity( int nPeriodicity )
322 {
323 _nPeriodicity = nPeriodicity;
324 }
325
326
327
328
329
330
331 public int getOccurrence( )
332 {
333 return _nOccurrence;
334 }
335
336
337
338
339
340
341 public void setOccurrence( int nOccurrence )
342 {
343 _nOccurrence = nOccurrence;
344 }
345
346
347
348
349
350
351 public Date getDateEnd( )
352 {
353 return _dateEnd;
354 }
355
356
357
358
359
360
361 public void setDateEnd( Date DateEnd )
362 {
363 _dateEnd = DateEnd;
364 }
365
366
367
368
369
370
371 public String getLocationTown( )
372 {
373 return _strLocationTown;
374 }
375
376
377
378
379
380
381 public void setLocationTown( String strLocationTown )
382 {
383 _strLocationTown = strLocationTown;
384 }
385
386
387
388
389
390
391 public String getLocationZip( )
392 {
393 return _strLocationZip;
394 }
395
396
397
398
399
400
401 public void setLocationZip( String strLocationZip )
402 {
403 _strLocationZip = strLocationZip;
404 }
405
406
407
408
409
410
411 public String getLocationAddress( )
412 {
413 return _strLocationAddress;
414 }
415
416
417
418
419
420
421 public void setLocationAddress( String strLocationAddress )
422 {
423 _strLocationAddress = strLocationAddress;
424 }
425
426
427
428
429
430
431 public String getMapUrl( )
432 {
433 return _strMapUrl;
434 }
435
436
437
438
439
440
441 public void setMapUrl( String strMapUrl )
442 {
443 _strMapUrl = strMapUrl;
444 }
445
446
447
448
449
450
451 public String getLinkUrl( )
452 {
453 return _strLinkUrl;
454 }
455
456
457
458
459
460
461 public void setLinkUrl( String strLinkUrl )
462 {
463 _strLinkUrl = strLinkUrl;
464 }
465
466
467
468
469
470
471 public int getDocumentId( )
472 {
473 return _nDocumentId;
474 }
475
476
477
478
479
480
481 public void setDocumentId( int nDocumentId )
482 {
483 _nDocumentId = nDocumentId;
484 }
485
486
487
488
489
490
491 public String getPageUrl( )
492 {
493 return _strPageUrl;
494 }
495
496
497
498
499
500
501 public void setPageUrl( String strPageUrl )
502 {
503 _strPageUrl = strPageUrl;
504 }
505
506
507
508
509
510
511 public int getTopEvent( )
512 {
513 return _nTopEvent;
514 }
515
516
517
518
519
520
521 public void setTopEvent( int strTopEvent )
522 {
523 _nTopEvent = strTopEvent;
524 }
525
526
527
528
529
530
531 public String[] getTags( )
532 {
533 return _listTags;
534 }
535
536
537
538
539
540
541 public void setTags( String[] listTags )
542 {
543 _listTags = listTags;
544 }
545
546
547
548
549
550
551 public String getListTags( )
552 {
553 return _strListTags;
554 }
555
556
557
558
559
560
561 public void setListTags( String strListTags )
562 {
563 _strListTags = strListTags;
564 }
565
566
567
568
569
570
571 public String getType( )
572 {
573 return _searchType;
574 }
575
576
577
578
579
580
581 public void setType( String type )
582 {
583 _searchType = type;
584 }
585
586
587
588
589
590
591 public int getIdCalendar( )
592 {
593 return _nIdCalendar;
594 }
595
596
597
598
599
600
601 public void setIdCalendar( int idCalendar )
602 {
603 _nIdCalendar = idCalendar;
604 }
605
606
607
608
609
610
611 public Collection<Category> getListCategories( )
612 {
613 return _listCategories;
614 }
615
616
617
618
619
620
621 public void setListCategories( Collection<Category> categories )
622 {
623 _listCategories = categories;
624 }
625
626
627
628
629
630
631 public ImageResource getImageResource( )
632 {
633 return _imageRessource;
634 }
635
636
637
638
639
640
641 public void setImageResource( ImageResource imageResource )
642 {
643 _imageRessource = imageResource;
644 }
645
646
647
648
649
650
651 public String getImageUrl( )
652 {
653 return _strImageUrl;
654 }
655
656
657
658
659
660
661 public void setImageUrl( String strImageUrl )
662 {
663 _strImageUrl = strImageUrl;
664 }
665
666
667
668
669
670
671 public Timestamp getDateCreation( )
672 {
673 return _dateCreation;
674 }
675
676
677
678
679
680
681 public void setDateCreation( Timestamp dateCreation )
682 {
683 _dateCreation = dateCreation;
684 }
685
686
687
688
689
690
691 public String[] getExcludedDays( )
692 {
693 return _listExcludedDays;
694 }
695
696
697
698
699
700
701 public void setExcludedDays( String[] listExcludedDays )
702 {
703 _listExcludedDays = listExcludedDays;
704 }
705 }