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
066 public void deleteCalEvent(long eventId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 _calEventLocalService.deleteCalEvent(eventId);
070 }
071
072
078 public void deleteCalEvent(
079 com.liferay.portlet.calendar.model.CalEvent calEvent)
080 throws com.liferay.portal.kernel.exception.SystemException {
081 _calEventLocalService.deleteCalEvent(calEvent);
082 }
083
084
091 @SuppressWarnings("rawtypes")
092 public java.util.List dynamicQuery(
093 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
094 throws com.liferay.portal.kernel.exception.SystemException {
095 return _calEventLocalService.dynamicQuery(dynamicQuery);
096 }
097
098
111 @SuppressWarnings("rawtypes")
112 public java.util.List dynamicQuery(
113 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
114 int end) throws com.liferay.portal.kernel.exception.SystemException {
115 return _calEventLocalService.dynamicQuery(dynamicQuery, start, end);
116 }
117
118
132 @SuppressWarnings("rawtypes")
133 public java.util.List dynamicQuery(
134 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
135 int end,
136 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
137 throws com.liferay.portal.kernel.exception.SystemException {
138 return _calEventLocalService.dynamicQuery(dynamicQuery, start, end,
139 orderByComparator);
140 }
141
142
149 public long dynamicQueryCount(
150 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return _calEventLocalService.dynamicQueryCount(dynamicQuery);
153 }
154
155 public com.liferay.portlet.calendar.model.CalEvent fetchCalEvent(
156 long eventId)
157 throws com.liferay.portal.kernel.exception.SystemException {
158 return _calEventLocalService.fetchCalEvent(eventId);
159 }
160
161
169 public com.liferay.portlet.calendar.model.CalEvent getCalEvent(long eventId)
170 throws com.liferay.portal.kernel.exception.PortalException,
171 com.liferay.portal.kernel.exception.SystemException {
172 return _calEventLocalService.getCalEvent(eventId);
173 }
174
175 public com.liferay.portal.model.PersistedModel getPersistedModel(
176 java.io.Serializable primaryKeyObj)
177 throws com.liferay.portal.kernel.exception.PortalException,
178 com.liferay.portal.kernel.exception.SystemException {
179 return _calEventLocalService.getPersistedModel(primaryKeyObj);
180 }
181
182
191 public com.liferay.portlet.calendar.model.CalEvent getCalEventByUuidAndGroupId(
192 java.lang.String uuid, long groupId)
193 throws com.liferay.portal.kernel.exception.PortalException,
194 com.liferay.portal.kernel.exception.SystemException {
195 return _calEventLocalService.getCalEventByUuidAndGroupId(uuid, groupId);
196 }
197
198
210 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEvents(
211 int start, int end)
212 throws com.liferay.portal.kernel.exception.SystemException {
213 return _calEventLocalService.getCalEvents(start, end);
214 }
215
216
222 public int getCalEventsCount()
223 throws com.liferay.portal.kernel.exception.SystemException {
224 return _calEventLocalService.getCalEventsCount();
225 }
226
227
234 public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
235 com.liferay.portlet.calendar.model.CalEvent calEvent)
236 throws com.liferay.portal.kernel.exception.SystemException {
237 return _calEventLocalService.updateCalEvent(calEvent);
238 }
239
240
248 public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
249 com.liferay.portlet.calendar.model.CalEvent calEvent, boolean merge)
250 throws com.liferay.portal.kernel.exception.SystemException {
251 return _calEventLocalService.updateCalEvent(calEvent, merge);
252 }
253
254
259 public java.lang.String getBeanIdentifier() {
260 return _calEventLocalService.getBeanIdentifier();
261 }
262
263
268 public void setBeanIdentifier(java.lang.String beanIdentifier) {
269 _calEventLocalService.setBeanIdentifier(beanIdentifier);
270 }
271
272 public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
273 java.lang.String title, java.lang.String description,
274 java.lang.String location, int startDateMonth, int startDateDay,
275 int startDateYear, int startDateHour, int startDateMinute,
276 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
277 int durationMinute, boolean allDay, boolean timeZoneSensitive,
278 java.lang.String type, boolean repeating,
279 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
280 int firstReminder, int secondReminder,
281 com.liferay.portal.service.ServiceContext serviceContext)
282 throws com.liferay.portal.kernel.exception.PortalException,
283 com.liferay.portal.kernel.exception.SystemException {
284 return _calEventLocalService.addEvent(userId, title, description,
285 location, startDateMonth, startDateDay, startDateYear,
286 startDateHour, startDateMinute, endDateMonth, endDateDay,
287 endDateYear, durationHour, durationMinute, allDay,
288 timeZoneSensitive, type, repeating, recurrence, remindBy,
289 firstReminder, secondReminder, serviceContext);
290 }
291
292 public void addEventResources(
293 com.liferay.portlet.calendar.model.CalEvent event,
294 boolean addGroupPermissions, boolean addGuestPermissions)
295 throws com.liferay.portal.kernel.exception.PortalException,
296 com.liferay.portal.kernel.exception.SystemException {
297 _calEventLocalService.addEventResources(event, addGroupPermissions,
298 addGuestPermissions);
299 }
300
301 public void addEventResources(
302 com.liferay.portlet.calendar.model.CalEvent event,
303 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
304 throws com.liferay.portal.kernel.exception.PortalException,
305 com.liferay.portal.kernel.exception.SystemException {
306 _calEventLocalService.addEventResources(event, groupPermissions,
307 guestPermissions);
308 }
309
310 public void addEventResources(long eventId, boolean addGroupPermissions,
311 boolean addGuestPermissions)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException {
314 _calEventLocalService.addEventResources(eventId, addGroupPermissions,
315 addGuestPermissions);
316 }
317
318 public void addEventResources(long eventId,
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(eventId, groupPermissions,
323 guestPermissions);
324 }
325
326 public void checkEvents()
327 throws com.liferay.portal.kernel.exception.PortalException,
328 com.liferay.portal.kernel.exception.SystemException {
329 _calEventLocalService.checkEvents();
330 }
331
332 public void deleteEvent(com.liferay.portlet.calendar.model.CalEvent event)
333 throws com.liferay.portal.kernel.exception.PortalException,
334 com.liferay.portal.kernel.exception.SystemException {
335 _calEventLocalService.deleteEvent(event);
336 }
337
338 public void deleteEvent(long eventId)
339 throws com.liferay.portal.kernel.exception.PortalException,
340 com.liferay.portal.kernel.exception.SystemException {
341 _calEventLocalService.deleteEvent(eventId);
342 }
343
344 public void deleteEvents(long groupId)
345 throws com.liferay.portal.kernel.exception.PortalException,
346 com.liferay.portal.kernel.exception.SystemException {
347 _calEventLocalService.deleteEvents(groupId);
348 }
349
350 public java.io.File exportEvent(long userId, long eventId)
351 throws com.liferay.portal.kernel.exception.PortalException,
352 com.liferay.portal.kernel.exception.SystemException {
353 return _calEventLocalService.exportEvent(userId, eventId);
354 }
355
356 public java.io.File exportGroupEvents(long userId, long groupId,
357 java.lang.String fileName)
358 throws com.liferay.portal.kernel.exception.PortalException,
359 com.liferay.portal.kernel.exception.SystemException {
360 return _calEventLocalService.exportGroupEvents(userId, groupId, fileName);
361 }
362
363 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCompanyEvents(
364 long companyId, int start, int end)
365 throws com.liferay.portal.kernel.exception.SystemException {
366 return _calEventLocalService.getCompanyEvents(companyId, start, end);
367 }
368
369 public int getCompanyEventsCount(long companyId)
370 throws com.liferay.portal.kernel.exception.SystemException {
371 return _calEventLocalService.getCompanyEventsCount(companyId);
372 }
373
374 public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
375 throws com.liferay.portal.kernel.exception.PortalException,
376 com.liferay.portal.kernel.exception.SystemException {
377 return _calEventLocalService.getEvent(eventId);
378 }
379
380 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
381 long groupId, java.util.Calendar cal)
382 throws com.liferay.portal.kernel.exception.SystemException {
383 return _calEventLocalService.getEvents(groupId, cal);
384 }
385
386 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
387 long groupId, java.util.Calendar cal, java.lang.String type)
388 throws com.liferay.portal.kernel.exception.SystemException {
389 return _calEventLocalService.getEvents(groupId, cal, type);
390 }
391
392 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
393 long groupId, java.util.Calendar cal, java.lang.String[] types)
394 throws com.liferay.portal.kernel.exception.SystemException {
395 return _calEventLocalService.getEvents(groupId, cal, types);
396 }
397
398 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
399 long groupId, java.lang.String type, int start, int end)
400 throws com.liferay.portal.kernel.exception.SystemException {
401 return _calEventLocalService.getEvents(groupId, type, start, end);
402 }
403
404 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
405 long groupId, java.lang.String[] types, int start, int end)
406 throws com.liferay.portal.kernel.exception.SystemException {
407 return _calEventLocalService.getEvents(groupId, types, start, end);
408 }
409
410 public int getEventsCount(long groupId, java.lang.String type)
411 throws com.liferay.portal.kernel.exception.SystemException {
412 return _calEventLocalService.getEventsCount(groupId, type);
413 }
414
415 public int getEventsCount(long groupId, java.lang.String[] types)
416 throws com.liferay.portal.kernel.exception.SystemException {
417 return _calEventLocalService.getEventsCount(groupId, types);
418 }
419
420 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getNoAssetEvents()
421 throws com.liferay.portal.kernel.exception.SystemException {
422 return _calEventLocalService.getNoAssetEvents();
423 }
424
425 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
426 long groupId)
427 throws com.liferay.portal.kernel.exception.SystemException {
428 return _calEventLocalService.getRepeatingEvents(groupId);
429 }
430
431 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
432 long groupId, java.util.Calendar cal, java.lang.String[] types)
433 throws com.liferay.portal.kernel.exception.SystemException {
434 return _calEventLocalService.getRepeatingEvents(groupId, cal, types);
435 }
436
437 public boolean hasEvents(long groupId, java.util.Calendar cal)
438 throws com.liferay.portal.kernel.exception.SystemException {
439 return _calEventLocalService.hasEvents(groupId, cal);
440 }
441
442 public boolean hasEvents(long groupId, java.util.Calendar cal,
443 java.lang.String type)
444 throws com.liferay.portal.kernel.exception.SystemException {
445 return _calEventLocalService.hasEvents(groupId, cal, type);
446 }
447
448 public boolean hasEvents(long groupId, java.util.Calendar cal,
449 java.lang.String[] types)
450 throws com.liferay.portal.kernel.exception.SystemException {
451 return _calEventLocalService.hasEvents(groupId, cal, types);
452 }
453
454 public void importICal4j(long userId, long groupId,
455 java.io.InputStream inputStream)
456 throws com.liferay.portal.kernel.exception.PortalException,
457 com.liferay.portal.kernel.exception.SystemException {
458 _calEventLocalService.importICal4j(userId, groupId, inputStream);
459 }
460
461 public void updateAsset(long userId,
462 com.liferay.portlet.calendar.model.CalEvent event,
463 long[] assetCategoryIds, java.lang.String[] assetTagNames,
464 long[] assetLinkEntryIds)
465 throws com.liferay.portal.kernel.exception.PortalException,
466 com.liferay.portal.kernel.exception.SystemException {
467 _calEventLocalService.updateAsset(userId, event, assetCategoryIds,
468 assetTagNames, assetLinkEntryIds);
469 }
470
471 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
472 long userId, long eventId, java.lang.String title,
473 java.lang.String description, java.lang.String location,
474 int startDateMonth, int startDateDay, int startDateYear,
475 int startDateHour, int startDateMinute, int endDateMonth,
476 int endDateDay, int endDateYear, int durationHour, int durationMinute,
477 boolean allDay, boolean timeZoneSensitive, java.lang.String type,
478 boolean repeating,
479 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
480 int firstReminder, int secondReminder,
481 com.liferay.portal.service.ServiceContext serviceContext)
482 throws com.liferay.portal.kernel.exception.PortalException,
483 com.liferay.portal.kernel.exception.SystemException {
484 return _calEventLocalService.updateEvent(userId, eventId, title,
485 description, location, startDateMonth, startDateDay, startDateYear,
486 startDateHour, startDateMinute, endDateMonth, endDateDay,
487 endDateYear, durationHour, durationMinute, allDay,
488 timeZoneSensitive, type, repeating, recurrence, remindBy,
489 firstReminder, secondReminder, serviceContext);
490 }
491
492
495 public CalEventLocalService getWrappedCalEventLocalService() {
496 return _calEventLocalService;
497 }
498
499
502 public void setWrappedCalEventLocalService(
503 CalEventLocalService calEventLocalService) {
504 _calEventLocalService = calEventLocalService;
505 }
506
507 public CalEventLocalService getWrappedService() {
508 return _calEventLocalService;
509 }
510
511 public void setWrappedService(CalEventLocalService calEventLocalService) {
512 _calEventLocalService = calEventLocalService;
513 }
514
515 private CalEventLocalService _calEventLocalService;
516 }