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     * @deprecated As of 7.0.0, with no direct replacement
027     * @generated
028     */
029    @Deprecated
030    @ProviderType
031    public class CalEventLocalServiceWrapper implements CalEventLocalService,
032            ServiceWrapper<CalEventLocalService> {
033            public CalEventLocalServiceWrapper(
034                    CalEventLocalService calEventLocalService) {
035                    _calEventLocalService = calEventLocalService;
036            }
037    
038            /**
039            * Adds the cal event to the database. Also notifies the appropriate model listeners.
040            *
041            * @param calEvent the cal event
042            * @return the cal event that was added
043            */
044            @Override
045            public com.liferay.portlet.calendar.model.CalEvent addCalEvent(
046                    com.liferay.portlet.calendar.model.CalEvent calEvent) {
047                    return _calEventLocalService.addCalEvent(calEvent);
048            }
049    
050            @Override
051            public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
052                    java.lang.String title, java.lang.String description,
053                    java.lang.String location, int startDateMonth, int startDateDay,
054                    int startDateYear, int startDateHour, int startDateMinute,
055                    int durationHour, int durationMinute, boolean allDay,
056                    boolean timeZoneSensitive, java.lang.String type, boolean repeating,
057                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
058                    int firstReminder, int secondReminder,
059                    com.liferay.portal.service.ServiceContext serviceContext)
060                    throws com.liferay.portal.kernel.exception.PortalException {
061                    return _calEventLocalService.addEvent(userId, title, description,
062                            location, startDateMonth, startDateDay, startDateYear,
063                            startDateHour, startDateMinute, durationHour, durationMinute,
064                            allDay, timeZoneSensitive, type, repeating, recurrence, remindBy,
065                            firstReminder, secondReminder, serviceContext);
066            }
067    
068            /**
069            * @deprecated As of 6.2.0, replaced by {@link #addEvent(long, String,
070            String, String, int, int, int, int, int, int, int, boolean,
071            boolean, String, boolean, TZSRecurrence, int, int, int,
072            ServiceContext)}
073            */
074            @Deprecated
075            @Override
076            public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
077                    java.lang.String title, java.lang.String description,
078                    java.lang.String location, int startDateMonth, int startDateDay,
079                    int startDateYear, int startDateHour, int startDateMinute,
080                    int endDateMonth, int endDateDay, int endDateYear, int durationHour,
081                    int durationMinute, boolean allDay, boolean timeZoneSensitive,
082                    java.lang.String type, boolean repeating,
083                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
084                    int firstReminder, int secondReminder,
085                    com.liferay.portal.service.ServiceContext serviceContext)
086                    throws com.liferay.portal.kernel.exception.PortalException {
087                    return _calEventLocalService.addEvent(userId, title, description,
088                            location, startDateMonth, startDateDay, startDateYear,
089                            startDateHour, startDateMinute, endDateMonth, endDateDay,
090                            endDateYear, durationHour, durationMinute, allDay,
091                            timeZoneSensitive, type, repeating, recurrence, remindBy,
092                            firstReminder, secondReminder, serviceContext);
093            }
094    
095            @Override
096            public void addEventResources(
097                    com.liferay.portlet.calendar.model.CalEvent event,
098                    boolean addGroupPermissions, boolean addGuestPermissions)
099                    throws com.liferay.portal.kernel.exception.PortalException {
100                    _calEventLocalService.addEventResources(event, addGroupPermissions,
101                            addGuestPermissions);
102            }
103    
104            @Override
105            public void addEventResources(
106                    com.liferay.portlet.calendar.model.CalEvent event,
107                    com.liferay.portal.service.permission.ModelPermissions modelPermissions)
108                    throws com.liferay.portal.kernel.exception.PortalException {
109                    _calEventLocalService.addEventResources(event, modelPermissions);
110            }
111    
112            @Override
113            public void addEventResources(long eventId, boolean addGroupPermissions,
114                    boolean addGuestPermissions)
115                    throws com.liferay.portal.kernel.exception.PortalException {
116                    _calEventLocalService.addEventResources(eventId, addGroupPermissions,
117                            addGuestPermissions);
118            }
119    
120            @Override
121            public void addEventResources(long eventId,
122                    com.liferay.portal.service.permission.ModelPermissions modelPermissions)
123                    throws com.liferay.portal.kernel.exception.PortalException {
124                    _calEventLocalService.addEventResources(eventId, modelPermissions);
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 matching the dynamic query.
259            *
260            * @param dynamicQuery the dynamic query
261            * @return the number of rows matching 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 matching 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 matching 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 cal event with the primary key.
330            *
331            * @param eventId the primary key of the cal event
332            * @return the cal event
333            * @throws PortalException if a cal event with the primary key could not be found
334            */
335            @Override
336            public com.liferay.portlet.calendar.model.CalEvent getCalEvent(long eventId)
337                    throws com.liferay.portal.kernel.exception.PortalException {
338                    return _calEventLocalService.getCalEvent(eventId);
339            }
340    
341            /**
342            * Returns the cal event matching the UUID and group.
343            *
344            * @param uuid the cal event's UUID
345            * @param groupId the primary key of the group
346            * @return the matching cal event
347            * @throws PortalException if a matching cal event could not be found
348            */
349            @Override
350            public com.liferay.portlet.calendar.model.CalEvent getCalEventByUuidAndGroupId(
351                    java.lang.String uuid, long groupId)
352                    throws com.liferay.portal.kernel.exception.PortalException {
353                    return _calEventLocalService.getCalEventByUuidAndGroupId(uuid, groupId);
354            }
355    
356            /**
357            * Returns a range of all the cal events.
358            *
359            * <p>
360            * 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.
361            * </p>
362            *
363            * @param start the lower bound of the range of cal events
364            * @param end the upper bound of the range of cal events (not inclusive)
365            * @return the range of cal events
366            */
367            @Override
368            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEvents(
369                    int start, int end) {
370                    return _calEventLocalService.getCalEvents(start, end);
371            }
372    
373            /**
374            * Returns all the cal events matching the UUID and company.
375            *
376            * @param uuid the UUID of the cal events
377            * @param companyId the primary key of the company
378            * @return the matching cal events, or an empty list if no matches were found
379            */
380            @Override
381            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEventsByUuidAndCompanyId(
382                    java.lang.String uuid, long companyId) {
383                    return _calEventLocalService.getCalEventsByUuidAndCompanyId(uuid,
384                            companyId);
385            }
386    
387            /**
388            * Returns a range of cal events matching the UUID and company.
389            *
390            * @param uuid the UUID of the cal events
391            * @param companyId the primary key of the company
392            * @param start the lower bound of the range of cal events
393            * @param end the upper bound of the range of cal events (not inclusive)
394            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
395            * @return the range of matching cal events, or an empty list if no matches were found
396            */
397            @Override
398            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEventsByUuidAndCompanyId(
399                    java.lang.String uuid, long companyId, int start, int end,
400                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.calendar.model.CalEvent> orderByComparator) {
401                    return _calEventLocalService.getCalEventsByUuidAndCompanyId(uuid,
402                            companyId, start, end, orderByComparator);
403            }
404    
405            /**
406            * Returns the number of cal events.
407            *
408            * @return the number of cal events
409            */
410            @Override
411            public int getCalEventsCount() {
412                    return _calEventLocalService.getCalEventsCount();
413            }
414    
415            @Override
416            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCompanyEvents(
417                    long companyId, int start, int end) {
418                    return _calEventLocalService.getCompanyEvents(companyId, start, end);
419            }
420    
421            @Override
422            public int getCompanyEventsCount(long companyId) {
423                    return _calEventLocalService.getCompanyEventsCount(companyId);
424            }
425    
426            @Override
427            public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
428                    throws com.liferay.portal.kernel.exception.PortalException {
429                    return _calEventLocalService.getEvent(eventId);
430            }
431    
432            @Override
433            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
434                    long groupId, java.util.Calendar cal) {
435                    return _calEventLocalService.getEvents(groupId, cal);
436            }
437    
438            @Override
439            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
440                    long groupId, java.util.Calendar cal, java.lang.String type) {
441                    return _calEventLocalService.getEvents(groupId, cal, type);
442            }
443    
444            @Override
445            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
446                    long groupId, java.util.Calendar cal, java.lang.String[] types) {
447                    return _calEventLocalService.getEvents(groupId, cal, types);
448            }
449    
450            @Override
451            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
452                    long groupId, java.lang.String type, int start, int end) {
453                    return _calEventLocalService.getEvents(groupId, type, start, end);
454            }
455    
456            @Override
457            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
458                    long groupId, java.lang.String[] types, int start, int end) {
459                    return _calEventLocalService.getEvents(groupId, types, start, end);
460            }
461    
462            @Override
463            public int getEventsCount(long groupId, java.lang.String type) {
464                    return _calEventLocalService.getEventsCount(groupId, type);
465            }
466    
467            @Override
468            public int getEventsCount(long groupId, java.lang.String[] types) {
469                    return _calEventLocalService.getEventsCount(groupId, types);
470            }
471    
472            @Override
473            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
474                    com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) {
475                    return _calEventLocalService.getExportActionableDynamicQuery(portletDataContext);
476            }
477    
478            @Override
479            public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
480                    return _calEventLocalService.getIndexableActionableDynamicQuery();
481            }
482    
483            @Override
484            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getNoAssetEvents() {
485                    return _calEventLocalService.getNoAssetEvents();
486            }
487    
488            /**
489            * Returns the OSGi service identifier.
490            *
491            * @return the OSGi service identifier
492            */
493            @Override
494            public java.lang.String getOSGiServiceIdentifier() {
495                    return _calEventLocalService.getOSGiServiceIdentifier();
496            }
497    
498            @Override
499            public com.liferay.portal.model.PersistedModel getPersistedModel(
500                    java.io.Serializable primaryKeyObj)
501                    throws com.liferay.portal.kernel.exception.PortalException {
502                    return _calEventLocalService.getPersistedModel(primaryKeyObj);
503            }
504    
505            @Override
506            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
507                    long groupId) {
508                    return _calEventLocalService.getRepeatingEvents(groupId);
509            }
510    
511            @Override
512            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
513                    long groupId, java.util.Calendar cal, java.lang.String[] types) {
514                    return _calEventLocalService.getRepeatingEvents(groupId, cal, types);
515            }
516    
517            @Override
518            public boolean hasEvents(long groupId, java.util.Calendar cal) {
519                    return _calEventLocalService.hasEvents(groupId, cal);
520            }
521    
522            @Override
523            public boolean hasEvents(long groupId, java.util.Calendar cal,
524                    java.lang.String type) {
525                    return _calEventLocalService.hasEvents(groupId, cal, type);
526            }
527    
528            @Override
529            public boolean hasEvents(long groupId, java.util.Calendar cal,
530                    java.lang.String[] types) {
531                    return _calEventLocalService.hasEvents(groupId, cal, types);
532            }
533    
534            @Override
535            public void importICal4j(long userId, long groupId,
536                    java.io.InputStream inputStream)
537                    throws com.liferay.portal.kernel.exception.PortalException {
538                    _calEventLocalService.importICal4j(userId, groupId, inputStream);
539            }
540    
541            @Override
542            public void updateAsset(long userId,
543                    com.liferay.portlet.calendar.model.CalEvent event,
544                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
545                    long[] assetLinkEntryIds)
546                    throws com.liferay.portal.kernel.exception.PortalException {
547                    _calEventLocalService.updateAsset(userId, event, assetCategoryIds,
548                            assetTagNames, assetLinkEntryIds);
549            }
550    
551            /**
552            * Updates the cal event in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
553            *
554            * @param calEvent the cal event
555            * @return the cal event that was updated
556            */
557            @Override
558            public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
559                    com.liferay.portlet.calendar.model.CalEvent calEvent) {
560                    return _calEventLocalService.updateCalEvent(calEvent);
561            }
562    
563            @Override
564            public com.liferay.portlet.calendar.model.CalEvent updateEvent(
565                    long userId, long eventId, java.lang.String title,
566                    java.lang.String description, java.lang.String location,
567                    int startDateMonth, int startDateDay, int startDateYear,
568                    int startDateHour, int startDateMinute, int durationHour,
569                    int durationMinute, boolean allDay, boolean timeZoneSensitive,
570                    java.lang.String type, boolean repeating,
571                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
572                    int firstReminder, int secondReminder,
573                    com.liferay.portal.service.ServiceContext serviceContext)
574                    throws com.liferay.portal.kernel.exception.PortalException {
575                    return _calEventLocalService.updateEvent(userId, eventId, title,
576                            description, location, startDateMonth, startDateDay, startDateYear,
577                            startDateHour, startDateMinute, durationHour, durationMinute,
578                            allDay, timeZoneSensitive, type, repeating, recurrence, remindBy,
579                            firstReminder, secondReminder, serviceContext);
580            }
581    
582            /**
583            * @deprecated As of 6.2.0, replaced by {@link #updateEvent(long, long,
584            String, String, String, int, int, int, int, int, int, int,
585            boolean, boolean, String, boolean, TZSRecurrence, int, int,
586            int, ServiceContext)}
587            */
588            @Deprecated
589            @Override
590            public com.liferay.portlet.calendar.model.CalEvent updateEvent(
591                    long userId, long eventId, java.lang.String title,
592                    java.lang.String description, java.lang.String location,
593                    int startDateMonth, int startDateDay, int startDateYear,
594                    int startDateHour, int startDateMinute, int endDateMonth,
595                    int endDateDay, int endDateYear, int durationHour, int durationMinute,
596                    boolean allDay, boolean timeZoneSensitive, java.lang.String type,
597                    boolean repeating,
598                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
599                    int firstReminder, int secondReminder,
600                    com.liferay.portal.service.ServiceContext serviceContext)
601                    throws com.liferay.portal.kernel.exception.PortalException {
602                    return _calEventLocalService.updateEvent(userId, eventId, title,
603                            description, location, startDateMonth, startDateDay, startDateYear,
604                            startDateHour, startDateMinute, endDateMonth, endDateDay,
605                            endDateYear, durationHour, durationMinute, allDay,
606                            timeZoneSensitive, type, repeating, recurrence, remindBy,
607                            firstReminder, secondReminder, serviceContext);
608            }
609    
610            @Override
611            public CalEventLocalService getWrappedService() {
612                    return _calEventLocalService;
613            }
614    
615            @Override
616            public void setWrappedService(CalEventLocalService calEventLocalService) {
617                    _calEventLocalService = calEventLocalService;
618            }
619    
620            private CalEventLocalService _calEventLocalService;
621    }