001
014
015 package com.liferay.portlet.calendar.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
026 public class CalEventLocalServiceWrapper implements CalEventLocalService,
027 ServiceWrapper<CalEventLocalService> {
028 public CalEventLocalServiceWrapper(
029 CalEventLocalService calEventLocalService) {
030 _calEventLocalService = calEventLocalService;
031 }
032
033
040 @Override
041 public com.liferay.portlet.calendar.model.CalEvent addCalEvent(
042 com.liferay.portlet.calendar.model.CalEvent calEvent)
043 throws com.liferay.portal.kernel.exception.SystemException {
044 return _calEventLocalService.addCalEvent(calEvent);
045 }
046
047
053 @Override
054 public com.liferay.portlet.calendar.model.CalEvent createCalEvent(
055 long eventId) {
056 return _calEventLocalService.createCalEvent(eventId);
057 }
058
059
067 @Override
068 public com.liferay.portlet.calendar.model.CalEvent deleteCalEvent(
069 long eventId)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _calEventLocalService.deleteCalEvent(eventId);
073 }
074
075
082 @Override
083 public com.liferay.portlet.calendar.model.CalEvent deleteCalEvent(
084 com.liferay.portlet.calendar.model.CalEvent calEvent)
085 throws com.liferay.portal.kernel.exception.SystemException {
086 return _calEventLocalService.deleteCalEvent(calEvent);
087 }
088
089 @Override
090 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
091 return _calEventLocalService.dynamicQuery();
092 }
093
094
101 @Override
102 @SuppressWarnings("rawtypes")
103 public java.util.List dynamicQuery(
104 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
105 throws com.liferay.portal.kernel.exception.SystemException {
106 return _calEventLocalService.dynamicQuery(dynamicQuery);
107 }
108
109
122 @Override
123 @SuppressWarnings("rawtypes")
124 public java.util.List dynamicQuery(
125 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
126 int end) throws com.liferay.portal.kernel.exception.SystemException {
127 return _calEventLocalService.dynamicQuery(dynamicQuery, start, end);
128 }
129
130
144 @Override
145 @SuppressWarnings("rawtypes")
146 public java.util.List dynamicQuery(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
148 int end,
149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150 throws com.liferay.portal.kernel.exception.SystemException {
151 return _calEventLocalService.dynamicQuery(dynamicQuery, start, end,
152 orderByComparator);
153 }
154
155
162 @Override
163 public long dynamicQueryCount(
164 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
165 throws com.liferay.portal.kernel.exception.SystemException {
166 return _calEventLocalService.dynamicQueryCount(dynamicQuery);
167 }
168
169
177 @Override
178 public long dynamicQueryCount(
179 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
180 com.liferay.portal.kernel.dao.orm.Projection projection)
181 throws com.liferay.portal.kernel.exception.SystemException {
182 return _calEventLocalService.dynamicQueryCount(dynamicQuery, projection);
183 }
184
185 @Override
186 public com.liferay.portlet.calendar.model.CalEvent fetchCalEvent(
187 long eventId)
188 throws com.liferay.portal.kernel.exception.SystemException {
189 return _calEventLocalService.fetchCalEvent(eventId);
190 }
191
192
200 @Override
201 public com.liferay.portlet.calendar.model.CalEvent fetchCalEventByUuidAndCompanyId(
202 java.lang.String uuid, long companyId)
203 throws com.liferay.portal.kernel.exception.SystemException {
204 return _calEventLocalService.fetchCalEventByUuidAndCompanyId(uuid,
205 companyId);
206 }
207
208
216 @Override
217 public com.liferay.portlet.calendar.model.CalEvent fetchCalEventByUuidAndGroupId(
218 java.lang.String uuid, long groupId)
219 throws com.liferay.portal.kernel.exception.SystemException {
220 return _calEventLocalService.fetchCalEventByUuidAndGroupId(uuid, groupId);
221 }
222
223
231 @Override
232 public com.liferay.portlet.calendar.model.CalEvent getCalEvent(long eventId)
233 throws com.liferay.portal.kernel.exception.PortalException,
234 com.liferay.portal.kernel.exception.SystemException {
235 return _calEventLocalService.getCalEvent(eventId);
236 }
237
238 @Override
239 public com.liferay.portal.model.PersistedModel getPersistedModel(
240 java.io.Serializable primaryKeyObj)
241 throws com.liferay.portal.kernel.exception.PortalException,
242 com.liferay.portal.kernel.exception.SystemException {
243 return _calEventLocalService.getPersistedModel(primaryKeyObj);
244 }
245
246
255 @Override
256 public com.liferay.portlet.calendar.model.CalEvent getCalEventByUuidAndCompanyId(
257 java.lang.String uuid, long companyId)
258 throws com.liferay.portal.kernel.exception.PortalException,
259 com.liferay.portal.kernel.exception.SystemException {
260 return _calEventLocalService.getCalEventByUuidAndCompanyId(uuid,
261 companyId);
262 }
263
264
273 @Override
274 public com.liferay.portlet.calendar.model.CalEvent getCalEventByUuidAndGroupId(
275 java.lang.String uuid, long groupId)
276 throws com.liferay.portal.kernel.exception.PortalException,
277 com.liferay.portal.kernel.exception.SystemException {
278 return _calEventLocalService.getCalEventByUuidAndGroupId(uuid, groupId);
279 }
280
281
293 @Override
294 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEvents(
295 int start, int end)
296 throws com.liferay.portal.kernel.exception.SystemException {
297 return _calEventLocalService.getCalEvents(start, end);
298 }
299
300
306 @Override
307 public int getCalEventsCount()
308 throws com.liferay.portal.kernel.exception.SystemException {
309 return _calEventLocalService.getCalEventsCount();
310 }
311
312
319 @Override
320 public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
321 com.liferay.portlet.calendar.model.CalEvent calEvent)
322 throws com.liferay.portal.kernel.exception.SystemException {
323 return _calEventLocalService.updateCalEvent(calEvent);
324 }
325
326
331 @Override
332 public java.lang.String getBeanIdentifier() {
333 return _calEventLocalService.getBeanIdentifier();
334 }
335
336
341 @Override
342 public void setBeanIdentifier(java.lang.String beanIdentifier) {
343 _calEventLocalService.setBeanIdentifier(beanIdentifier);
344 }
345
346 @Override
347 public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
348 java.lang.String title, java.lang.String description,
349 java.lang.String location, int startDateMonth, int startDateDay,
350 int startDateYear, int startDateHour, int startDateMinute,
351 int durationHour, int durationMinute, boolean allDay,
352 boolean timeZoneSensitive, java.lang.String type, boolean repeating,
353 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
354 int firstReminder, int secondReminder,
355 com.liferay.portal.service.ServiceContext serviceContext)
356 throws com.liferay.portal.kernel.exception.PortalException,
357 com.liferay.portal.kernel.exception.SystemException {
358 return _calEventLocalService.addEvent(userId, title, description,
359 location, startDateMonth, startDateDay, startDateYear,
360 startDateHour, startDateMinute, durationHour, durationMinute,
361 allDay, timeZoneSensitive, type, repeating, recurrence, remindBy,
362 firstReminder, secondReminder, serviceContext);
363 }
364
365
371 @Override
372 public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
373 java.lang.String title, java.lang.String description,
374 java.lang.String location, int startDateMonth, int startDateDay,
375 int startDateYear, int startDateHour, int startDateMinute,
376 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
377 int durationMinute, boolean allDay, boolean timeZoneSensitive,
378 java.lang.String type, boolean repeating,
379 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
380 int firstReminder, int secondReminder,
381 com.liferay.portal.service.ServiceContext serviceContext)
382 throws com.liferay.portal.kernel.exception.PortalException,
383 com.liferay.portal.kernel.exception.SystemException {
384 return _calEventLocalService.addEvent(userId, title, description,
385 location, startDateMonth, startDateDay, startDateYear,
386 startDateHour, startDateMinute, endDateMonth, endDateDay,
387 endDateYear, durationHour, durationMinute, allDay,
388 timeZoneSensitive, type, repeating, recurrence, remindBy,
389 firstReminder, secondReminder, serviceContext);
390 }
391
392 @Override
393 public void addEventResources(
394 com.liferay.portlet.calendar.model.CalEvent event,
395 boolean addGroupPermissions, boolean addGuestPermissions)
396 throws com.liferay.portal.kernel.exception.PortalException,
397 com.liferay.portal.kernel.exception.SystemException {
398 _calEventLocalService.addEventResources(event, addGroupPermissions,
399 addGuestPermissions);
400 }
401
402 @Override
403 public void addEventResources(
404 com.liferay.portlet.calendar.model.CalEvent event,
405 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
406 throws com.liferay.portal.kernel.exception.PortalException,
407 com.liferay.portal.kernel.exception.SystemException {
408 _calEventLocalService.addEventResources(event, groupPermissions,
409 guestPermissions);
410 }
411
412 @Override
413 public void addEventResources(long eventId, boolean addGroupPermissions,
414 boolean addGuestPermissions)
415 throws com.liferay.portal.kernel.exception.PortalException,
416 com.liferay.portal.kernel.exception.SystemException {
417 _calEventLocalService.addEventResources(eventId, addGroupPermissions,
418 addGuestPermissions);
419 }
420
421 @Override
422 public void addEventResources(long eventId,
423 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
424 throws com.liferay.portal.kernel.exception.PortalException,
425 com.liferay.portal.kernel.exception.SystemException {
426 _calEventLocalService.addEventResources(eventId, groupPermissions,
427 guestPermissions);
428 }
429
430 @Override
431 public void checkEvents()
432 throws com.liferay.portal.kernel.exception.SystemException {
433 _calEventLocalService.checkEvents();
434 }
435
436 @Override
437 public com.liferay.portlet.calendar.model.CalEvent deleteEvent(
438 com.liferay.portlet.calendar.model.CalEvent event)
439 throws com.liferay.portal.kernel.exception.PortalException,
440 com.liferay.portal.kernel.exception.SystemException {
441 return _calEventLocalService.deleteEvent(event);
442 }
443
444 @Override
445 public com.liferay.portlet.calendar.model.CalEvent deleteEvent(long eventId)
446 throws com.liferay.portal.kernel.exception.PortalException,
447 com.liferay.portal.kernel.exception.SystemException {
448 return _calEventLocalService.deleteEvent(eventId);
449 }
450
451 @Override
452 public void deleteEvents(long groupId)
453 throws com.liferay.portal.kernel.exception.PortalException,
454 com.liferay.portal.kernel.exception.SystemException {
455 _calEventLocalService.deleteEvents(groupId);
456 }
457
458 @Override
459 public java.io.File exportEvent(long userId, long eventId)
460 throws com.liferay.portal.kernel.exception.PortalException,
461 com.liferay.portal.kernel.exception.SystemException {
462 return _calEventLocalService.exportEvent(userId, eventId);
463 }
464
465 @Override
466 public java.io.File exportEvents(long userId,
467 java.util.List<com.liferay.portlet.calendar.model.CalEvent> events,
468 java.lang.String fileName)
469 throws com.liferay.portal.kernel.exception.PortalException,
470 com.liferay.portal.kernel.exception.SystemException {
471 return _calEventLocalService.exportEvents(userId, events, fileName);
472 }
473
474 @Override
475 public java.io.File exportGroupEvents(long userId, long groupId,
476 java.lang.String fileName)
477 throws com.liferay.portal.kernel.exception.PortalException,
478 com.liferay.portal.kernel.exception.SystemException {
479 return _calEventLocalService.exportGroupEvents(userId, groupId, fileName);
480 }
481
482 @Override
483 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCompanyEvents(
484 long companyId, int start, int end)
485 throws com.liferay.portal.kernel.exception.SystemException {
486 return _calEventLocalService.getCompanyEvents(companyId, start, end);
487 }
488
489 @Override
490 public int getCompanyEventsCount(long companyId)
491 throws com.liferay.portal.kernel.exception.SystemException {
492 return _calEventLocalService.getCompanyEventsCount(companyId);
493 }
494
495 @Override
496 public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
497 throws com.liferay.portal.kernel.exception.PortalException,
498 com.liferay.portal.kernel.exception.SystemException {
499 return _calEventLocalService.getEvent(eventId);
500 }
501
502 @Override
503 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
504 long groupId, java.util.Calendar cal)
505 throws com.liferay.portal.kernel.exception.SystemException {
506 return _calEventLocalService.getEvents(groupId, cal);
507 }
508
509 @Override
510 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
511 long groupId, java.util.Calendar cal, java.lang.String type)
512 throws com.liferay.portal.kernel.exception.SystemException {
513 return _calEventLocalService.getEvents(groupId, cal, type);
514 }
515
516 @Override
517 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
518 long groupId, java.util.Calendar cal, java.lang.String[] types)
519 throws com.liferay.portal.kernel.exception.SystemException {
520 return _calEventLocalService.getEvents(groupId, cal, types);
521 }
522
523 @Override
524 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
525 long groupId, java.lang.String type, int start, int end)
526 throws com.liferay.portal.kernel.exception.SystemException {
527 return _calEventLocalService.getEvents(groupId, type, start, end);
528 }
529
530 @Override
531 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
532 long groupId, java.lang.String[] types, int start, int end)
533 throws com.liferay.portal.kernel.exception.SystemException {
534 return _calEventLocalService.getEvents(groupId, types, start, end);
535 }
536
537 @Override
538 public int getEventsCount(long groupId, java.lang.String type)
539 throws com.liferay.portal.kernel.exception.SystemException {
540 return _calEventLocalService.getEventsCount(groupId, type);
541 }
542
543 @Override
544 public int getEventsCount(long groupId, java.lang.String[] types)
545 throws com.liferay.portal.kernel.exception.SystemException {
546 return _calEventLocalService.getEventsCount(groupId, types);
547 }
548
549 @Override
550 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getNoAssetEvents()
551 throws com.liferay.portal.kernel.exception.SystemException {
552 return _calEventLocalService.getNoAssetEvents();
553 }
554
555 @Override
556 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
557 long groupId)
558 throws com.liferay.portal.kernel.exception.SystemException {
559 return _calEventLocalService.getRepeatingEvents(groupId);
560 }
561
562 @Override
563 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
564 long groupId, java.util.Calendar cal, java.lang.String[] types)
565 throws com.liferay.portal.kernel.exception.SystemException {
566 return _calEventLocalService.getRepeatingEvents(groupId, cal, types);
567 }
568
569 @Override
570 public boolean hasEvents(long groupId, java.util.Calendar cal)
571 throws com.liferay.portal.kernel.exception.SystemException {
572 return _calEventLocalService.hasEvents(groupId, cal);
573 }
574
575 @Override
576 public boolean hasEvents(long groupId, java.util.Calendar cal,
577 java.lang.String type)
578 throws com.liferay.portal.kernel.exception.SystemException {
579 return _calEventLocalService.hasEvents(groupId, cal, type);
580 }
581
582 @Override
583 public boolean hasEvents(long groupId, java.util.Calendar cal,
584 java.lang.String[] types)
585 throws com.liferay.portal.kernel.exception.SystemException {
586 return _calEventLocalService.hasEvents(groupId, cal, types);
587 }
588
589 @Override
590 public void importICal4j(long userId, long groupId,
591 java.io.InputStream inputStream)
592 throws com.liferay.portal.kernel.exception.PortalException,
593 com.liferay.portal.kernel.exception.SystemException {
594 _calEventLocalService.importICal4j(userId, groupId, inputStream);
595 }
596
597 @Override
598 public void updateAsset(long userId,
599 com.liferay.portlet.calendar.model.CalEvent event,
600 long[] assetCategoryIds, java.lang.String[] assetTagNames,
601 long[] assetLinkEntryIds)
602 throws com.liferay.portal.kernel.exception.PortalException,
603 com.liferay.portal.kernel.exception.SystemException {
604 _calEventLocalService.updateAsset(userId, event, assetCategoryIds,
605 assetTagNames, assetLinkEntryIds);
606 }
607
608 @Override
609 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
610 long userId, long eventId, java.lang.String title,
611 java.lang.String description, java.lang.String location,
612 int startDateMonth, int startDateDay, int startDateYear,
613 int startDateHour, int startDateMinute, int durationHour,
614 int durationMinute, boolean allDay, boolean timeZoneSensitive,
615 java.lang.String type, boolean repeating,
616 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
617 int firstReminder, int secondReminder,
618 com.liferay.portal.service.ServiceContext serviceContext)
619 throws com.liferay.portal.kernel.exception.PortalException,
620 com.liferay.portal.kernel.exception.SystemException {
621 return _calEventLocalService.updateEvent(userId, eventId, title,
622 description, location, startDateMonth, startDateDay, startDateYear,
623 startDateHour, startDateMinute, durationHour, durationMinute,
624 allDay, timeZoneSensitive, type, repeating, recurrence, remindBy,
625 firstReminder, secondReminder, serviceContext);
626 }
627
628
634 @Override
635 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
636 long userId, long eventId, java.lang.String title,
637 java.lang.String description, java.lang.String location,
638 int startDateMonth, int startDateDay, int startDateYear,
639 int startDateHour, int startDateMinute, int endDateMonth,
640 int endDateDay, int endDateYear, int durationHour, int durationMinute,
641 boolean allDay, boolean timeZoneSensitive, java.lang.String type,
642 boolean repeating,
643 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
644 int firstReminder, int secondReminder,
645 com.liferay.portal.service.ServiceContext serviceContext)
646 throws com.liferay.portal.kernel.exception.PortalException,
647 com.liferay.portal.kernel.exception.SystemException {
648 return _calEventLocalService.updateEvent(userId, eventId, title,
649 description, location, startDateMonth, startDateDay, startDateYear,
650 startDateHour, startDateMinute, endDateMonth, endDateDay,
651 endDateYear, durationHour, durationMinute, allDay,
652 timeZoneSensitive, type, repeating, recurrence, remindBy,
653 firstReminder, secondReminder, serviceContext);
654 }
655
656
659 public CalEventLocalService getWrappedCalEventLocalService() {
660 return _calEventLocalService;
661 }
662
663
666 public void setWrappedCalEventLocalService(
667 CalEventLocalService calEventLocalService) {
668 _calEventLocalService = calEventLocalService;
669 }
670
671 @Override
672 public CalEventLocalService getWrappedService() {
673 return _calEventLocalService;
674 }
675
676 @Override
677 public void setWrappedService(CalEventLocalService calEventLocalService) {
678 _calEventLocalService = calEventLocalService;
679 }
680
681 private CalEventLocalService _calEventLocalService;
682 }