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