1
22
23 package com.liferay.portlet.calendar.service;
24
25
26
42 public class CalEventLocalServiceWrapper implements CalEventLocalService {
43 public CalEventLocalServiceWrapper(
44 CalEventLocalService calEventLocalService) {
45 _calEventLocalService = calEventLocalService;
46 }
47
48 public com.liferay.portlet.calendar.model.CalEvent addCalEvent(
49 com.liferay.portlet.calendar.model.CalEvent calEvent)
50 throws com.liferay.portal.SystemException {
51 return _calEventLocalService.addCalEvent(calEvent);
52 }
53
54 public com.liferay.portlet.calendar.model.CalEvent createCalEvent(
55 long eventId) {
56 return _calEventLocalService.createCalEvent(eventId);
57 }
58
59 public void deleteCalEvent(long eventId)
60 throws com.liferay.portal.PortalException,
61 com.liferay.portal.SystemException {
62 _calEventLocalService.deleteCalEvent(eventId);
63 }
64
65 public void deleteCalEvent(
66 com.liferay.portlet.calendar.model.CalEvent calEvent)
67 throws com.liferay.portal.SystemException {
68 _calEventLocalService.deleteCalEvent(calEvent);
69 }
70
71 public java.util.List<Object> dynamicQuery(
72 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
73 throws com.liferay.portal.SystemException {
74 return _calEventLocalService.dynamicQuery(dynamicQuery);
75 }
76
77 public java.util.List<Object> dynamicQuery(
78 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
79 int end) throws com.liferay.portal.SystemException {
80 return _calEventLocalService.dynamicQuery(dynamicQuery, start, end);
81 }
82
83 public com.liferay.portlet.calendar.model.CalEvent getCalEvent(long eventId)
84 throws com.liferay.portal.PortalException,
85 com.liferay.portal.SystemException {
86 return _calEventLocalService.getCalEvent(eventId);
87 }
88
89 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEvents(
90 int start, int end) throws com.liferay.portal.SystemException {
91 return _calEventLocalService.getCalEvents(start, end);
92 }
93
94 public int getCalEventsCount() throws com.liferay.portal.SystemException {
95 return _calEventLocalService.getCalEventsCount();
96 }
97
98 public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
99 com.liferay.portlet.calendar.model.CalEvent calEvent)
100 throws com.liferay.portal.SystemException {
101 return _calEventLocalService.updateCalEvent(calEvent);
102 }
103
104 public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
105 com.liferay.portlet.calendar.model.CalEvent calEvent, boolean merge)
106 throws com.liferay.portal.SystemException {
107 return _calEventLocalService.updateCalEvent(calEvent, merge);
108 }
109
110 public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
111 java.lang.String title, java.lang.String description,
112 int startDateMonth, int startDateDay, int startDateYear,
113 int startDateHour, int startDateMinute, int endDateMonth,
114 int endDateDay, int endDateYear, int durationHour, int durationMinute,
115 boolean allDay, boolean timeZoneSensitive, java.lang.String type,
116 boolean repeating,
117 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
118 int firstReminder, int secondReminder,
119 com.liferay.portal.service.ServiceContext serviceContext)
120 throws com.liferay.portal.PortalException,
121 com.liferay.portal.SystemException {
122 return _calEventLocalService.addEvent(userId, title, description,
123 startDateMonth, startDateDay, startDateYear, startDateHour,
124 startDateMinute, endDateMonth, endDateDay, endDateYear,
125 durationHour, durationMinute, allDay, timeZoneSensitive, type,
126 repeating, recurrence, remindBy, firstReminder, secondReminder,
127 serviceContext);
128 }
129
130 public com.liferay.portlet.calendar.model.CalEvent addEvent(
131 java.lang.String uuid, long userId, java.lang.String title,
132 java.lang.String description, int startDateMonth, int startDateDay,
133 int startDateYear, int startDateHour, int startDateMinute,
134 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
135 int durationMinute, boolean allDay, boolean timeZoneSensitive,
136 java.lang.String type, boolean repeating,
137 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
138 int firstReminder, int secondReminder,
139 com.liferay.portal.service.ServiceContext serviceContext)
140 throws com.liferay.portal.PortalException,
141 com.liferay.portal.SystemException {
142 return _calEventLocalService.addEvent(uuid, userId, title, description,
143 startDateMonth, startDateDay, startDateYear, startDateHour,
144 startDateMinute, endDateMonth, endDateDay, endDateYear,
145 durationHour, durationMinute, allDay, timeZoneSensitive, type,
146 repeating, recurrence, remindBy, firstReminder, secondReminder,
147 serviceContext);
148 }
149
150 public void addEventResources(
151 com.liferay.portlet.calendar.model.CalEvent event,
152 boolean addCommunityPermissions, boolean addGuestPermissions)
153 throws com.liferay.portal.PortalException,
154 com.liferay.portal.SystemException {
155 _calEventLocalService.addEventResources(event, addCommunityPermissions,
156 addGuestPermissions);
157 }
158
159 public void addEventResources(
160 com.liferay.portlet.calendar.model.CalEvent event,
161 java.lang.String[] communityPermissions,
162 java.lang.String[] guestPermissions)
163 throws com.liferay.portal.PortalException,
164 com.liferay.portal.SystemException {
165 _calEventLocalService.addEventResources(event, communityPermissions,
166 guestPermissions);
167 }
168
169 public void addEventResources(long eventId,
170 boolean addCommunityPermissions, boolean addGuestPermissions)
171 throws com.liferay.portal.PortalException,
172 com.liferay.portal.SystemException {
173 _calEventLocalService.addEventResources(eventId,
174 addCommunityPermissions, addGuestPermissions);
175 }
176
177 public void addEventResources(long eventId,
178 java.lang.String[] communityPermissions,
179 java.lang.String[] guestPermissions)
180 throws com.liferay.portal.PortalException,
181 com.liferay.portal.SystemException {
182 _calEventLocalService.addEventResources(eventId, communityPermissions,
183 guestPermissions);
184 }
185
186 public void checkEvents()
187 throws com.liferay.portal.PortalException,
188 com.liferay.portal.SystemException {
189 _calEventLocalService.checkEvents();
190 }
191
192 public void deleteEvent(com.liferay.portlet.calendar.model.CalEvent event)
193 throws com.liferay.portal.PortalException,
194 com.liferay.portal.SystemException {
195 _calEventLocalService.deleteEvent(event);
196 }
197
198 public void deleteEvent(long eventId)
199 throws com.liferay.portal.PortalException,
200 com.liferay.portal.SystemException {
201 _calEventLocalService.deleteEvent(eventId);
202 }
203
204 public void deleteEvents(long groupId)
205 throws com.liferay.portal.PortalException,
206 com.liferay.portal.SystemException {
207 _calEventLocalService.deleteEvents(groupId);
208 }
209
210 public java.io.File exportEvent(long userId, long eventId)
211 throws com.liferay.portal.PortalException,
212 com.liferay.portal.SystemException {
213 return _calEventLocalService.exportEvent(userId, eventId);
214 }
215
216 public java.io.File exportGroupEvents(long userId, long groupId,
217 java.lang.String fileName)
218 throws com.liferay.portal.PortalException,
219 com.liferay.portal.SystemException {
220 return _calEventLocalService.exportGroupEvents(userId, groupId, fileName);
221 }
222
223 public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
224 throws com.liferay.portal.PortalException,
225 com.liferay.portal.SystemException {
226 return _calEventLocalService.getEvent(eventId);
227 }
228
229 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
230 long groupId, java.util.Calendar cal)
231 throws com.liferay.portal.SystemException {
232 return _calEventLocalService.getEvents(groupId, cal);
233 }
234
235 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
236 long groupId, java.util.Calendar cal, java.lang.String type)
237 throws com.liferay.portal.SystemException {
238 return _calEventLocalService.getEvents(groupId, cal, type);
239 }
240
241 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
242 long groupId, java.lang.String type, int start, int end)
243 throws com.liferay.portal.SystemException {
244 return _calEventLocalService.getEvents(groupId, type, start, end);
245 }
246
247 public int getEventsCount(long groupId, java.lang.String type)
248 throws com.liferay.portal.SystemException {
249 return _calEventLocalService.getEventsCount(groupId, type);
250 }
251
252 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
253 long groupId) throws com.liferay.portal.SystemException {
254 return _calEventLocalService.getRepeatingEvents(groupId);
255 }
256
257 public boolean hasEvents(long groupId, java.util.Calendar cal)
258 throws com.liferay.portal.SystemException {
259 return _calEventLocalService.hasEvents(groupId, cal);
260 }
261
262 public boolean hasEvents(long groupId, java.util.Calendar cal,
263 java.lang.String type) throws com.liferay.portal.SystemException {
264 return _calEventLocalService.hasEvents(groupId, cal, type);
265 }
266
267 public void importICal4j(long userId, long groupId, java.io.File file)
268 throws com.liferay.portal.PortalException,
269 com.liferay.portal.SystemException {
270 _calEventLocalService.importICal4j(userId, groupId, file);
271 }
272
273 public void reIndex(com.liferay.portlet.calendar.model.CalEvent event)
274 throws com.liferay.portal.SystemException {
275 _calEventLocalService.reIndex(event);
276 }
277
278 public void reIndex(long eventId) throws com.liferay.portal.SystemException {
279 _calEventLocalService.reIndex(eventId);
280 }
281
282 public void reIndex(java.lang.String[] ids)
283 throws com.liferay.portal.SystemException {
284 _calEventLocalService.reIndex(ids);
285 }
286
287 public com.liferay.portal.kernel.search.Hits search(long companyId,
288 long groupId, long userId, long ownerUserId, java.lang.String keywords,
289 int start, int end) throws com.liferay.portal.SystemException {
290 return _calEventLocalService.search(companyId, groupId, userId,
291 ownerUserId, keywords, start, end);
292 }
293
294 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
295 long userId, long eventId, java.lang.String title,
296 java.lang.String description, int startDateMonth, int startDateDay,
297 int startDateYear, int startDateHour, int startDateMinute,
298 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
299 int durationMinute, boolean allDay, boolean timeZoneSensitive,
300 java.lang.String type, boolean repeating,
301 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
302 int firstReminder, int secondReminder,
303 com.liferay.portal.service.ServiceContext serviceContext)
304 throws com.liferay.portal.PortalException,
305 com.liferay.portal.SystemException {
306 return _calEventLocalService.updateEvent(userId, eventId, title,
307 description, startDateMonth, startDateDay, startDateYear,
308 startDateHour, startDateMinute, endDateMonth, endDateDay,
309 endDateYear, durationHour, durationMinute, allDay,
310 timeZoneSensitive, type, repeating, recurrence, remindBy,
311 firstReminder, secondReminder, serviceContext);
312 }
313
314 public CalEventLocalService getWrappedCalEventLocalService() {
315 return _calEventLocalService;
316 }
317
318 private CalEventLocalService _calEventLocalService;
319 }