001
014
015 package com.liferay.portlet.calendar.model;
016
017
026 public class CalEventWrapper implements CalEvent {
027 public CalEventWrapper(CalEvent calEvent) {
028 _calEvent = calEvent;
029 }
030
031 public Class<?> getModelClass() {
032 return CalEvent.class;
033 }
034
035 public String getModelClassName() {
036 return CalEvent.class.getName();
037 }
038
039
044 public long getPrimaryKey() {
045 return _calEvent.getPrimaryKey();
046 }
047
048
053 public void setPrimaryKey(long primaryKey) {
054 _calEvent.setPrimaryKey(primaryKey);
055 }
056
057
062 public java.lang.String getUuid() {
063 return _calEvent.getUuid();
064 }
065
066
071 public void setUuid(java.lang.String uuid) {
072 _calEvent.setUuid(uuid);
073 }
074
075
080 public long getEventId() {
081 return _calEvent.getEventId();
082 }
083
084
089 public void setEventId(long eventId) {
090 _calEvent.setEventId(eventId);
091 }
092
093
098 public long getGroupId() {
099 return _calEvent.getGroupId();
100 }
101
102
107 public void setGroupId(long groupId) {
108 _calEvent.setGroupId(groupId);
109 }
110
111
116 public long getCompanyId() {
117 return _calEvent.getCompanyId();
118 }
119
120
125 public void setCompanyId(long companyId) {
126 _calEvent.setCompanyId(companyId);
127 }
128
129
134 public long getUserId() {
135 return _calEvent.getUserId();
136 }
137
138
143 public void setUserId(long userId) {
144 _calEvent.setUserId(userId);
145 }
146
147
153 public java.lang.String getUserUuid()
154 throws com.liferay.portal.kernel.exception.SystemException {
155 return _calEvent.getUserUuid();
156 }
157
158
163 public void setUserUuid(java.lang.String userUuid) {
164 _calEvent.setUserUuid(userUuid);
165 }
166
167
172 public java.lang.String getUserName() {
173 return _calEvent.getUserName();
174 }
175
176
181 public void setUserName(java.lang.String userName) {
182 _calEvent.setUserName(userName);
183 }
184
185
190 public java.util.Date getCreateDate() {
191 return _calEvent.getCreateDate();
192 }
193
194
199 public void setCreateDate(java.util.Date createDate) {
200 _calEvent.setCreateDate(createDate);
201 }
202
203
208 public java.util.Date getModifiedDate() {
209 return _calEvent.getModifiedDate();
210 }
211
212
217 public void setModifiedDate(java.util.Date modifiedDate) {
218 _calEvent.setModifiedDate(modifiedDate);
219 }
220
221
226 public java.lang.String getTitle() {
227 return _calEvent.getTitle();
228 }
229
230
235 public void setTitle(java.lang.String title) {
236 _calEvent.setTitle(title);
237 }
238
239
244 public java.lang.String getDescription() {
245 return _calEvent.getDescription();
246 }
247
248
253 public void setDescription(java.lang.String description) {
254 _calEvent.setDescription(description);
255 }
256
257
262 public java.util.Date getStartDate() {
263 return _calEvent.getStartDate();
264 }
265
266
271 public void setStartDate(java.util.Date startDate) {
272 _calEvent.setStartDate(startDate);
273 }
274
275
280 public java.util.Date getEndDate() {
281 return _calEvent.getEndDate();
282 }
283
284
289 public void setEndDate(java.util.Date endDate) {
290 _calEvent.setEndDate(endDate);
291 }
292
293
298 public int getDurationHour() {
299 return _calEvent.getDurationHour();
300 }
301
302
307 public void setDurationHour(int durationHour) {
308 _calEvent.setDurationHour(durationHour);
309 }
310
311
316 public int getDurationMinute() {
317 return _calEvent.getDurationMinute();
318 }
319
320
325 public void setDurationMinute(int durationMinute) {
326 _calEvent.setDurationMinute(durationMinute);
327 }
328
329
334 public boolean getAllDay() {
335 return _calEvent.getAllDay();
336 }
337
338
343 public boolean isAllDay() {
344 return _calEvent.isAllDay();
345 }
346
347
352 public void setAllDay(boolean allDay) {
353 _calEvent.setAllDay(allDay);
354 }
355
356
361 public boolean getTimeZoneSensitive() {
362 return _calEvent.getTimeZoneSensitive();
363 }
364
365
370 public boolean isTimeZoneSensitive() {
371 return _calEvent.isTimeZoneSensitive();
372 }
373
374
379 public void setTimeZoneSensitive(boolean timeZoneSensitive) {
380 _calEvent.setTimeZoneSensitive(timeZoneSensitive);
381 }
382
383
388 public java.lang.String getType() {
389 return _calEvent.getType();
390 }
391
392
397 public void setType(java.lang.String type) {
398 _calEvent.setType(type);
399 }
400
401
406 public boolean getRepeating() {
407 return _calEvent.getRepeating();
408 }
409
410
415 public boolean isRepeating() {
416 return _calEvent.isRepeating();
417 }
418
419
424 public void setRepeating(boolean repeating) {
425 _calEvent.setRepeating(repeating);
426 }
427
428
433 public java.lang.String getRecurrence() {
434 return _calEvent.getRecurrence();
435 }
436
437
442 public void setRecurrence(java.lang.String recurrence) {
443 _calEvent.setRecurrence(recurrence);
444 }
445
446
451 public int getRemindBy() {
452 return _calEvent.getRemindBy();
453 }
454
455
460 public void setRemindBy(int remindBy) {
461 _calEvent.setRemindBy(remindBy);
462 }
463
464
469 public int getFirstReminder() {
470 return _calEvent.getFirstReminder();
471 }
472
473
478 public void setFirstReminder(int firstReminder) {
479 _calEvent.setFirstReminder(firstReminder);
480 }
481
482
487 public int getSecondReminder() {
488 return _calEvent.getSecondReminder();
489 }
490
491
496 public void setSecondReminder(int secondReminder) {
497 _calEvent.setSecondReminder(secondReminder);
498 }
499
500 public boolean isNew() {
501 return _calEvent.isNew();
502 }
503
504 public void setNew(boolean n) {
505 _calEvent.setNew(n);
506 }
507
508 public boolean isCachedModel() {
509 return _calEvent.isCachedModel();
510 }
511
512 public void setCachedModel(boolean cachedModel) {
513 _calEvent.setCachedModel(cachedModel);
514 }
515
516 public boolean isEscapedModel() {
517 return _calEvent.isEscapedModel();
518 }
519
520 public void setEscapedModel(boolean escapedModel) {
521 _calEvent.setEscapedModel(escapedModel);
522 }
523
524 public java.io.Serializable getPrimaryKeyObj() {
525 return _calEvent.getPrimaryKeyObj();
526 }
527
528 public void setPrimaryKeyObj(java.io.Serializable primaryKeyObj) {
529 _calEvent.setPrimaryKeyObj(primaryKeyObj);
530 }
531
532 public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
533 return _calEvent.getExpandoBridge();
534 }
535
536 public void setExpandoBridgeAttributes(
537 com.liferay.portal.service.ServiceContext serviceContext) {
538 _calEvent.setExpandoBridgeAttributes(serviceContext);
539 }
540
541 @Override
542 public java.lang.Object clone() {
543 return new CalEventWrapper((CalEvent)_calEvent.clone());
544 }
545
546 public int compareTo(com.liferay.portlet.calendar.model.CalEvent calEvent) {
547 return _calEvent.compareTo(calEvent);
548 }
549
550 @Override
551 public int hashCode() {
552 return _calEvent.hashCode();
553 }
554
555 public com.liferay.portal.model.CacheModel<com.liferay.portlet.calendar.model.CalEvent> toCacheModel() {
556 return _calEvent.toCacheModel();
557 }
558
559 public com.liferay.portlet.calendar.model.CalEvent toEscapedModel() {
560 return new CalEventWrapper(_calEvent.toEscapedModel());
561 }
562
563 @Override
564 public java.lang.String toString() {
565 return _calEvent.toString();
566 }
567
568 public java.lang.String toXmlString() {
569 return _calEvent.toXmlString();
570 }
571
572 public void persist()
573 throws com.liferay.portal.kernel.exception.SystemException {
574 _calEvent.persist();
575 }
576
577 public com.liferay.portal.kernel.cal.TZSRecurrence getRecurrenceObj() {
578 return _calEvent.getRecurrenceObj();
579 }
580
581 public void setRecurrenceObj(
582 com.liferay.portal.kernel.cal.TZSRecurrence recurrenceObj) {
583 _calEvent.setRecurrenceObj(recurrenceObj);
584 }
585
586 public CalEvent getWrappedCalEvent() {
587 return _calEvent;
588 }
589
590 public void resetOriginalValues() {
591 _calEvent.resetOriginalValues();
592 }
593
594 private CalEvent _calEvent;
595 }