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