001
014
015 package com.liferay.portlet.calendar.service;
016
017
026 public class CalEventLocalServiceWrapper implements CalEventLocalService {
027 public CalEventLocalServiceWrapper(
028 CalEventLocalService calEventLocalService) {
029 _calEventLocalService = calEventLocalService;
030 }
031
032
039 public com.liferay.portlet.calendar.model.CalEvent addCalEvent(
040 com.liferay.portlet.calendar.model.CalEvent calEvent)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return _calEventLocalService.addCalEvent(calEvent);
043 }
044
045
051 public com.liferay.portlet.calendar.model.CalEvent createCalEvent(
052 long eventId) {
053 return _calEventLocalService.createCalEvent(eventId);
054 }
055
056
063 public void deleteCalEvent(long eventId)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 _calEventLocalService.deleteCalEvent(eventId);
067 }
068
069
075 public void deleteCalEvent(
076 com.liferay.portlet.calendar.model.CalEvent calEvent)
077 throws com.liferay.portal.kernel.exception.SystemException {
078 _calEventLocalService.deleteCalEvent(calEvent);
079 }
080
081
088 @SuppressWarnings("rawtypes")
089 public java.util.List dynamicQuery(
090 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _calEventLocalService.dynamicQuery(dynamicQuery);
093 }
094
095
108 @SuppressWarnings("rawtypes")
109 public java.util.List dynamicQuery(
110 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
111 int end) throws com.liferay.portal.kernel.exception.SystemException {
112 return _calEventLocalService.dynamicQuery(dynamicQuery, start, end);
113 }
114
115
129 @SuppressWarnings("rawtypes")
130 public java.util.List dynamicQuery(
131 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
132 int end,
133 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134 throws com.liferay.portal.kernel.exception.SystemException {
135 return _calEventLocalService.dynamicQuery(dynamicQuery, start, end,
136 orderByComparator);
137 }
138
139
146 public long dynamicQueryCount(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
148 throws com.liferay.portal.kernel.exception.SystemException {
149 return _calEventLocalService.dynamicQueryCount(dynamicQuery);
150 }
151
152
160 public com.liferay.portlet.calendar.model.CalEvent getCalEvent(long eventId)
161 throws com.liferay.portal.kernel.exception.PortalException,
162 com.liferay.portal.kernel.exception.SystemException {
163 return _calEventLocalService.getCalEvent(eventId);
164 }
165
166 public com.liferay.portal.model.PersistedModel getPersistedModel(
167 java.io.Serializable primaryKeyObj)
168 throws com.liferay.portal.kernel.exception.PortalException,
169 com.liferay.portal.kernel.exception.SystemException {
170 return _calEventLocalService.getPersistedModel(primaryKeyObj);
171 }
172
173
182 public com.liferay.portlet.calendar.model.CalEvent getCalEventByUuidAndGroupId(
183 java.lang.String uuid, long groupId)
184 throws com.liferay.portal.kernel.exception.PortalException,
185 com.liferay.portal.kernel.exception.SystemException {
186 return _calEventLocalService.getCalEventByUuidAndGroupId(uuid, groupId);
187 }
188
189
201 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEvents(
202 int start, int end)
203 throws com.liferay.portal.kernel.exception.SystemException {
204 return _calEventLocalService.getCalEvents(start, end);
205 }
206
207
213 public int getCalEventsCount()
214 throws com.liferay.portal.kernel.exception.SystemException {
215 return _calEventLocalService.getCalEventsCount();
216 }
217
218
225 public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
226 com.liferay.portlet.calendar.model.CalEvent calEvent)
227 throws com.liferay.portal.kernel.exception.SystemException {
228 return _calEventLocalService.updateCalEvent(calEvent);
229 }
230
231
239 public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
240 com.liferay.portlet.calendar.model.CalEvent calEvent, boolean merge)
241 throws com.liferay.portal.kernel.exception.SystemException {
242 return _calEventLocalService.updateCalEvent(calEvent, merge);
243 }
244
245
250 public java.lang.String getBeanIdentifier() {
251 return _calEventLocalService.getBeanIdentifier();
252 }
253
254
259 public void setBeanIdentifier(java.lang.String beanIdentifier) {
260 _calEventLocalService.setBeanIdentifier(beanIdentifier);
261 }
262
263 public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
264 java.lang.String title, java.lang.String description,
265 int startDateMonth, int startDateDay, int startDateYear,
266 int startDateHour, int startDateMinute, int endDateMonth,
267 int endDateDay, int endDateYear, int durationHour, int durationMinute,
268 boolean allDay, boolean timeZoneSensitive, java.lang.String type,
269 boolean repeating,
270 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
271 int firstReminder, int secondReminder,
272 com.liferay.portal.service.ServiceContext serviceContext)
273 throws com.liferay.portal.kernel.exception.PortalException,
274 com.liferay.portal.kernel.exception.SystemException {
275 return _calEventLocalService.addEvent(userId, title, description,
276 startDateMonth, startDateDay, startDateYear, startDateHour,
277 startDateMinute, endDateMonth, endDateDay, endDateYear,
278 durationHour, durationMinute, allDay, timeZoneSensitive, type,
279 repeating, recurrence, remindBy, firstReminder, secondReminder,
280 serviceContext);
281 }
282
283 public void addEventResources(
284 com.liferay.portlet.calendar.model.CalEvent event,
285 boolean addCommunityPermissions, boolean addGuestPermissions)
286 throws com.liferay.portal.kernel.exception.PortalException,
287 com.liferay.portal.kernel.exception.SystemException {
288 _calEventLocalService.addEventResources(event, addCommunityPermissions,
289 addGuestPermissions);
290 }
291
292 public void addEventResources(
293 com.liferay.portlet.calendar.model.CalEvent event,
294 java.lang.String[] communityPermissions,
295 java.lang.String[] guestPermissions)
296 throws com.liferay.portal.kernel.exception.PortalException,
297 com.liferay.portal.kernel.exception.SystemException {
298 _calEventLocalService.addEventResources(event, communityPermissions,
299 guestPermissions);
300 }
301
302 public void addEventResources(long eventId,
303 boolean addCommunityPermissions, boolean addGuestPermissions)
304 throws com.liferay.portal.kernel.exception.PortalException,
305 com.liferay.portal.kernel.exception.SystemException {
306 _calEventLocalService.addEventResources(eventId,
307 addCommunityPermissions, addGuestPermissions);
308 }
309
310 public void addEventResources(long eventId,
311 java.lang.String[] communityPermissions,
312 java.lang.String[] guestPermissions)
313 throws com.liferay.portal.kernel.exception.PortalException,
314 com.liferay.portal.kernel.exception.SystemException {
315 _calEventLocalService.addEventResources(eventId, communityPermissions,
316 guestPermissions);
317 }
318
319 public void checkEvents()
320 throws com.liferay.portal.kernel.exception.PortalException,
321 com.liferay.portal.kernel.exception.SystemException {
322 _calEventLocalService.checkEvents();
323 }
324
325 public void deleteEvent(com.liferay.portlet.calendar.model.CalEvent event)
326 throws com.liferay.portal.kernel.exception.PortalException,
327 com.liferay.portal.kernel.exception.SystemException {
328 _calEventLocalService.deleteEvent(event);
329 }
330
331 public void deleteEvent(long eventId)
332 throws com.liferay.portal.kernel.exception.PortalException,
333 com.liferay.portal.kernel.exception.SystemException {
334 _calEventLocalService.deleteEvent(eventId);
335 }
336
337 public void deleteEvents(long groupId)
338 throws com.liferay.portal.kernel.exception.PortalException,
339 com.liferay.portal.kernel.exception.SystemException {
340 _calEventLocalService.deleteEvents(groupId);
341 }
342
343 public java.io.File exportEvent(long userId, long eventId)
344 throws com.liferay.portal.kernel.exception.PortalException,
345 com.liferay.portal.kernel.exception.SystemException {
346 return _calEventLocalService.exportEvent(userId, eventId);
347 }
348
349 public java.io.File exportGroupEvents(long userId, long groupId,
350 java.lang.String fileName)
351 throws com.liferay.portal.kernel.exception.PortalException,
352 com.liferay.portal.kernel.exception.SystemException {
353 return _calEventLocalService.exportGroupEvents(userId, groupId, fileName);
354 }
355
356 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCompanyEvents(
357 long companyId, int start, int end)
358 throws com.liferay.portal.kernel.exception.SystemException {
359 return _calEventLocalService.getCompanyEvents(companyId, start, end);
360 }
361
362 public int getCompanyEventsCount(long companyId)
363 throws com.liferay.portal.kernel.exception.SystemException {
364 return _calEventLocalService.getCompanyEventsCount(companyId);
365 }
366
367 public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
368 throws com.liferay.portal.kernel.exception.PortalException,
369 com.liferay.portal.kernel.exception.SystemException {
370 return _calEventLocalService.getEvent(eventId);
371 }
372
373 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
374 long groupId, java.util.Calendar cal)
375 throws com.liferay.portal.kernel.exception.SystemException {
376 return _calEventLocalService.getEvents(groupId, cal);
377 }
378
379 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
380 long groupId, java.util.Calendar cal, java.lang.String type)
381 throws com.liferay.portal.kernel.exception.SystemException {
382 return _calEventLocalService.getEvents(groupId, cal, type);
383 }
384
385 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
386 long groupId, java.lang.String type, int start, int end)
387 throws com.liferay.portal.kernel.exception.SystemException {
388 return _calEventLocalService.getEvents(groupId, type, start, end);
389 }
390
391 public int getEventsCount(long groupId, java.lang.String type)
392 throws com.liferay.portal.kernel.exception.SystemException {
393 return _calEventLocalService.getEventsCount(groupId, type);
394 }
395
396 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getNoAssetEvents()
397 throws com.liferay.portal.kernel.exception.SystemException {
398 return _calEventLocalService.getNoAssetEvents();
399 }
400
401 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
402 long groupId)
403 throws com.liferay.portal.kernel.exception.SystemException {
404 return _calEventLocalService.getRepeatingEvents(groupId);
405 }
406
407 public boolean hasEvents(long groupId, java.util.Calendar cal)
408 throws com.liferay.portal.kernel.exception.SystemException {
409 return _calEventLocalService.hasEvents(groupId, cal);
410 }
411
412 public boolean hasEvents(long groupId, java.util.Calendar cal,
413 java.lang.String type)
414 throws com.liferay.portal.kernel.exception.SystemException {
415 return _calEventLocalService.hasEvents(groupId, cal, type);
416 }
417
418 public void importICal4j(long userId, long groupId, java.io.File file)
419 throws com.liferay.portal.kernel.exception.PortalException,
420 com.liferay.portal.kernel.exception.SystemException {
421 _calEventLocalService.importICal4j(userId, groupId, file);
422 }
423
424 public void updateAsset(long userId,
425 com.liferay.portlet.calendar.model.CalEvent event,
426 long[] assetCategoryIds, java.lang.String[] assetTagNames)
427 throws com.liferay.portal.kernel.exception.PortalException,
428 com.liferay.portal.kernel.exception.SystemException {
429 _calEventLocalService.updateAsset(userId, event, assetCategoryIds,
430 assetTagNames);
431 }
432
433 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
434 long userId, long eventId, java.lang.String title,
435 java.lang.String description, int startDateMonth, int startDateDay,
436 int startDateYear, int startDateHour, int startDateMinute,
437 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
438 int durationMinute, boolean allDay, boolean timeZoneSensitive,
439 java.lang.String type, boolean repeating,
440 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
441 int firstReminder, int secondReminder,
442 com.liferay.portal.service.ServiceContext serviceContext)
443 throws com.liferay.portal.kernel.exception.PortalException,
444 com.liferay.portal.kernel.exception.SystemException {
445 return _calEventLocalService.updateEvent(userId, eventId, title,
446 description, startDateMonth, startDateDay, startDateYear,
447 startDateHour, startDateMinute, endDateMonth, endDateDay,
448 endDateYear, durationHour, durationMinute, allDay,
449 timeZoneSensitive, type, repeating, recurrence, remindBy,
450 firstReminder, secondReminder, serviceContext);
451 }
452
453 public CalEventLocalService getWrappedCalEventLocalService() {
454 return _calEventLocalService;
455 }
456
457 public void setWrappedCalEventLocalService(
458 CalEventLocalService calEventLocalService) {
459 _calEventLocalService = calEventLocalService;
460 }
461
462 private CalEventLocalService _calEventLocalService;
463 }