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