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
252 public java.lang.String getBeanIdentifier() {
253 return _calEventLocalService.getBeanIdentifier();
254 }
255
256
261 public void setBeanIdentifier(java.lang.String beanIdentifier) {
262 _calEventLocalService.setBeanIdentifier(beanIdentifier);
263 }
264
265 public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
266 java.lang.String title, java.lang.String description,
267 java.lang.String location, int startDateMonth, int startDateDay,
268 int startDateYear, int startDateHour, int startDateMinute,
269 int durationHour, int durationMinute, boolean allDay,
270 boolean timeZoneSensitive, java.lang.String type, boolean repeating,
271 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
272 int firstReminder, int secondReminder,
273 com.liferay.portal.service.ServiceContext serviceContext)
274 throws com.liferay.portal.kernel.exception.PortalException,
275 com.liferay.portal.kernel.exception.SystemException {
276 return _calEventLocalService.addEvent(userId, title, description,
277 location, startDateMonth, startDateDay, startDateYear,
278 startDateHour, startDateMinute, durationHour, durationMinute,
279 allDay, timeZoneSensitive, type, repeating, recurrence, remindBy,
280 firstReminder, secondReminder, serviceContext);
281 }
282
283
289 public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
290 java.lang.String title, java.lang.String description,
291 java.lang.String location, int startDateMonth, int startDateDay,
292 int startDateYear, int startDateHour, int startDateMinute,
293 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
294 int durationMinute, boolean allDay, boolean timeZoneSensitive,
295 java.lang.String type, boolean repeating,
296 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
297 int firstReminder, int secondReminder,
298 com.liferay.portal.service.ServiceContext serviceContext)
299 throws com.liferay.portal.kernel.exception.PortalException,
300 com.liferay.portal.kernel.exception.SystemException {
301 return _calEventLocalService.addEvent(userId, title, description,
302 location, startDateMonth, startDateDay, startDateYear,
303 startDateHour, startDateMinute, endDateMonth, endDateDay,
304 endDateYear, durationHour, durationMinute, allDay,
305 timeZoneSensitive, type, repeating, recurrence, remindBy,
306 firstReminder, secondReminder, serviceContext);
307 }
308
309 public void addEventResources(
310 com.liferay.portlet.calendar.model.CalEvent event,
311 boolean addGroupPermissions, boolean addGuestPermissions)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException {
314 _calEventLocalService.addEventResources(event, addGroupPermissions,
315 addGuestPermissions);
316 }
317
318 public void addEventResources(
319 com.liferay.portlet.calendar.model.CalEvent event,
320 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
321 throws com.liferay.portal.kernel.exception.PortalException,
322 com.liferay.portal.kernel.exception.SystemException {
323 _calEventLocalService.addEventResources(event, groupPermissions,
324 guestPermissions);
325 }
326
327 public void addEventResources(long eventId, boolean addGroupPermissions,
328 boolean addGuestPermissions)
329 throws com.liferay.portal.kernel.exception.PortalException,
330 com.liferay.portal.kernel.exception.SystemException {
331 _calEventLocalService.addEventResources(eventId, addGroupPermissions,
332 addGuestPermissions);
333 }
334
335 public void addEventResources(long eventId,
336 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
337 throws com.liferay.portal.kernel.exception.PortalException,
338 com.liferay.portal.kernel.exception.SystemException {
339 _calEventLocalService.addEventResources(eventId, groupPermissions,
340 guestPermissions);
341 }
342
343 public void checkEvents()
344 throws com.liferay.portal.kernel.exception.PortalException,
345 com.liferay.portal.kernel.exception.SystemException {
346 _calEventLocalService.checkEvents();
347 }
348
349 public com.liferay.portlet.calendar.model.CalEvent deleteEvent(
350 com.liferay.portlet.calendar.model.CalEvent event)
351 throws com.liferay.portal.kernel.exception.PortalException,
352 com.liferay.portal.kernel.exception.SystemException {
353 return _calEventLocalService.deleteEvent(event);
354 }
355
356 public com.liferay.portlet.calendar.model.CalEvent deleteEvent(long eventId)
357 throws com.liferay.portal.kernel.exception.PortalException,
358 com.liferay.portal.kernel.exception.SystemException {
359 return _calEventLocalService.deleteEvent(eventId);
360 }
361
362 public void deleteEvents(long groupId)
363 throws com.liferay.portal.kernel.exception.PortalException,
364 com.liferay.portal.kernel.exception.SystemException {
365 _calEventLocalService.deleteEvents(groupId);
366 }
367
368 public java.io.File exportEvent(long userId, long eventId)
369 throws com.liferay.portal.kernel.exception.PortalException,
370 com.liferay.portal.kernel.exception.SystemException {
371 return _calEventLocalService.exportEvent(userId, eventId);
372 }
373
374 public java.io.File exportEvents(long userId,
375 java.util.List<com.liferay.portlet.calendar.model.CalEvent> events,
376 java.lang.String fileName)
377 throws com.liferay.portal.kernel.exception.PortalException,
378 com.liferay.portal.kernel.exception.SystemException {
379 return _calEventLocalService.exportEvents(userId, events, fileName);
380 }
381
382 public java.io.File exportGroupEvents(long userId, long groupId,
383 java.lang.String fileName)
384 throws com.liferay.portal.kernel.exception.PortalException,
385 com.liferay.portal.kernel.exception.SystemException {
386 return _calEventLocalService.exportGroupEvents(userId, groupId, fileName);
387 }
388
389 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCompanyEvents(
390 long companyId, int start, int end)
391 throws com.liferay.portal.kernel.exception.SystemException {
392 return _calEventLocalService.getCompanyEvents(companyId, start, end);
393 }
394
395 public int getCompanyEventsCount(long companyId)
396 throws com.liferay.portal.kernel.exception.SystemException {
397 return _calEventLocalService.getCompanyEventsCount(companyId);
398 }
399
400 public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
401 throws com.liferay.portal.kernel.exception.PortalException,
402 com.liferay.portal.kernel.exception.SystemException {
403 return _calEventLocalService.getEvent(eventId);
404 }
405
406 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
407 long groupId, java.util.Calendar cal)
408 throws com.liferay.portal.kernel.exception.SystemException {
409 return _calEventLocalService.getEvents(groupId, cal);
410 }
411
412 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
413 long groupId, java.util.Calendar cal, java.lang.String type)
414 throws com.liferay.portal.kernel.exception.SystemException {
415 return _calEventLocalService.getEvents(groupId, cal, type);
416 }
417
418 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
419 long groupId, java.util.Calendar cal, java.lang.String[] types)
420 throws com.liferay.portal.kernel.exception.SystemException {
421 return _calEventLocalService.getEvents(groupId, cal, types);
422 }
423
424 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
425 long groupId, java.lang.String type, int start, int end)
426 throws com.liferay.portal.kernel.exception.SystemException {
427 return _calEventLocalService.getEvents(groupId, type, start, end);
428 }
429
430 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
431 long groupId, java.lang.String[] types, int start, int end)
432 throws com.liferay.portal.kernel.exception.SystemException {
433 return _calEventLocalService.getEvents(groupId, types, start, end);
434 }
435
436 public int getEventsCount(long groupId, java.lang.String type)
437 throws com.liferay.portal.kernel.exception.SystemException {
438 return _calEventLocalService.getEventsCount(groupId, type);
439 }
440
441 public int getEventsCount(long groupId, java.lang.String[] types)
442 throws com.liferay.portal.kernel.exception.SystemException {
443 return _calEventLocalService.getEventsCount(groupId, types);
444 }
445
446 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getNoAssetEvents()
447 throws com.liferay.portal.kernel.exception.SystemException {
448 return _calEventLocalService.getNoAssetEvents();
449 }
450
451 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
452 long groupId)
453 throws com.liferay.portal.kernel.exception.SystemException {
454 return _calEventLocalService.getRepeatingEvents(groupId);
455 }
456
457 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
458 long groupId, java.util.Calendar cal, java.lang.String[] types)
459 throws com.liferay.portal.kernel.exception.SystemException {
460 return _calEventLocalService.getRepeatingEvents(groupId, cal, types);
461 }
462
463 public boolean hasEvents(long groupId, java.util.Calendar cal)
464 throws com.liferay.portal.kernel.exception.SystemException {
465 return _calEventLocalService.hasEvents(groupId, cal);
466 }
467
468 public boolean hasEvents(long groupId, java.util.Calendar cal,
469 java.lang.String type)
470 throws com.liferay.portal.kernel.exception.SystemException {
471 return _calEventLocalService.hasEvents(groupId, cal, type);
472 }
473
474 public boolean hasEvents(long groupId, java.util.Calendar cal,
475 java.lang.String[] types)
476 throws com.liferay.portal.kernel.exception.SystemException {
477 return _calEventLocalService.hasEvents(groupId, cal, types);
478 }
479
480 public void importICal4j(long userId, long groupId,
481 java.io.InputStream inputStream)
482 throws com.liferay.portal.kernel.exception.PortalException,
483 com.liferay.portal.kernel.exception.SystemException {
484 _calEventLocalService.importICal4j(userId, groupId, inputStream);
485 }
486
487 public void updateAsset(long userId,
488 com.liferay.portlet.calendar.model.CalEvent event,
489 long[] assetCategoryIds, java.lang.String[] assetTagNames,
490 long[] assetLinkEntryIds)
491 throws com.liferay.portal.kernel.exception.PortalException,
492 com.liferay.portal.kernel.exception.SystemException {
493 _calEventLocalService.updateAsset(userId, event, assetCategoryIds,
494 assetTagNames, assetLinkEntryIds);
495 }
496
497 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
498 long userId, long eventId, java.lang.String title,
499 java.lang.String description, java.lang.String location,
500 int startDateMonth, int startDateDay, int startDateYear,
501 int startDateHour, int startDateMinute, int durationHour,
502 int durationMinute, boolean allDay, boolean timeZoneSensitive,
503 java.lang.String type, boolean repeating,
504 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
505 int firstReminder, int secondReminder,
506 com.liferay.portal.service.ServiceContext serviceContext)
507 throws com.liferay.portal.kernel.exception.PortalException,
508 com.liferay.portal.kernel.exception.SystemException {
509 return _calEventLocalService.updateEvent(userId, eventId, title,
510 description, location, startDateMonth, startDateDay, startDateYear,
511 startDateHour, startDateMinute, durationHour, durationMinute,
512 allDay, timeZoneSensitive, type, repeating, recurrence, remindBy,
513 firstReminder, secondReminder, serviceContext);
514 }
515
516
522 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
523 long userId, long eventId, java.lang.String title,
524 java.lang.String description, java.lang.String location,
525 int startDateMonth, int startDateDay, int startDateYear,
526 int startDateHour, int startDateMinute, int endDateMonth,
527 int endDateDay, int endDateYear, int durationHour, int durationMinute,
528 boolean allDay, boolean timeZoneSensitive, java.lang.String type,
529 boolean repeating,
530 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
531 int firstReminder, int secondReminder,
532 com.liferay.portal.service.ServiceContext serviceContext)
533 throws com.liferay.portal.kernel.exception.PortalException,
534 com.liferay.portal.kernel.exception.SystemException {
535 return _calEventLocalService.updateEvent(userId, eventId, title,
536 description, location, startDateMonth, startDateDay, startDateYear,
537 startDateHour, startDateMinute, endDateMonth, endDateDay,
538 endDateYear, durationHour, durationMinute, allDay,
539 timeZoneSensitive, type, repeating, recurrence, remindBy,
540 firstReminder, secondReminder, serviceContext);
541 }
542
543
546 public CalEventLocalService getWrappedCalEventLocalService() {
547 return _calEventLocalService;
548 }
549
550
553 public void setWrappedCalEventLocalService(
554 CalEventLocalService calEventLocalService) {
555 _calEventLocalService = calEventLocalService;
556 }
557
558 public CalEventLocalService getWrappedService() {
559 return _calEventLocalService;
560 }
561
562 public void setWrappedService(CalEventLocalService calEventLocalService) {
563 _calEventLocalService = calEventLocalService;
564 }
565
566 private CalEventLocalService _calEventLocalService;
567 }