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