1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.calendar.model;
24  
25  
26  /**
27   * <a href="CalEventSoap.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link CalEvent}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       CalEvent
40   * @generated
41   */
42  public class CalEventWrapper implements CalEvent {
43      public CalEventWrapper(CalEvent calEvent) {
44          _calEvent = calEvent;
45      }
46  
47      public long getPrimaryKey() {
48          return _calEvent.getPrimaryKey();
49      }
50  
51      public void setPrimaryKey(long pk) {
52          _calEvent.setPrimaryKey(pk);
53      }
54  
55      public java.lang.String getUuid() {
56          return _calEvent.getUuid();
57      }
58  
59      public void setUuid(java.lang.String uuid) {
60          _calEvent.setUuid(uuid);
61      }
62  
63      public long getEventId() {
64          return _calEvent.getEventId();
65      }
66  
67      public void setEventId(long eventId) {
68          _calEvent.setEventId(eventId);
69      }
70  
71      public long getGroupId() {
72          return _calEvent.getGroupId();
73      }
74  
75      public void setGroupId(long groupId) {
76          _calEvent.setGroupId(groupId);
77      }
78  
79      public long getCompanyId() {
80          return _calEvent.getCompanyId();
81      }
82  
83      public void setCompanyId(long companyId) {
84          _calEvent.setCompanyId(companyId);
85      }
86  
87      public long getUserId() {
88          return _calEvent.getUserId();
89      }
90  
91      public void setUserId(long userId) {
92          _calEvent.setUserId(userId);
93      }
94  
95      public java.lang.String getUserUuid()
96          throws com.liferay.portal.SystemException {
97          return _calEvent.getUserUuid();
98      }
99  
100     public void setUserUuid(java.lang.String userUuid) {
101         _calEvent.setUserUuid(userUuid);
102     }
103 
104     public java.lang.String getUserName() {
105         return _calEvent.getUserName();
106     }
107 
108     public void setUserName(java.lang.String userName) {
109         _calEvent.setUserName(userName);
110     }
111 
112     public java.util.Date getCreateDate() {
113         return _calEvent.getCreateDate();
114     }
115 
116     public void setCreateDate(java.util.Date createDate) {
117         _calEvent.setCreateDate(createDate);
118     }
119 
120     public java.util.Date getModifiedDate() {
121         return _calEvent.getModifiedDate();
122     }
123 
124     public void setModifiedDate(java.util.Date modifiedDate) {
125         _calEvent.setModifiedDate(modifiedDate);
126     }
127 
128     public java.lang.String getTitle() {
129         return _calEvent.getTitle();
130     }
131 
132     public void setTitle(java.lang.String title) {
133         _calEvent.setTitle(title);
134     }
135 
136     public java.lang.String getDescription() {
137         return _calEvent.getDescription();
138     }
139 
140     public void setDescription(java.lang.String description) {
141         _calEvent.setDescription(description);
142     }
143 
144     public java.util.Date getStartDate() {
145         return _calEvent.getStartDate();
146     }
147 
148     public void setStartDate(java.util.Date startDate) {
149         _calEvent.setStartDate(startDate);
150     }
151 
152     public java.util.Date getEndDate() {
153         return _calEvent.getEndDate();
154     }
155 
156     public void setEndDate(java.util.Date endDate) {
157         _calEvent.setEndDate(endDate);
158     }
159 
160     public int getDurationHour() {
161         return _calEvent.getDurationHour();
162     }
163 
164     public void setDurationHour(int durationHour) {
165         _calEvent.setDurationHour(durationHour);
166     }
167 
168     public int getDurationMinute() {
169         return _calEvent.getDurationMinute();
170     }
171 
172     public void setDurationMinute(int durationMinute) {
173         _calEvent.setDurationMinute(durationMinute);
174     }
175 
176     public boolean getAllDay() {
177         return _calEvent.getAllDay();
178     }
179 
180     public boolean isAllDay() {
181         return _calEvent.isAllDay();
182     }
183 
184     public void setAllDay(boolean allDay) {
185         _calEvent.setAllDay(allDay);
186     }
187 
188     public boolean getTimeZoneSensitive() {
189         return _calEvent.getTimeZoneSensitive();
190     }
191 
192     public boolean isTimeZoneSensitive() {
193         return _calEvent.isTimeZoneSensitive();
194     }
195 
196     public void setTimeZoneSensitive(boolean timeZoneSensitive) {
197         _calEvent.setTimeZoneSensitive(timeZoneSensitive);
198     }
199 
200     public java.lang.String getType() {
201         return _calEvent.getType();
202     }
203 
204     public void setType(java.lang.String type) {
205         _calEvent.setType(type);
206     }
207 
208     public boolean getRepeating() {
209         return _calEvent.getRepeating();
210     }
211 
212     public boolean isRepeating() {
213         return _calEvent.isRepeating();
214     }
215 
216     public void setRepeating(boolean repeating) {
217         _calEvent.setRepeating(repeating);
218     }
219 
220     public java.lang.String getRecurrence() {
221         return _calEvent.getRecurrence();
222     }
223 
224     public void setRecurrence(java.lang.String recurrence) {
225         _calEvent.setRecurrence(recurrence);
226     }
227 
228     public int getRemindBy() {
229         return _calEvent.getRemindBy();
230     }
231 
232     public void setRemindBy(int remindBy) {
233         _calEvent.setRemindBy(remindBy);
234     }
235 
236     public int getFirstReminder() {
237         return _calEvent.getFirstReminder();
238     }
239 
240     public void setFirstReminder(int firstReminder) {
241         _calEvent.setFirstReminder(firstReminder);
242     }
243 
244     public int getSecondReminder() {
245         return _calEvent.getSecondReminder();
246     }
247 
248     public void setSecondReminder(int secondReminder) {
249         _calEvent.setSecondReminder(secondReminder);
250     }
251 
252     public com.liferay.portlet.calendar.model.CalEvent toEscapedModel() {
253         return _calEvent.toEscapedModel();
254     }
255 
256     public boolean isNew() {
257         return _calEvent.isNew();
258     }
259 
260     public boolean setNew(boolean n) {
261         return _calEvent.setNew(n);
262     }
263 
264     public boolean isCachedModel() {
265         return _calEvent.isCachedModel();
266     }
267 
268     public void setCachedModel(boolean cachedModel) {
269         _calEvent.setCachedModel(cachedModel);
270     }
271 
272     public boolean isEscapedModel() {
273         return _calEvent.isEscapedModel();
274     }
275 
276     public void setEscapedModel(boolean escapedModel) {
277         _calEvent.setEscapedModel(escapedModel);
278     }
279 
280     public java.io.Serializable getPrimaryKeyObj() {
281         return _calEvent.getPrimaryKeyObj();
282     }
283 
284     public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
285         return _calEvent.getExpandoBridge();
286     }
287 
288     public void setExpandoBridgeAttributes(
289         com.liferay.portal.service.ServiceContext serviceContext) {
290         _calEvent.setExpandoBridgeAttributes(serviceContext);
291     }
292 
293     public java.lang.Object clone() {
294         return _calEvent.clone();
295     }
296 
297     public int compareTo(com.liferay.portlet.calendar.model.CalEvent calEvent) {
298         return _calEvent.compareTo(calEvent);
299     }
300 
301     public int hashCode() {
302         return _calEvent.hashCode();
303     }
304 
305     public java.lang.String toString() {
306         return _calEvent.toString();
307     }
308 
309     public java.lang.String toXmlString() {
310         return _calEvent.toXmlString();
311     }
312 
313     public com.liferay.portal.kernel.cal.TZSRecurrence getRecurrenceObj() {
314         return _calEvent.getRecurrenceObj();
315     }
316 
317     public void setRecurrenceObj(
318         com.liferay.portal.kernel.cal.TZSRecurrence recurrenceObj) {
319         _calEvent.setRecurrenceObj(recurrenceObj);
320     }
321 
322     public CalEvent getWrappedCalEvent() {
323         return _calEvent;
324     }
325 
326     private CalEvent _calEvent;
327 }