001
014
015 package com.liferay.portlet.calendar.model;
016
017 import com.liferay.portal.model.ModelWrapper;
018
019
028 public class CalEventWrapper implements CalEvent, ModelWrapper<CalEvent> {
029 public CalEventWrapper(CalEvent calEvent) {
030 _calEvent = calEvent;
031 }
032
033 public Class<?> getModelClass() {
034 return CalEvent.class;
035 }
036
037 public String getModelClassName() {
038 return CalEvent.class.getName();
039 }
040
041
046 public long getPrimaryKey() {
047 return _calEvent.getPrimaryKey();
048 }
049
050
055 public void setPrimaryKey(long primaryKey) {
056 _calEvent.setPrimaryKey(primaryKey);
057 }
058
059
064 public java.lang.String getUuid() {
065 return _calEvent.getUuid();
066 }
067
068
073 public void setUuid(java.lang.String uuid) {
074 _calEvent.setUuid(uuid);
075 }
076
077
082 public long getEventId() {
083 return _calEvent.getEventId();
084 }
085
086
091 public void setEventId(long eventId) {
092 _calEvent.setEventId(eventId);
093 }
094
095
100 public long getGroupId() {
101 return _calEvent.getGroupId();
102 }
103
104
109 public void setGroupId(long groupId) {
110 _calEvent.setGroupId(groupId);
111 }
112
113
118 public long getCompanyId() {
119 return _calEvent.getCompanyId();
120 }
121
122
127 public void setCompanyId(long companyId) {
128 _calEvent.setCompanyId(companyId);
129 }
130
131
136 public long getUserId() {
137 return _calEvent.getUserId();
138 }
139
140
145 public void setUserId(long userId) {
146 _calEvent.setUserId(userId);
147 }
148
149
155 public java.lang.String getUserUuid()
156 throws com.liferay.portal.kernel.exception.SystemException {
157 return _calEvent.getUserUuid();
158 }
159
160
165 public void setUserUuid(java.lang.String userUuid) {
166 _calEvent.setUserUuid(userUuid);
167 }
168
169
174 public java.lang.String getUserName() {
175 return _calEvent.getUserName();
176 }
177
178
183 public void setUserName(java.lang.String userName) {
184 _calEvent.setUserName(userName);
185 }
186
187
192 public java.util.Date getCreateDate() {
193 return _calEvent.getCreateDate();
194 }
195
196
201 public void setCreateDate(java.util.Date createDate) {
202 _calEvent.setCreateDate(createDate);
203 }
204
205
210 public java.util.Date getModifiedDate() {
211 return _calEvent.getModifiedDate();
212 }
213
214
219 public void setModifiedDate(java.util.Date modifiedDate) {
220 _calEvent.setModifiedDate(modifiedDate);
221 }
222
223
228 public java.lang.String getTitle() {
229 return _calEvent.getTitle();
230 }
231
232
237 public void setTitle(java.lang.String title) {
238 _calEvent.setTitle(title);
239 }
240
241
246 public java.lang.String getDescription() {
247 return _calEvent.getDescription();
248 }
249
250
255 public void setDescription(java.lang.String description) {
256 _calEvent.setDescription(description);
257 }
258
259
264 public java.lang.String getLocation() {
265 return _calEvent.getLocation();
266 }
267
268
273 public void setLocation(java.lang.String location) {
274 _calEvent.setLocation(location);
275 }
276
277
282 public java.util.Date getStartDate() {
283 return _calEvent.getStartDate();
284 }
285
286
291 public void setStartDate(java.util.Date startDate) {
292 _calEvent.setStartDate(startDate);
293 }
294
295
300 public java.util.Date getEndDate() {
301 return _calEvent.getEndDate();
302 }
303
304
309 public void setEndDate(java.util.Date endDate) {
310 _calEvent.setEndDate(endDate);
311 }
312
313
318 public int getDurationHour() {
319 return _calEvent.getDurationHour();
320 }
321
322
327 public void setDurationHour(int durationHour) {
328 _calEvent.setDurationHour(durationHour);
329 }
330
331
336 public int getDurationMinute() {
337 return _calEvent.getDurationMinute();
338 }
339
340
345 public void setDurationMinute(int durationMinute) {
346 _calEvent.setDurationMinute(durationMinute);
347 }
348
349
354 public boolean getAllDay() {
355 return _calEvent.getAllDay();
356 }
357
358
363 public boolean isAllDay() {
364 return _calEvent.isAllDay();
365 }
366
367
372 public void setAllDay(boolean allDay) {
373 _calEvent.setAllDay(allDay);
374 }
375
376
381 public boolean getTimeZoneSensitive() {
382 return _calEvent.getTimeZoneSensitive();
383 }
384
385
390 public boolean isTimeZoneSensitive() {
391 return _calEvent.isTimeZoneSensitive();
392 }
393
394
399 public void setTimeZoneSensitive(boolean timeZoneSensitive) {
400 _calEvent.setTimeZoneSensitive(timeZoneSensitive);
401 }
402
403
408 public java.lang.String getType() {
409 return _calEvent.getType();
410 }
411
412
417 public void setType(java.lang.String type) {
418 _calEvent.setType(type);
419 }
420
421
426 public boolean getRepeating() {
427 return _calEvent.getRepeating();
428 }
429
430
435 public boolean isRepeating() {
436 return _calEvent.isRepeating();
437 }
438
439
444 public void setRepeating(boolean repeating) {
445 _calEvent.setRepeating(repeating);
446 }
447
448
453 public java.lang.String getRecurrence() {
454 return _calEvent.getRecurrence();
455 }
456
457
462 public void setRecurrence(java.lang.String recurrence) {
463 _calEvent.setRecurrence(recurrence);
464 }
465
466
471 public int getRemindBy() {
472 return _calEvent.getRemindBy();
473 }
474
475
480 public void setRemindBy(int remindBy) {
481 _calEvent.setRemindBy(remindBy);
482 }
483
484
489 public int getFirstReminder() {
490 return _calEvent.getFirstReminder();
491 }
492
493
498 public void setFirstReminder(int firstReminder) {
499 _calEvent.setFirstReminder(firstReminder);
500 }
501
502
507 public int getSecondReminder() {
508 return _calEvent.getSecondReminder();
509 }
510
511
516 public void setSecondReminder(int secondReminder) {
517 _calEvent.setSecondReminder(secondReminder);
518 }
519
520 public boolean isNew() {
521 return _calEvent.isNew();
522 }
523
524 public void setNew(boolean n) {
525 _calEvent.setNew(n);
526 }
527
528 public boolean isCachedModel() {
529 return _calEvent.isCachedModel();
530 }
531
532 public void setCachedModel(boolean cachedModel) {
533 _calEvent.setCachedModel(cachedModel);
534 }
535
536 public boolean isEscapedModel() {
537 return _calEvent.isEscapedModel();
538 }
539
540 public java.io.Serializable getPrimaryKeyObj() {
541 return _calEvent.getPrimaryKeyObj();
542 }
543
544 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
545 _calEvent.setPrimaryKeyObj(primaryKeyObj);
546 }
547
548 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
549 return _calEvent.getExpandoBridge();
550 }
551
552 public void setExpandoBridgeAttributes(
553 com.liferay.portal.service.ServiceContext serviceContext) {
554 _calEvent.setExpandoBridgeAttributes(serviceContext);
555 }
556
557 @Override
558 public java.lang.Object clone() {
559 return new CalEventWrapper((CalEvent)_calEvent.clone());
560 }
561
562 public int compareTo(com.liferay.portlet.calendar.model.CalEvent calEvent) {
563 return _calEvent.compareTo(calEvent);
564 }
565
566 @Override
567 public int hashCode() {
568 return _calEvent.hashCode();
569 }
570
571 public com.liferay.portal.model.CacheModel<com.liferay.portlet.calendar.model.CalEvent> toCacheModel() {
572 return _calEvent.toCacheModel();
573 }
574
575 public com.liferay.portlet.calendar.model.CalEvent toEscapedModel() {
576 return new CalEventWrapper(_calEvent.toEscapedModel());
577 }
578
579 @Override
580 public java.lang.String toString() {
581 return _calEvent.toString();
582 }
583
584 public java.lang.String toXmlString() {
585 return _calEvent.toXmlString();
586 }
587
588 public void persist()
589 throws com.liferay.portal.kernel.exception.SystemException {
590 _calEvent.persist();
591 }
592
593 public com.liferay.portal.kernel.cal.TZSRecurrence getRecurrenceObj() {
594 return _calEvent.getRecurrenceObj();
595 }
596
597 public void setRecurrenceObj(
598 com.liferay.portal.kernel.cal.TZSRecurrence recurrenceObj) {
599 _calEvent.setRecurrenceObj(recurrenceObj);
600 }
601
602
605 public CalEvent getWrappedCalEvent() {
606 return _calEvent;
607 }
608
609 public CalEvent getWrappedModel() {
610 return _calEvent;
611 }
612
613 public void resetOriginalValues() {
614 _calEvent.resetOriginalValues();
615 }
616
617 private CalEvent _calEvent;
618 }