001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.calendar.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link CalEvent}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       CalEvent
024     * @generated
025     */
026    public class CalEventWrapper implements CalEvent {
027            public CalEventWrapper(CalEvent calEvent) {
028                    _calEvent = calEvent;
029            }
030    
031            /**
032            * Gets the primary key of this cal event.
033            *
034            * @return the primary key of this cal event
035            */
036            public long getPrimaryKey() {
037                    return _calEvent.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this cal event
042            *
043            * @param pk the primary key of this cal event
044            */
045            public void setPrimaryKey(long pk) {
046                    _calEvent.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the uuid of this cal event.
051            *
052            * @return the uuid of this cal event
053            */
054            public java.lang.String getUuid() {
055                    return _calEvent.getUuid();
056            }
057    
058            /**
059            * Sets the uuid of this cal event.
060            *
061            * @param uuid the uuid of this cal event
062            */
063            public void setUuid(java.lang.String uuid) {
064                    _calEvent.setUuid(uuid);
065            }
066    
067            /**
068            * Gets the event id of this cal event.
069            *
070            * @return the event id of this cal event
071            */
072            public long getEventId() {
073                    return _calEvent.getEventId();
074            }
075    
076            /**
077            * Sets the event id of this cal event.
078            *
079            * @param eventId the event id of this cal event
080            */
081            public void setEventId(long eventId) {
082                    _calEvent.setEventId(eventId);
083            }
084    
085            /**
086            * Gets the group id of this cal event.
087            *
088            * @return the group id of this cal event
089            */
090            public long getGroupId() {
091                    return _calEvent.getGroupId();
092            }
093    
094            /**
095            * Sets the group id of this cal event.
096            *
097            * @param groupId the group id of this cal event
098            */
099            public void setGroupId(long groupId) {
100                    _calEvent.setGroupId(groupId);
101            }
102    
103            /**
104            * Gets the company id of this cal event.
105            *
106            * @return the company id of this cal event
107            */
108            public long getCompanyId() {
109                    return _calEvent.getCompanyId();
110            }
111    
112            /**
113            * Sets the company id of this cal event.
114            *
115            * @param companyId the company id of this cal event
116            */
117            public void setCompanyId(long companyId) {
118                    _calEvent.setCompanyId(companyId);
119            }
120    
121            /**
122            * Gets the user id of this cal event.
123            *
124            * @return the user id of this cal event
125            */
126            public long getUserId() {
127                    return _calEvent.getUserId();
128            }
129    
130            /**
131            * Sets the user id of this cal event.
132            *
133            * @param userId the user id of this cal event
134            */
135            public void setUserId(long userId) {
136                    _calEvent.setUserId(userId);
137            }
138    
139            /**
140            * Gets the user uuid of this cal event.
141            *
142            * @return the user uuid of this cal event
143            * @throws SystemException if a system exception occurred
144            */
145            public java.lang.String getUserUuid()
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    return _calEvent.getUserUuid();
148            }
149    
150            /**
151            * Sets the user uuid of this cal event.
152            *
153            * @param userUuid the user uuid of this cal event
154            */
155            public void setUserUuid(java.lang.String userUuid) {
156                    _calEvent.setUserUuid(userUuid);
157            }
158    
159            /**
160            * Gets the user name of this cal event.
161            *
162            * @return the user name of this cal event
163            */
164            public java.lang.String getUserName() {
165                    return _calEvent.getUserName();
166            }
167    
168            /**
169            * Sets the user name of this cal event.
170            *
171            * @param userName the user name of this cal event
172            */
173            public void setUserName(java.lang.String userName) {
174                    _calEvent.setUserName(userName);
175            }
176    
177            /**
178            * Gets the create date of this cal event.
179            *
180            * @return the create date of this cal event
181            */
182            public java.util.Date getCreateDate() {
183                    return _calEvent.getCreateDate();
184            }
185    
186            /**
187            * Sets the create date of this cal event.
188            *
189            * @param createDate the create date of this cal event
190            */
191            public void setCreateDate(java.util.Date createDate) {
192                    _calEvent.setCreateDate(createDate);
193            }
194    
195            /**
196            * Gets the modified date of this cal event.
197            *
198            * @return the modified date of this cal event
199            */
200            public java.util.Date getModifiedDate() {
201                    return _calEvent.getModifiedDate();
202            }
203    
204            /**
205            * Sets the modified date of this cal event.
206            *
207            * @param modifiedDate the modified date of this cal event
208            */
209            public void setModifiedDate(java.util.Date modifiedDate) {
210                    _calEvent.setModifiedDate(modifiedDate);
211            }
212    
213            /**
214            * Gets the title of this cal event.
215            *
216            * @return the title of this cal event
217            */
218            public java.lang.String getTitle() {
219                    return _calEvent.getTitle();
220            }
221    
222            /**
223            * Sets the title of this cal event.
224            *
225            * @param title the title of this cal event
226            */
227            public void setTitle(java.lang.String title) {
228                    _calEvent.setTitle(title);
229            }
230    
231            /**
232            * Gets the description of this cal event.
233            *
234            * @return the description of this cal event
235            */
236            public java.lang.String getDescription() {
237                    return _calEvent.getDescription();
238            }
239    
240            /**
241            * Sets the description of this cal event.
242            *
243            * @param description the description of this cal event
244            */
245            public void setDescription(java.lang.String description) {
246                    _calEvent.setDescription(description);
247            }
248    
249            /**
250            * Gets the start date of this cal event.
251            *
252            * @return the start date of this cal event
253            */
254            public java.util.Date getStartDate() {
255                    return _calEvent.getStartDate();
256            }
257    
258            /**
259            * Sets the start date of this cal event.
260            *
261            * @param startDate the start date of this cal event
262            */
263            public void setStartDate(java.util.Date startDate) {
264                    _calEvent.setStartDate(startDate);
265            }
266    
267            /**
268            * Gets the end date of this cal event.
269            *
270            * @return the end date of this cal event
271            */
272            public java.util.Date getEndDate() {
273                    return _calEvent.getEndDate();
274            }
275    
276            /**
277            * Sets the end date of this cal event.
278            *
279            * @param endDate the end date of this cal event
280            */
281            public void setEndDate(java.util.Date endDate) {
282                    _calEvent.setEndDate(endDate);
283            }
284    
285            /**
286            * Gets the duration hour of this cal event.
287            *
288            * @return the duration hour of this cal event
289            */
290            public int getDurationHour() {
291                    return _calEvent.getDurationHour();
292            }
293    
294            /**
295            * Sets the duration hour of this cal event.
296            *
297            * @param durationHour the duration hour of this cal event
298            */
299            public void setDurationHour(int durationHour) {
300                    _calEvent.setDurationHour(durationHour);
301            }
302    
303            /**
304            * Gets the duration minute of this cal event.
305            *
306            * @return the duration minute of this cal event
307            */
308            public int getDurationMinute() {
309                    return _calEvent.getDurationMinute();
310            }
311    
312            /**
313            * Sets the duration minute of this cal event.
314            *
315            * @param durationMinute the duration minute of this cal event
316            */
317            public void setDurationMinute(int durationMinute) {
318                    _calEvent.setDurationMinute(durationMinute);
319            }
320    
321            /**
322            * Gets the all day of this cal event.
323            *
324            * @return the all day of this cal event
325            */
326            public boolean getAllDay() {
327                    return _calEvent.getAllDay();
328            }
329    
330            /**
331            * Determines whether this cal event is all day.
332            *
333            * @return whether this cal event is all day
334            */
335            public boolean isAllDay() {
336                    return _calEvent.isAllDay();
337            }
338    
339            /**
340            * Sets whether this {$entity.humanName} is all day.
341            *
342            * @param allDay the all day of this cal event
343            */
344            public void setAllDay(boolean allDay) {
345                    _calEvent.setAllDay(allDay);
346            }
347    
348            /**
349            * Gets the time zone sensitive of this cal event.
350            *
351            * @return the time zone sensitive of this cal event
352            */
353            public boolean getTimeZoneSensitive() {
354                    return _calEvent.getTimeZoneSensitive();
355            }
356    
357            /**
358            * Determines whether this cal event is time zone sensitive.
359            *
360            * @return whether this cal event is time zone sensitive
361            */
362            public boolean isTimeZoneSensitive() {
363                    return _calEvent.isTimeZoneSensitive();
364            }
365    
366            /**
367            * Sets whether this {$entity.humanName} is time zone sensitive.
368            *
369            * @param timeZoneSensitive the time zone sensitive of this cal event
370            */
371            public void setTimeZoneSensitive(boolean timeZoneSensitive) {
372                    _calEvent.setTimeZoneSensitive(timeZoneSensitive);
373            }
374    
375            /**
376            * Gets the type of this cal event.
377            *
378            * @return the type of this cal event
379            */
380            public java.lang.String getType() {
381                    return _calEvent.getType();
382            }
383    
384            /**
385            * Sets the type of this cal event.
386            *
387            * @param type the type of this cal event
388            */
389            public void setType(java.lang.String type) {
390                    _calEvent.setType(type);
391            }
392    
393            /**
394            * Gets the repeating of this cal event.
395            *
396            * @return the repeating of this cal event
397            */
398            public boolean getRepeating() {
399                    return _calEvent.getRepeating();
400            }
401    
402            /**
403            * Determines whether this cal event is repeating.
404            *
405            * @return whether this cal event is repeating
406            */
407            public boolean isRepeating() {
408                    return _calEvent.isRepeating();
409            }
410    
411            /**
412            * Sets whether this {$entity.humanName} is repeating.
413            *
414            * @param repeating the repeating of this cal event
415            */
416            public void setRepeating(boolean repeating) {
417                    _calEvent.setRepeating(repeating);
418            }
419    
420            /**
421            * Gets the recurrence of this cal event.
422            *
423            * @return the recurrence of this cal event
424            */
425            public java.lang.String getRecurrence() {
426                    return _calEvent.getRecurrence();
427            }
428    
429            /**
430            * Sets the recurrence of this cal event.
431            *
432            * @param recurrence the recurrence of this cal event
433            */
434            public void setRecurrence(java.lang.String recurrence) {
435                    _calEvent.setRecurrence(recurrence);
436            }
437    
438            /**
439            * Gets the remind by of this cal event.
440            *
441            * @return the remind by of this cal event
442            */
443            public int getRemindBy() {
444                    return _calEvent.getRemindBy();
445            }
446    
447            /**
448            * Sets the remind by of this cal event.
449            *
450            * @param remindBy the remind by of this cal event
451            */
452            public void setRemindBy(int remindBy) {
453                    _calEvent.setRemindBy(remindBy);
454            }
455    
456            /**
457            * Gets the first reminder of this cal event.
458            *
459            * @return the first reminder of this cal event
460            */
461            public int getFirstReminder() {
462                    return _calEvent.getFirstReminder();
463            }
464    
465            /**
466            * Sets the first reminder of this cal event.
467            *
468            * @param firstReminder the first reminder of this cal event
469            */
470            public void setFirstReminder(int firstReminder) {
471                    _calEvent.setFirstReminder(firstReminder);
472            }
473    
474            /**
475            * Gets the second reminder of this cal event.
476            *
477            * @return the second reminder of this cal event
478            */
479            public int getSecondReminder() {
480                    return _calEvent.getSecondReminder();
481            }
482    
483            /**
484            * Sets the second reminder of this cal event.
485            *
486            * @param secondReminder the second reminder of this cal event
487            */
488            public void setSecondReminder(int secondReminder) {
489                    _calEvent.setSecondReminder(secondReminder);
490            }
491    
492            public boolean isNew() {
493                    return _calEvent.isNew();
494            }
495    
496            public void setNew(boolean n) {
497                    _calEvent.setNew(n);
498            }
499    
500            public boolean isCachedModel() {
501                    return _calEvent.isCachedModel();
502            }
503    
504            public void setCachedModel(boolean cachedModel) {
505                    _calEvent.setCachedModel(cachedModel);
506            }
507    
508            public boolean isEscapedModel() {
509                    return _calEvent.isEscapedModel();
510            }
511    
512            public void setEscapedModel(boolean escapedModel) {
513                    _calEvent.setEscapedModel(escapedModel);
514            }
515    
516            public java.io.Serializable getPrimaryKeyObj() {
517                    return _calEvent.getPrimaryKeyObj();
518            }
519    
520            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
521                    return _calEvent.getExpandoBridge();
522            }
523    
524            public void setExpandoBridgeAttributes(
525                    com.liferay.portal.service.ServiceContext serviceContext) {
526                    _calEvent.setExpandoBridgeAttributes(serviceContext);
527            }
528    
529            public java.lang.Object clone() {
530                    return _calEvent.clone();
531            }
532    
533            public int compareTo(com.liferay.portlet.calendar.model.CalEvent calEvent) {
534                    return _calEvent.compareTo(calEvent);
535            }
536    
537            public int hashCode() {
538                    return _calEvent.hashCode();
539            }
540    
541            public com.liferay.portlet.calendar.model.CalEvent toEscapedModel() {
542                    return _calEvent.toEscapedModel();
543            }
544    
545            public java.lang.String toString() {
546                    return _calEvent.toString();
547            }
548    
549            public java.lang.String toXmlString() {
550                    return _calEvent.toXmlString();
551            }
552    
553            public com.liferay.portal.kernel.cal.TZSRecurrence getRecurrenceObj() {
554                    return _calEvent.getRecurrenceObj();
555            }
556    
557            public void setRecurrenceObj(
558                    com.liferay.portal.kernel.cal.TZSRecurrence recurrenceObj) {
559                    _calEvent.setRecurrenceObj(recurrenceObj);
560            }
561    
562            public CalEvent getWrappedCalEvent() {
563                    return _calEvent;
564            }
565    
566            private CalEvent _calEvent;
567    }