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