001
014
015 package com.liferay.portlet.calendar.service;
016
017
026 public class CalEventLocalServiceWrapper implements CalEventLocalService {
027 public CalEventLocalServiceWrapper(
028 CalEventLocalService calEventLocalService) {
029 _calEventLocalService = calEventLocalService;
030 }
031
032
039 public com.liferay.portlet.calendar.model.CalEvent addCalEvent(
040 com.liferay.portlet.calendar.model.CalEvent calEvent)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return _calEventLocalService.addCalEvent(calEvent);
043 }
044
045
051 public com.liferay.portlet.calendar.model.CalEvent createCalEvent(
052 long eventId) {
053 return _calEventLocalService.createCalEvent(eventId);
054 }
055
056
063 public void deleteCalEvent(long eventId)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 _calEventLocalService.deleteCalEvent(eventId);
067 }
068
069
075 public void deleteCalEvent(
076 com.liferay.portlet.calendar.model.CalEvent calEvent)
077 throws com.liferay.portal.kernel.exception.SystemException {
078 _calEventLocalService.deleteCalEvent(calEvent);
079 }
080
081
088 @SuppressWarnings("rawtypes")
089 public java.util.List dynamicQuery(
090 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _calEventLocalService.dynamicQuery(dynamicQuery);
093 }
094
095
108 @SuppressWarnings("rawtypes")
109 public java.util.List dynamicQuery(
110 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
111 int end) throws com.liferay.portal.kernel.exception.SystemException {
112 return _calEventLocalService.dynamicQuery(dynamicQuery, start, end);
113 }
114
115
129 @SuppressWarnings("rawtypes")
130 public java.util.List dynamicQuery(
131 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
132 int end,
133 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134 throws com.liferay.portal.kernel.exception.SystemException {
135 return _calEventLocalService.dynamicQuery(dynamicQuery, start, end,
136 orderByComparator);
137 }
138
139
146 public long dynamicQueryCount(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
148 throws com.liferay.portal.kernel.exception.SystemException {
149 return _calEventLocalService.dynamicQueryCount(dynamicQuery);
150 }
151
152
160 public com.liferay.portlet.calendar.model.CalEvent getCalEvent(long eventId)
161 throws com.liferay.portal.kernel.exception.PortalException,
162 com.liferay.portal.kernel.exception.SystemException {
163 return _calEventLocalService.getCalEvent(eventId);
164 }
165
166 public com.liferay.portal.model.PersistedModel getPersistedModel(
167 java.io.Serializable primaryKeyObj)
168 throws com.liferay.portal.kernel.exception.PortalException,
169 com.liferay.portal.kernel.exception.SystemException {
170 return _calEventLocalService.getPersistedModel(primaryKeyObj);
171 }
172
173
182 public com.liferay.portlet.calendar.model.CalEvent getCalEventByUuidAndGroupId(
183 java.lang.String uuid, long groupId)
184 throws com.liferay.portal.kernel.exception.PortalException,
185 com.liferay.portal.kernel.exception.SystemException {
186 return _calEventLocalService.getCalEventByUuidAndGroupId(uuid, groupId);
187 }
188
189
201 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEvents(
202 int start, int end)
203 throws com.liferay.portal.kernel.exception.SystemException {
204 return _calEventLocalService.getCalEvents(start, end);
205 }
206
207
213 public int getCalEventsCount()
214 throws com.liferay.portal.kernel.exception.SystemException {
215 return _calEventLocalService.getCalEventsCount();
216 }
217
218
225 public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
226 com.liferay.portlet.calendar.model.CalEvent calEvent)
227 throws com.liferay.portal.kernel.exception.SystemException {
228 return _calEventLocalService.updateCalEvent(calEvent);
229 }
230
231
239 public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
240 com.liferay.portlet.calendar.model.CalEvent calEvent, boolean merge)
241 throws com.liferay.portal.kernel.exception.SystemException {
242 return _calEventLocalService.updateCalEvent(calEvent, merge);
243 }
244
245
250 public java.lang.String getBeanIdentifier() {
251 return _calEventLocalService.getBeanIdentifier();
252 }
253
254
259 public void setBeanIdentifier(java.lang.String beanIdentifier) {
260 _calEventLocalService.setBeanIdentifier(beanIdentifier);
261 }
262
263 public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
264 java.lang.String title, java.lang.String description,
265 java.lang.String location, int startDateMonth, int startDateDay,
266 int startDateYear, int startDateHour, int startDateMinute,
267 int endDateMonth, int endDateDay, int endDateYear, int durationHour,
268 int durationMinute, boolean allDay, boolean timeZoneSensitive,
269 java.lang.String type, boolean repeating,
270 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
271 int firstReminder, int secondReminder,
272 com.liferay.portal.service.ServiceContext serviceContext)
273 throws com.liferay.portal.kernel.exception.PortalException,
274 com.liferay.portal.kernel.exception.SystemException {
275 return _calEventLocalService.addEvent(userId, title, description,
276 location, startDateMonth, startDateDay, startDateYear,
277 startDateHour, startDateMinute, endDateMonth, endDateDay,
278 endDateYear, durationHour, durationMinute, allDay,
279 timeZoneSensitive, type, repeating, recurrence, remindBy,
280 firstReminder, secondReminder, serviceContext);
281 }
282
283 public void addEventResources(
284 com.liferay.portlet.calendar.model.CalEvent event,
285 boolean addGroupPermissions, boolean addGuestPermissions)
286 throws com.liferay.portal.kernel.exception.PortalException,
287 com.liferay.portal.kernel.exception.SystemException {
288 _calEventLocalService.addEventResources(event, addGroupPermissions,
289 addGuestPermissions);
290 }
291
292 public void addEventResources(
293 com.liferay.portlet.calendar.model.CalEvent event,
294 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
295 throws com.liferay.portal.kernel.exception.PortalException,
296 com.liferay.portal.kernel.exception.SystemException {
297 _calEventLocalService.addEventResources(event, groupPermissions,
298 guestPermissions);
299 }
300
301 public void addEventResources(long eventId, boolean addGroupPermissions,
302 boolean addGuestPermissions)
303 throws com.liferay.portal.kernel.exception.PortalException,
304 com.liferay.portal.kernel.exception.SystemException {
305 _calEventLocalService.addEventResources(eventId, addGroupPermissions,
306 addGuestPermissions);
307 }
308
309 public void addEventResources(long eventId,
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(eventId, groupPermissions,
314 guestPermissions);
315 }
316
317 public void checkEvents()
318 throws com.liferay.portal.kernel.exception.PortalException,
319 com.liferay.portal.kernel.exception.SystemException {
320 _calEventLocalService.checkEvents();
321 }
322
323 public void deleteEvent(com.liferay.portlet.calendar.model.CalEvent event)
324 throws com.liferay.portal.kernel.exception.PortalException,
325 com.liferay.portal.kernel.exception.SystemException {
326 _calEventLocalService.deleteEvent(event);
327 }
328
329 public void deleteEvent(long eventId)
330 throws com.liferay.portal.kernel.exception.PortalException,
331 com.liferay.portal.kernel.exception.SystemException {
332 _calEventLocalService.deleteEvent(eventId);
333 }
334
335 public void deleteEvents(long groupId)
336 throws com.liferay.portal.kernel.exception.PortalException,
337 com.liferay.portal.kernel.exception.SystemException {
338 _calEventLocalService.deleteEvents(groupId);
339 }
340
341 public java.io.File exportEvent(long userId, long eventId)
342 throws com.liferay.portal.kernel.exception.PortalException,
343 com.liferay.portal.kernel.exception.SystemException {
344 return _calEventLocalService.exportEvent(userId, eventId);
345 }
346
347 public java.io.File exportGroupEvents(long userId, long groupId,
348 java.lang.String fileName)
349 throws com.liferay.portal.kernel.exception.PortalException,
350 com.liferay.portal.kernel.exception.SystemException {
351 return _calEventLocalService.exportGroupEvents(userId, groupId, fileName);
352 }
353
354 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCompanyEvents(
355 long companyId, int start, int end)
356 throws com.liferay.portal.kernel.exception.SystemException {
357 return _calEventLocalService.getCompanyEvents(companyId, start, end);
358 }
359
360 public int getCompanyEventsCount(long companyId)
361 throws com.liferay.portal.kernel.exception.SystemException {
362 return _calEventLocalService.getCompanyEventsCount(companyId);
363 }
364
365 public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
366 throws com.liferay.portal.kernel.exception.PortalException,
367 com.liferay.portal.kernel.exception.SystemException {
368 return _calEventLocalService.getEvent(eventId);
369 }
370
371 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
372 long groupId, java.util.Calendar cal)
373 throws com.liferay.portal.kernel.exception.SystemException {
374 return _calEventLocalService.getEvents(groupId, cal);
375 }
376
377 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
378 long groupId, java.util.Calendar cal, java.lang.String type)
379 throws com.liferay.portal.kernel.exception.SystemException {
380 return _calEventLocalService.getEvents(groupId, cal, type);
381 }
382
383 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
384 long groupId, java.util.Calendar cal, java.lang.String[] types)
385 throws com.liferay.portal.kernel.exception.SystemException {
386 return _calEventLocalService.getEvents(groupId, cal, types);
387 }
388
389 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
390 long groupId, java.lang.String type, int start, int end)
391 throws com.liferay.portal.kernel.exception.SystemException {
392 return _calEventLocalService.getEvents(groupId, type, start, end);
393 }
394
395 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
396 long groupId, java.lang.String[] types, int start, int end)
397 throws com.liferay.portal.kernel.exception.SystemException {
398 return _calEventLocalService.getEvents(groupId, types, start, end);
399 }
400
401 public int getEventsCount(long groupId, java.lang.String type)
402 throws com.liferay.portal.kernel.exception.SystemException {
403 return _calEventLocalService.getEventsCount(groupId, type);
404 }
405
406 public int getEventsCount(long groupId, java.lang.String[] types)
407 throws com.liferay.portal.kernel.exception.SystemException {
408 return _calEventLocalService.getEventsCount(groupId, types);
409 }
410
411 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getNoAssetEvents()
412 throws com.liferay.portal.kernel.exception.SystemException {
413 return _calEventLocalService.getNoAssetEvents();
414 }
415
416 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
417 long groupId)
418 throws com.liferay.portal.kernel.exception.SystemException {
419 return _calEventLocalService.getRepeatingEvents(groupId);
420 }
421
422 public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
423 long groupId, java.util.Calendar cal, java.lang.String[] types)
424 throws com.liferay.portal.kernel.exception.SystemException {
425 return _calEventLocalService.getRepeatingEvents(groupId, cal, types);
426 }
427
428 public boolean hasEvents(long groupId, java.util.Calendar cal)
429 throws com.liferay.portal.kernel.exception.SystemException {
430 return _calEventLocalService.hasEvents(groupId, cal);
431 }
432
433 public boolean hasEvents(long groupId, java.util.Calendar cal,
434 java.lang.String type)
435 throws com.liferay.portal.kernel.exception.SystemException {
436 return _calEventLocalService.hasEvents(groupId, cal, type);
437 }
438
439 public boolean hasEvents(long groupId, java.util.Calendar cal,
440 java.lang.String[] types)
441 throws com.liferay.portal.kernel.exception.SystemException {
442 return _calEventLocalService.hasEvents(groupId, cal, types);
443 }
444
445 public void importICal4j(long userId, long groupId,
446 java.io.InputStream inputStream)
447 throws com.liferay.portal.kernel.exception.PortalException,
448 com.liferay.portal.kernel.exception.SystemException {
449 _calEventLocalService.importICal4j(userId, groupId, inputStream);
450 }
451
452 public void updateAsset(long userId,
453 com.liferay.portlet.calendar.model.CalEvent event,
454 long[] assetCategoryIds, java.lang.String[] assetTagNames,
455 long[] assetLinkEntryIds)
456 throws com.liferay.portal.kernel.exception.PortalException,
457 com.liferay.portal.kernel.exception.SystemException {
458 _calEventLocalService.updateAsset(userId, event, assetCategoryIds,
459 assetTagNames, assetLinkEntryIds);
460 }
461
462 public com.liferay.portlet.calendar.model.CalEvent updateEvent(
463 long userId, long eventId, java.lang.String title,
464 java.lang.String description, java.lang.String location,
465 int startDateMonth, int startDateDay, int startDateYear,
466 int startDateHour, int startDateMinute, int endDateMonth,
467 int endDateDay, int endDateYear, int durationHour, int durationMinute,
468 boolean allDay, boolean timeZoneSensitive, java.lang.String type,
469 boolean repeating,
470 com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
471 int firstReminder, int secondReminder,
472 com.liferay.portal.service.ServiceContext serviceContext)
473 throws com.liferay.portal.kernel.exception.PortalException,
474 com.liferay.portal.kernel.exception.SystemException {
475 return _calEventLocalService.updateEvent(userId, eventId, title,
476 description, location, startDateMonth, startDateDay, startDateYear,
477 startDateHour, startDateMinute, endDateMonth, endDateDay,
478 endDateYear, durationHour, durationMinute, allDay,
479 timeZoneSensitive, type, repeating, recurrence, remindBy,
480 firstReminder, secondReminder, serviceContext);
481 }
482
483 public CalEventLocalService getWrappedCalEventLocalService() {
484 return _calEventLocalService;
485 }
486
487 public void setWrappedCalEventLocalService(
488 CalEventLocalService calEventLocalService) {
489 _calEventLocalService = calEventLocalService;
490 }
491
492 private CalEventLocalService _calEventLocalService;
493 }