001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.calendar.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link CalEventLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see CalEventLocalService
026     * @generated
027     */
028    @ProviderType
029    public class CalEventLocalServiceWrapper implements CalEventLocalService,
030            ServiceWrapper<CalEventLocalService> {
031            public CalEventLocalServiceWrapper(
032                    CalEventLocalService calEventLocalService) {
033                    _calEventLocalService = calEventLocalService;
034            }
035    
036            /**
037            * Adds the cal event to the database. Also notifies the appropriate model listeners.
038            *
039            * @param calEvent the cal event
040            * @return the cal event that was added
041            * @throws SystemException if a system exception occurred
042            */
043            @Override
044            public com.liferay.portlet.calendar.model.CalEvent addCalEvent(
045                    com.liferay.portlet.calendar.model.CalEvent calEvent)
046                    throws com.liferay.portal.kernel.exception.SystemException {
047                    return _calEventLocalService.addCalEvent(calEvent);
048            }
049    
050            /**
051            * Creates a new cal event with the primary key. Does not add the cal event to the database.
052            *
053            * @param eventId the primary key for the new cal event
054            * @return the new cal event
055            */
056            @Override
057            public com.liferay.portlet.calendar.model.CalEvent createCalEvent(
058                    long eventId) {
059                    return _calEventLocalService.createCalEvent(eventId);
060            }
061    
062            /**
063            * Deletes the cal event with the primary key from the database. Also notifies the appropriate model listeners.
064            *
065            * @param eventId the primary key of the cal event
066            * @return the cal event that was removed
067            * @throws PortalException if a cal event with the primary key could not be found
068            * @throws SystemException if a system exception occurred
069            */
070            @Override
071            public com.liferay.portlet.calendar.model.CalEvent deleteCalEvent(
072                    long eventId)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _calEventLocalService.deleteCalEvent(eventId);
076            }
077    
078            /**
079            * Deletes the cal event from the database. Also notifies the appropriate model listeners.
080            *
081            * @param calEvent the cal event
082            * @return the cal event that was removed
083            * @throws SystemException if a system exception occurred
084            */
085            @Override
086            public com.liferay.portlet.calendar.model.CalEvent deleteCalEvent(
087                    com.liferay.portlet.calendar.model.CalEvent calEvent)
088                    throws com.liferay.portal.kernel.exception.SystemException {
089                    return _calEventLocalService.deleteCalEvent(calEvent);
090            }
091    
092            @Override
093            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
094                    return _calEventLocalService.dynamicQuery();
095            }
096    
097            /**
098            * Performs a dynamic query on the database and returns the matching rows.
099            *
100            * @param dynamicQuery the dynamic query
101            * @return the matching rows
102            * @throws SystemException if a system exception occurred
103            */
104            @Override
105            @SuppressWarnings("rawtypes")
106            public java.util.List dynamicQuery(
107                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
108                    throws com.liferay.portal.kernel.exception.SystemException {
109                    return _calEventLocalService.dynamicQuery(dynamicQuery);
110            }
111    
112            /**
113            * Performs a dynamic query on the database and returns a range of the matching rows.
114            *
115            * <p>
116            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.calendar.model.impl.CalEventModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
117            * </p>
118            *
119            * @param dynamicQuery the dynamic query
120            * @param start the lower bound of the range of model instances
121            * @param end the upper bound of the range of model instances (not inclusive)
122            * @return the range of matching rows
123            * @throws SystemException if a system exception occurred
124            */
125            @Override
126            @SuppressWarnings("rawtypes")
127            public java.util.List dynamicQuery(
128                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
129                    int end) throws com.liferay.portal.kernel.exception.SystemException {
130                    return _calEventLocalService.dynamicQuery(dynamicQuery, start, end);
131            }
132    
133            /**
134            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
135            *
136            * <p>
137            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.calendar.model.impl.CalEventModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
138            * </p>
139            *
140            * @param dynamicQuery the dynamic query
141            * @param start the lower bound of the range of model instances
142            * @param end the upper bound of the range of model instances (not inclusive)
143            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
144            * @return the ordered range of matching rows
145            * @throws SystemException if a system exception occurred
146            */
147            @Override
148            @SuppressWarnings("rawtypes")
149            public java.util.List dynamicQuery(
150                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
151                    int end,
152                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153                    throws com.liferay.portal.kernel.exception.SystemException {
154                    return _calEventLocalService.dynamicQuery(dynamicQuery, start, end,
155                            orderByComparator);
156            }
157    
158            /**
159            * Returns the number of rows that match the dynamic query.
160            *
161            * @param dynamicQuery the dynamic query
162            * @return the number of rows that match the dynamic query
163            * @throws SystemException if a system exception occurred
164            */
165            @Override
166            public long dynamicQueryCount(
167                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
168                    throws com.liferay.portal.kernel.exception.SystemException {
169                    return _calEventLocalService.dynamicQueryCount(dynamicQuery);
170            }
171    
172            /**
173            * Returns the number of rows that match the dynamic query.
174            *
175            * @param dynamicQuery the dynamic query
176            * @param projection the projection to apply to the query
177            * @return the number of rows that match the dynamic query
178            * @throws SystemException if a system exception occurred
179            */
180            @Override
181            public long dynamicQueryCount(
182                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
183                    com.liferay.portal.kernel.dao.orm.Projection projection)
184                    throws com.liferay.portal.kernel.exception.SystemException {
185                    return _calEventLocalService.dynamicQueryCount(dynamicQuery, projection);
186            }
187    
188            @Override
189            public com.liferay.portlet.calendar.model.CalEvent fetchCalEvent(
190                    long eventId)
191                    throws com.liferay.portal.kernel.exception.SystemException {
192                    return _calEventLocalService.fetchCalEvent(eventId);
193            }
194    
195            /**
196            * Returns the cal event with the matching UUID and company.
197            *
198            * @param uuid the cal event's UUID
199            * @param companyId the primary key of the company
200            * @return the matching cal event, or <code>null</code> if a matching cal event could not be found
201            * @throws SystemException if a system exception occurred
202            */
203            @Override
204            public com.liferay.portlet.calendar.model.CalEvent fetchCalEventByUuidAndCompanyId(
205                    java.lang.String uuid, long companyId)
206                    throws com.liferay.portal.kernel.exception.SystemException {
207                    return _calEventLocalService.fetchCalEventByUuidAndCompanyId(uuid,
208                            companyId);
209            }
210    
211            /**
212            * Returns the cal event matching the UUID and group.
213            *
214            * @param uuid the cal event's UUID
215            * @param groupId the primary key of the group
216            * @return the matching cal event, or <code>null</code> if a matching cal event could not be found
217            * @throws SystemException if a system exception occurred
218            */
219            @Override
220            public com.liferay.portlet.calendar.model.CalEvent fetchCalEventByUuidAndGroupId(
221                    java.lang.String uuid, long groupId)
222                    throws com.liferay.portal.kernel.exception.SystemException {
223                    return _calEventLocalService.fetchCalEventByUuidAndGroupId(uuid, groupId);
224            }
225    
226            /**
227            * Returns the cal event with the primary key.
228            *
229            * @param eventId the primary key of the cal event
230            * @return the cal event
231            * @throws PortalException if a cal event with the primary key could not be found
232            * @throws SystemException if a system exception occurred
233            */
234            @Override
235            public com.liferay.portlet.calendar.model.CalEvent getCalEvent(long eventId)
236                    throws com.liferay.portal.kernel.exception.PortalException,
237                            com.liferay.portal.kernel.exception.SystemException {
238                    return _calEventLocalService.getCalEvent(eventId);
239            }
240    
241            @Override
242            public com.liferay.portal.model.PersistedModel getPersistedModel(
243                    java.io.Serializable primaryKeyObj)
244                    throws com.liferay.portal.kernel.exception.PortalException,
245                            com.liferay.portal.kernel.exception.SystemException {
246                    return _calEventLocalService.getPersistedModel(primaryKeyObj);
247            }
248    
249            /**
250            * Returns the cal event with the matching UUID and company.
251            *
252            * @param uuid the cal event's UUID
253            * @param companyId the primary key of the company
254            * @return the matching cal event
255            * @throws PortalException if a matching cal event could not be found
256            * @throws SystemException if a system exception occurred
257            */
258            @Override
259            public com.liferay.portlet.calendar.model.CalEvent getCalEventByUuidAndCompanyId(
260                    java.lang.String uuid, long companyId)
261                    throws com.liferay.portal.kernel.exception.PortalException,
262                            com.liferay.portal.kernel.exception.SystemException {
263                    return _calEventLocalService.getCalEventByUuidAndCompanyId(uuid,
264                            companyId);
265            }
266    
267            /**
268            * Returns the cal event matching the UUID and group.
269            *
270            * @param uuid the cal event's UUID
271            * @param groupId the primary key of the group
272            * @return the matching cal event
273            * @throws PortalException if a matching cal event could not be found
274            * @throws SystemException if a system exception occurred
275            */
276            @Override
277            public com.liferay.portlet.calendar.model.CalEvent getCalEventByUuidAndGroupId(
278                    java.lang.String uuid, long groupId)
279                    throws com.liferay.portal.kernel.exception.PortalException,
280                            com.liferay.portal.kernel.exception.SystemException {
281                    return _calEventLocalService.getCalEventByUuidAndGroupId(uuid, groupId);
282            }
283    
284            /**
285            * Returns a range of all the cal events.
286            *
287            * <p>
288            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.calendar.model.impl.CalEventModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
289            * </p>
290            *
291            * @param start the lower bound of the range of cal events
292            * @param end the upper bound of the range of cal events (not inclusive)
293            * @return the range of cal events
294            * @throws SystemException if a system exception occurred
295            */
296            @Override
297            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEvents(
298                    int start, int end)
299                    throws com.liferay.portal.kernel.exception.SystemException {
300                    return _calEventLocalService.getCalEvents(start, end);
301            }
302    
303            /**
304            * Returns the number of cal events.
305            *
306            * @return the number of cal events
307            * @throws SystemException if a system exception occurred
308            */
309            @Override
310            public int getCalEventsCount()
311                    throws com.liferay.portal.kernel.exception.SystemException {
312                    return _calEventLocalService.getCalEventsCount();
313            }
314    
315            /**
316            * Updates the cal event in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
317            *
318            * @param calEvent the cal event
319            * @return the cal event that was updated
320            * @throws SystemException if a system exception occurred
321            */
322            @Override
323            public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
324                    com.liferay.portlet.calendar.model.CalEvent calEvent)
325                    throws com.liferay.portal.kernel.exception.SystemException {
326                    return _calEventLocalService.updateCalEvent(calEvent);
327            }
328    
329            /**
330            * Returns the Spring bean ID for this bean.
331            *
332            * @return the Spring bean ID for this bean
333            */
334            @Override
335            public java.lang.String getBeanIdentifier() {
336                    return _calEventLocalService.getBeanIdentifier();
337            }
338    
339            /**
340            * Sets the Spring bean ID for this bean.
341            *
342            * @param beanIdentifier the Spring bean ID for this bean
343            */
344            @Override
345            public void setBeanIdentifier(java.lang.String beanIdentifier) {
346                    _calEventLocalService.setBeanIdentifier(beanIdentifier);
347            }
348    
349            @Override
350            public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
351                    java.lang.String title, java.lang.String description,
352                    java.lang.String location, int startDateMonth, int startDateDay,
353                    int startDateYear, int startDateHour, int startDateMinute,
354                    int durationHour, int durationMinute, boolean allDay,
355                    boolean timeZoneSensitive, java.lang.String type, boolean repeating,
356                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
357                    int firstReminder, int secondReminder,
358                    com.liferay.portal.service.ServiceContext serviceContext)
359                    throws com.liferay.portal.kernel.exception.PortalException,
360                            com.liferay.portal.kernel.exception.SystemException {
361                    return _calEventLocalService.addEvent(userId, title, description,
362                            location, startDateMonth, startDateDay, startDateYear,
363                            startDateHour, startDateMinute, durationHour, durationMinute,
364                            allDay, timeZoneSensitive, type, repeating, recurrence, remindBy,
365                            firstReminder, secondReminder, serviceContext);
366            }
367    
368            /**
369            * @deprecated As of 6.2.0, replaced by {@link #addEvent(long, String,
370            String, String, int, int, int, int, int, int, int, boolean,
371            boolean, String, boolean, TZSRecurrence, int, int, int,
372            ServiceContext)}
373            */
374            @Override
375            public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
376                    java.lang.String title, java.lang.String description,
377                    java.lang.String location, int startDateMonth, int startDateDay,
378                    int startDateYear, int startDateHour, int startDateMinute,
379                    int endDateMonth, int endDateDay, int endDateYear, int durationHour,
380                    int durationMinute, boolean allDay, boolean timeZoneSensitive,
381                    java.lang.String type, boolean repeating,
382                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
383                    int firstReminder, int secondReminder,
384                    com.liferay.portal.service.ServiceContext serviceContext)
385                    throws com.liferay.portal.kernel.exception.PortalException,
386                            com.liferay.portal.kernel.exception.SystemException {
387                    return _calEventLocalService.addEvent(userId, title, description,
388                            location, startDateMonth, startDateDay, startDateYear,
389                            startDateHour, startDateMinute, endDateMonth, endDateDay,
390                            endDateYear, durationHour, durationMinute, allDay,
391                            timeZoneSensitive, type, repeating, recurrence, remindBy,
392                            firstReminder, secondReminder, serviceContext);
393            }
394    
395            @Override
396            public void addEventResources(
397                    com.liferay.portlet.calendar.model.CalEvent event,
398                    boolean addGroupPermissions, boolean addGuestPermissions)
399                    throws com.liferay.portal.kernel.exception.PortalException,
400                            com.liferay.portal.kernel.exception.SystemException {
401                    _calEventLocalService.addEventResources(event, addGroupPermissions,
402                            addGuestPermissions);
403            }
404    
405            @Override
406            public void addEventResources(
407                    com.liferay.portlet.calendar.model.CalEvent event,
408                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
409                    throws com.liferay.portal.kernel.exception.PortalException,
410                            com.liferay.portal.kernel.exception.SystemException {
411                    _calEventLocalService.addEventResources(event, groupPermissions,
412                            guestPermissions);
413            }
414    
415            @Override
416            public void addEventResources(long eventId, boolean addGroupPermissions,
417                    boolean addGuestPermissions)
418                    throws com.liferay.portal.kernel.exception.PortalException,
419                            com.liferay.portal.kernel.exception.SystemException {
420                    _calEventLocalService.addEventResources(eventId, addGroupPermissions,
421                            addGuestPermissions);
422            }
423    
424            @Override
425            public void addEventResources(long eventId,
426                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
427                    throws com.liferay.portal.kernel.exception.PortalException,
428                            com.liferay.portal.kernel.exception.SystemException {
429                    _calEventLocalService.addEventResources(eventId, groupPermissions,
430                            guestPermissions);
431            }
432    
433            @Override
434            public void checkEvents()
435                    throws com.liferay.portal.kernel.exception.SystemException {
436                    _calEventLocalService.checkEvents();
437            }
438    
439            @Override
440            public com.liferay.portlet.calendar.model.CalEvent deleteEvent(
441                    com.liferay.portlet.calendar.model.CalEvent event)
442                    throws com.liferay.portal.kernel.exception.PortalException,
443                            com.liferay.portal.kernel.exception.SystemException {
444                    return _calEventLocalService.deleteEvent(event);
445            }
446    
447            @Override
448            public com.liferay.portlet.calendar.model.CalEvent deleteEvent(long eventId)
449                    throws com.liferay.portal.kernel.exception.PortalException,
450                            com.liferay.portal.kernel.exception.SystemException {
451                    return _calEventLocalService.deleteEvent(eventId);
452            }
453    
454            @Override
455            public void deleteEvents(long groupId)
456                    throws com.liferay.portal.kernel.exception.PortalException,
457                            com.liferay.portal.kernel.exception.SystemException {
458                    _calEventLocalService.deleteEvents(groupId);
459            }
460    
461            @Override
462            public java.io.File exportEvent(long userId, long eventId)
463                    throws com.liferay.portal.kernel.exception.PortalException,
464                            com.liferay.portal.kernel.exception.SystemException {
465                    return _calEventLocalService.exportEvent(userId, eventId);
466            }
467    
468            @Override
469            public java.io.File exportEvents(long userId,
470                    java.util.List<com.liferay.portlet.calendar.model.CalEvent> events,
471                    java.lang.String fileName)
472                    throws com.liferay.portal.kernel.exception.PortalException,
473                            com.liferay.portal.kernel.exception.SystemException {
474                    return _calEventLocalService.exportEvents(userId, events, fileName);
475            }
476    
477            @Override
478            public java.io.File exportGroupEvents(long userId, long groupId,
479                    java.lang.String fileName)
480                    throws com.liferay.portal.kernel.exception.PortalException,
481                            com.liferay.portal.kernel.exception.SystemException {
482                    return _calEventLocalService.exportGroupEvents(userId, groupId, fileName);
483            }
484    
485            @Override
486            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCompanyEvents(
487                    long companyId, int start, int end)
488                    throws com.liferay.portal.kernel.exception.SystemException {
489                    return _calEventLocalService.getCompanyEvents(companyId, start, end);
490            }
491    
492            @Override
493            public int getCompanyEventsCount(long companyId)
494                    throws com.liferay.portal.kernel.exception.SystemException {
495                    return _calEventLocalService.getCompanyEventsCount(companyId);
496            }
497    
498            @Override
499            public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
500                    throws com.liferay.portal.kernel.exception.PortalException,
501                            com.liferay.portal.kernel.exception.SystemException {
502                    return _calEventLocalService.getEvent(eventId);
503            }
504    
505            @Override
506            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
507                    long groupId, java.util.Calendar cal)
508                    throws com.liferay.portal.kernel.exception.SystemException {
509                    return _calEventLocalService.getEvents(groupId, cal);
510            }
511    
512            @Override
513            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
514                    long groupId, java.util.Calendar cal, java.lang.String type)
515                    throws com.liferay.portal.kernel.exception.SystemException {
516                    return _calEventLocalService.getEvents(groupId, cal, type);
517            }
518    
519            @Override
520            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
521                    long groupId, java.util.Calendar cal, java.lang.String[] types)
522                    throws com.liferay.portal.kernel.exception.SystemException {
523                    return _calEventLocalService.getEvents(groupId, cal, types);
524            }
525    
526            @Override
527            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
528                    long groupId, java.lang.String type, int start, int end)
529                    throws com.liferay.portal.kernel.exception.SystemException {
530                    return _calEventLocalService.getEvents(groupId, type, start, end);
531            }
532    
533            @Override
534            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
535                    long groupId, java.lang.String[] types, int start, int end)
536                    throws com.liferay.portal.kernel.exception.SystemException {
537                    return _calEventLocalService.getEvents(groupId, types, start, end);
538            }
539    
540            @Override
541            public int getEventsCount(long groupId, java.lang.String type)
542                    throws com.liferay.portal.kernel.exception.SystemException {
543                    return _calEventLocalService.getEventsCount(groupId, type);
544            }
545    
546            @Override
547            public int getEventsCount(long groupId, java.lang.String[] types)
548                    throws com.liferay.portal.kernel.exception.SystemException {
549                    return _calEventLocalService.getEventsCount(groupId, types);
550            }
551    
552            @Override
553            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getNoAssetEvents()
554                    throws com.liferay.portal.kernel.exception.SystemException {
555                    return _calEventLocalService.getNoAssetEvents();
556            }
557    
558            @Override
559            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
560                    long groupId)
561                    throws com.liferay.portal.kernel.exception.SystemException {
562                    return _calEventLocalService.getRepeatingEvents(groupId);
563            }
564    
565            @Override
566            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
567                    long groupId, java.util.Calendar cal, java.lang.String[] types)
568                    throws com.liferay.portal.kernel.exception.SystemException {
569                    return _calEventLocalService.getRepeatingEvents(groupId, cal, types);
570            }
571    
572            @Override
573            public boolean hasEvents(long groupId, java.util.Calendar cal)
574                    throws com.liferay.portal.kernel.exception.SystemException {
575                    return _calEventLocalService.hasEvents(groupId, cal);
576            }
577    
578            @Override
579            public boolean hasEvents(long groupId, java.util.Calendar cal,
580                    java.lang.String type)
581                    throws com.liferay.portal.kernel.exception.SystemException {
582                    return _calEventLocalService.hasEvents(groupId, cal, type);
583            }
584    
585            @Override
586            public boolean hasEvents(long groupId, java.util.Calendar cal,
587                    java.lang.String[] types)
588                    throws com.liferay.portal.kernel.exception.SystemException {
589                    return _calEventLocalService.hasEvents(groupId, cal, types);
590            }
591    
592            @Override
593            public void importICal4j(long userId, long groupId,
594                    java.io.InputStream inputStream)
595                    throws com.liferay.portal.kernel.exception.PortalException,
596                            com.liferay.portal.kernel.exception.SystemException {
597                    _calEventLocalService.importICal4j(userId, groupId, inputStream);
598            }
599    
600            @Override
601            public void updateAsset(long userId,
602                    com.liferay.portlet.calendar.model.CalEvent event,
603                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
604                    long[] assetLinkEntryIds)
605                    throws com.liferay.portal.kernel.exception.PortalException,
606                            com.liferay.portal.kernel.exception.SystemException {
607                    _calEventLocalService.updateAsset(userId, event, assetCategoryIds,
608                            assetTagNames, assetLinkEntryIds);
609            }
610    
611            @Override
612            public com.liferay.portlet.calendar.model.CalEvent updateEvent(
613                    long userId, long eventId, java.lang.String title,
614                    java.lang.String description, java.lang.String location,
615                    int startDateMonth, int startDateDay, int startDateYear,
616                    int startDateHour, int startDateMinute, int durationHour,
617                    int durationMinute, boolean allDay, boolean timeZoneSensitive,
618                    java.lang.String type, boolean repeating,
619                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
620                    int firstReminder, int secondReminder,
621                    com.liferay.portal.service.ServiceContext serviceContext)
622                    throws com.liferay.portal.kernel.exception.PortalException,
623                            com.liferay.portal.kernel.exception.SystemException {
624                    return _calEventLocalService.updateEvent(userId, eventId, title,
625                            description, location, startDateMonth, startDateDay, startDateYear,
626                            startDateHour, startDateMinute, durationHour, durationMinute,
627                            allDay, timeZoneSensitive, type, repeating, recurrence, remindBy,
628                            firstReminder, secondReminder, serviceContext);
629            }
630    
631            /**
632            * @deprecated As of 6.2.0, replaced by {@link #updateEvent(long, long,
633            String, String, String, int, int, int, int, int, int, int,
634            boolean, boolean, String, boolean, TZSRecurrence, int, int,
635            int, ServiceContext)}
636            */
637            @Override
638            public com.liferay.portlet.calendar.model.CalEvent updateEvent(
639                    long userId, long eventId, java.lang.String title,
640                    java.lang.String description, java.lang.String location,
641                    int startDateMonth, int startDateDay, int startDateYear,
642                    int startDateHour, int startDateMinute, int endDateMonth,
643                    int endDateDay, int endDateYear, int durationHour, int durationMinute,
644                    boolean allDay, boolean timeZoneSensitive, java.lang.String type,
645                    boolean repeating,
646                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
647                    int firstReminder, int secondReminder,
648                    com.liferay.portal.service.ServiceContext serviceContext)
649                    throws com.liferay.portal.kernel.exception.PortalException,
650                            com.liferay.portal.kernel.exception.SystemException {
651                    return _calEventLocalService.updateEvent(userId, eventId, title,
652                            description, location, startDateMonth, startDateDay, startDateYear,
653                            startDateHour, startDateMinute, endDateMonth, endDateDay,
654                            endDateYear, durationHour, durationMinute, allDay,
655                            timeZoneSensitive, type, repeating, recurrence, remindBy,
656                            firstReminder, secondReminder, serviceContext);
657            }
658    
659            /**
660             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
661             */
662            public CalEventLocalService getWrappedCalEventLocalService() {
663                    return _calEventLocalService;
664            }
665    
666            /**
667             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
668             */
669            public void setWrappedCalEventLocalService(
670                    CalEventLocalService calEventLocalService) {
671                    _calEventLocalService = calEventLocalService;
672            }
673    
674            @Override
675            public CalEventLocalService getWrappedService() {
676                    return _calEventLocalService;
677            }
678    
679            @Override
680            public void setWrappedService(CalEventLocalService calEventLocalService) {
681                    _calEventLocalService = calEventLocalService;
682            }
683    
684            private CalEventLocalService _calEventLocalService;
685    }