001
014
015 package com.liferay.portlet.calendar.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class CalEventLocalServiceWrapper implements CalEventLocalService,
029 ServiceWrapper<CalEventLocalService> {
030 public CalEventLocalServiceWrapper(
031 CalEventLocalService calEventLocalService) {
032 _calEventLocalService = calEventLocalService;
033 }
034
035
042 public com.liferay.portlet.calendar.model.CalEvent addCalEvent(
043 com.liferay.portlet.calendar.model.CalEvent calEvent)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _calEventLocalService.addCalEvent(calEvent);
046 }
047
048
054 public com.liferay.portlet.calendar.model.CalEvent createCalEvent(
055 long eventId) {
056 return _calEventLocalService.createCalEvent(eventId);
057 }
058
059
067 public com.liferay.portlet.calendar.model.CalEvent deleteCalEvent(
068 long eventId)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 return _calEventLocalService.deleteCalEvent(eventId);
072 }
073
074
081 public com.liferay.portlet.calendar.model.CalEvent deleteCalEvent(
082 com.liferay.portlet.calendar.model.CalEvent calEvent)
083 throws com.liferay.portal.kernel.exception.SystemException {
084 return _calEventLocalService.deleteCalEvent(calEvent);
085 }
086
087 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
088 return _calEventLocalService.dynamicQuery();
089 }
090
091
098 @SuppressWarnings("rawtypes")
099 public java.util.List dynamicQuery(
100 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _calEventLocalService.dynamicQuery(dynamicQuery);
103 }
104
105
118 @SuppressWarnings("rawtypes")
119 public java.util.List dynamicQuery(
120 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
121 int end) throws com.liferay.portal.kernel.exception.SystemException {
122 return _calEventLocalService.dynamicQuery(dynamicQuery, start, end);
123 }
124
125
139 @SuppressWarnings("rawtypes")
140 public java.util.List dynamicQuery(
141 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
142 int end,
143 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return _calEventLocalService.dynamicQuery(dynamicQuery, start, end,
146 orderByComparator);
147 }
148
149
156 public long dynamicQueryCount(
157 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
158 throws com.liferay.portal.kernel.exception.SystemException {
159 return _calEventLocalService.dynamicQueryCount(dynamicQuery);
160 }
161
162 public com.liferay.portlet.calendar.model.CalEvent fetchCalEvent(
163 long eventId)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return _calEventLocalService.fetchCalEvent(eventId);
166 }
167
168
176 public com.liferay.portlet.calendar.model.CalEvent getCalEvent(long eventId)
177 throws com.liferay.portal.kernel.exception.PortalException,
178 com.liferay.portal.kernel.exception.SystemException {
179 return _calEventLocalService.getCalEvent(eventId);
180 }
181
182 public com.liferay.portal.model.PersistedModel getPersistedModel(
183 java.io.Serializable primaryKeyObj)
184 throws com.liferay.portal.kernel.exception.PortalException,
185 com.liferay.portal.kernel.exception.SystemException {
186 return _calEventLocalService.getPersistedModel(primaryKeyObj);
187 }
188
189
198 public com.liferay.portlet.calendar.model.CalEvent getCalEventByUuidAndGroupId(
199 java.lang.String uuid, long groupId)
200 throws com.liferay.portal.kernel.exception.PortalException,
201 com.liferay.portal.kernel.exception.SystemException {
202 return _calEventLocalService.getCalEventByUuidAndGroupId(uuid, groupId);
203 }
204
205
217 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEvents(
218 int start, int end)
219 throws com.liferay.portal.kernel.exception.SystemException {
220 return _calEventLocalService.getCalEvents(start, end);
221 }
222
223
229 public int getCalEventsCount()
230 throws com.liferay.portal.kernel.exception.SystemException {
231 return _calEventLocalService.getCalEventsCount();
232 }
233
234
241 public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
242 com.liferay.portlet.calendar.model.CalEvent calEvent)
243 throws com.liferay.portal.kernel.exception.SystemException {
244 return _calEventLocalService.updateCalEvent(calEvent);
245 }
246
247
255 public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
256 com.liferay.portlet.calendar.model.CalEvent calEvent, boolean merge)
257 throws com.liferay.portal.kernel.exception.SystemException {
258 return _calEventLocalService.updateCalEvent(calEvent, merge);
259 }
260
261
266 public java.lang.String getBeanIdentifier() {
267 return _calEventLocalService.getBeanIdentifier();
268 }
269
270
275 public void setBeanIdentifier(java.lang.String beanIdentifier) {
276 _calEventLocalService.setBeanIdentifier(beanIdentifier);
277 }
278
279 public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
280 java.lang.String title, java.lang.String description,
281 java.lang.String location, int startDateMonth, int startDateDay,
282 int startDateYear, int startDateHour, int startDateMinute,
283 int durationHour, int durationMinute, boolean allDay,
284 boolean timeZoneSensitive, java.lang.String type, boolean repeating,
285 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
286 int firstReminder, int secondReminder,
287 com.liferay.portal.service.ServiceContext serviceContext)
288 throws com.liferay.portal.kernel.exception.PortalException,
289 com.liferay.portal.kernel.exception.SystemException {
290 return _calEventLocalService.addEvent(userId, title, description,
291 location, startDateMonth, startDateDay, startDateYear,
292 startDateHour, startDateMinute, durationHour, durationMinute,
293 allDay, timeZoneSensitive, type, repeating, recurrence, remindBy,
294 firstReminder, secondReminder, serviceContext);
295 }
296
297
302 public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
303 java.lang.String title, java.lang.String description,
304 java.lang.String location, int startDateMonth, int startDateDay,
305 int startDateYear, int startDateHour, int startDateMinute,
306 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
307 int durationMinute, boolean allDay, boolean timeZoneSensitive,
308 java.lang.String type, boolean repeating,
309 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
310 int firstReminder, int secondReminder,
311 com.liferay.portal.service.ServiceContext serviceContext)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException {
314 return _calEventLocalService.addEvent(userId, title, description,
315 location, startDateMonth, startDateDay, startDateYear,
316 startDateHour, startDateMinute, endDateMonth, endDateDay,
317 endDateYear, durationHour, durationMinute, allDay,
318 timeZoneSensitive, type, repeating, recurrence, remindBy,
319 firstReminder, secondReminder, serviceContext);
320 }
321
322 public void addEventResources(
323 com.liferay.portlet.calendar.model.CalEvent event,
324 boolean addGroupPermissions, boolean addGuestPermissions)
325 throws com.liferay.portal.kernel.exception.PortalException,
326 com.liferay.portal.kernel.exception.SystemException {
327 _calEventLocalService.addEventResources(event, addGroupPermissions,
328 addGuestPermissions);
329 }
330
331 public void addEventResources(
332 com.liferay.portlet.calendar.model.CalEvent event,
333 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
334 throws com.liferay.portal.kernel.exception.PortalException,
335 com.liferay.portal.kernel.exception.SystemException {
336 _calEventLocalService.addEventResources(event, groupPermissions,
337 guestPermissions);
338 }
339
340 public void addEventResources(long eventId, boolean addGroupPermissions,
341 boolean addGuestPermissions)
342 throws com.liferay.portal.kernel.exception.PortalException,
343 com.liferay.portal.kernel.exception.SystemException {
344 _calEventLocalService.addEventResources(eventId, addGroupPermissions,
345 addGuestPermissions);
346 }
347
348 public void addEventResources(long eventId,
349 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
350 throws com.liferay.portal.kernel.exception.PortalException,
351 com.liferay.portal.kernel.exception.SystemException {
352 _calEventLocalService.addEventResources(eventId, groupPermissions,
353 guestPermissions);
354 }
355
356 public void checkEvents()
357 throws com.liferay.portal.kernel.exception.PortalException,
358 com.liferay.portal.kernel.exception.SystemException {
359 _calEventLocalService.checkEvents();
360 }
361
362 public void deleteEvent(com.liferay.portlet.calendar.model.CalEvent event)
363 throws com.liferay.portal.kernel.exception.PortalException,
364 com.liferay.portal.kernel.exception.SystemException {
365 _calEventLocalService.deleteEvent(event);
366 }
367
368 public void deleteEvent(long eventId)
369 throws com.liferay.portal.kernel.exception.PortalException,
370 com.liferay.portal.kernel.exception.SystemException {
371 _calEventLocalService.deleteEvent(eventId);
372 }
373
374 public void deleteEvents(long groupId)
375 throws com.liferay.portal.kernel.exception.PortalException,
376 com.liferay.portal.kernel.exception.SystemException {
377 _calEventLocalService.deleteEvents(groupId);
378 }
379
380 public java.io.File exportEvent(long userId, long eventId)
381 throws com.liferay.portal.kernel.exception.PortalException,
382 com.liferay.portal.kernel.exception.SystemException {
383 return _calEventLocalService.exportEvent(userId, eventId);
384 }
385
386 public java.io.File exportGroupEvents(long userId, long groupId,
387 java.lang.String fileName)
388 throws com.liferay.portal.kernel.exception.PortalException,
389 com.liferay.portal.kernel.exception.SystemException {
390 return _calEventLocalService.exportGroupEvents(userId, groupId, fileName);
391 }
392
393 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCompanyEvents(
394 long companyId, int start, int end)
395 throws com.liferay.portal.kernel.exception.SystemException {
396 return _calEventLocalService.getCompanyEvents(companyId, start, end);
397 }
398
399 public int getCompanyEventsCount(long companyId)
400 throws com.liferay.portal.kernel.exception.SystemException {
401 return _calEventLocalService.getCompanyEventsCount(companyId);
402 }
403
404 public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
405 throws com.liferay.portal.kernel.exception.PortalException,
406 com.liferay.portal.kernel.exception.SystemException {
407 return _calEventLocalService.getEvent(eventId);
408 }
409
410 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
411 long groupId, java.util.Calendar cal)
412 throws com.liferay.portal.kernel.exception.SystemException {
413 return _calEventLocalService.getEvents(groupId, cal);
414 }
415
416 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
417 long groupId, java.util.Calendar cal, java.lang.String type)
418 throws com.liferay.portal.kernel.exception.SystemException {
419 return _calEventLocalService.getEvents(groupId, cal, type);
420 }
421
422 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
423 long groupId, java.util.Calendar cal, java.lang.String[] types)
424 throws com.liferay.portal.kernel.exception.SystemException {
425 return _calEventLocalService.getEvents(groupId, cal, types);
426 }
427
428 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
429 long groupId, java.lang.String type, int start, int end)
430 throws com.liferay.portal.kernel.exception.SystemException {
431 return _calEventLocalService.getEvents(groupId, type, start, end);
432 }
433
434 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
435 long groupId, java.lang.String[] types, int start, int end)
436 throws com.liferay.portal.kernel.exception.SystemException {
437 return _calEventLocalService.getEvents(groupId, types, start, end);
438 }
439
440 public int getEventsCount(long groupId, java.lang.String type)
441 throws com.liferay.portal.kernel.exception.SystemException {
442 return _calEventLocalService.getEventsCount(groupId, type);
443 }
444
445 public int getEventsCount(long groupId, java.lang.String[] types)
446 throws com.liferay.portal.kernel.exception.SystemException {
447 return _calEventLocalService.getEventsCount(groupId, types);
448 }
449
450 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getNoAssetEvents()
451 throws com.liferay.portal.kernel.exception.SystemException {
452 return _calEventLocalService.getNoAssetEvents();
453 }
454
455 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
456 long groupId)
457 throws com.liferay.portal.kernel.exception.SystemException {
458 return _calEventLocalService.getRepeatingEvents(groupId);
459 }
460
461 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
462 long groupId, java.util.Calendar cal, java.lang.String[] types)
463 throws com.liferay.portal.kernel.exception.SystemException {
464 return _calEventLocalService.getRepeatingEvents(groupId, cal, types);
465 }
466
467 public boolean hasEvents(long groupId, java.util.Calendar cal)
468 throws com.liferay.portal.kernel.exception.SystemException {
469 return _calEventLocalService.hasEvents(groupId, cal);
470 }
471
472 public boolean hasEvents(long groupId, java.util.Calendar cal,
473 java.lang.String type)
474 throws com.liferay.portal.kernel.exception.SystemException {
475 return _calEventLocalService.hasEvents(groupId, cal, type);
476 }
477
478 public boolean hasEvents(long groupId, java.util.Calendar cal,
479 java.lang.String[] types)
480 throws com.liferay.portal.kernel.exception.SystemException {
481 return _calEventLocalService.hasEvents(groupId, cal, types);
482 }
483
484 public void importICal4j(long userId, long groupId,
485 java.io.InputStream inputStream)
486 throws com.liferay.portal.kernel.exception.PortalException,
487 com.liferay.portal.kernel.exception.SystemException {
488 _calEventLocalService.importICal4j(userId, groupId, inputStream);
489 }
490
491 public void updateAsset(long userId,
492 com.liferay.portlet.calendar.model.CalEvent event,
493 long[] assetCategoryIds, java.lang.String[] assetTagNames,
494 long[] assetLinkEntryIds)
495 throws com.liferay.portal.kernel.exception.PortalException,
496 com.liferay.portal.kernel.exception.SystemException {
497 _calEventLocalService.updateAsset(userId, event, assetCategoryIds,
498 assetTagNames, assetLinkEntryIds);
499 }
500
501 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
502 long userId, long eventId, java.lang.String title,
503 java.lang.String description, java.lang.String location,
504 int startDateMonth, int startDateDay, int startDateYear,
505 int startDateHour, int startDateMinute, int durationHour,
506 int durationMinute, boolean allDay, boolean timeZoneSensitive,
507 java.lang.String type, boolean repeating,
508 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
509 int firstReminder, int secondReminder,
510 com.liferay.portal.service.ServiceContext serviceContext)
511 throws com.liferay.portal.kernel.exception.PortalException,
512 com.liferay.portal.kernel.exception.SystemException {
513 return _calEventLocalService.updateEvent(userId, eventId, title,
514 description, location, startDateMonth, startDateDay, startDateYear,
515 startDateHour, startDateMinute, durationHour, durationMinute,
516 allDay, timeZoneSensitive, type, repeating, recurrence, remindBy,
517 firstReminder, secondReminder, serviceContext);
518 }
519
520
525 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
526 long userId, long eventId, java.lang.String title,
527 java.lang.String description, java.lang.String location,
528 int startDateMonth, int startDateDay, int startDateYear,
529 int startDateHour, int startDateMinute, int endDateMonth,
530 int endDateDay, int endDateYear, int durationHour, int durationMinute,
531 boolean allDay, boolean timeZoneSensitive, java.lang.String type,
532 boolean repeating,
533 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
534 int firstReminder, int secondReminder,
535 com.liferay.portal.service.ServiceContext serviceContext)
536 throws com.liferay.portal.kernel.exception.PortalException,
537 com.liferay.portal.kernel.exception.SystemException {
538 return _calEventLocalService.updateEvent(userId, eventId, title,
539 description, location, startDateMonth, startDateDay, startDateYear,
540 startDateHour, startDateMinute, endDateMonth, endDateDay,
541 endDateYear, durationHour, durationMinute, allDay,
542 timeZoneSensitive, type, repeating, recurrence, remindBy,
543 firstReminder, secondReminder, serviceContext);
544 }
545
546
549 public CalEventLocalService getWrappedCalEventLocalService() {
550 return _calEventLocalService;
551 }
552
553
556 public void setWrappedCalEventLocalService(
557 CalEventLocalService calEventLocalService) {
558 _calEventLocalService = calEventLocalService;
559 }
560
561 public CalEventLocalService getWrappedService() {
562 return _calEventLocalService;
563 }
564
565 public void setWrappedService(CalEventLocalService calEventLocalService) {
566 _calEventLocalService = calEventLocalService;
567 }
568
569 private CalEventLocalService _calEventLocalService;
570 }