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 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            /**
384            * Returns all the cal events matching the UUID and company.
385            *
386            * @param uuid the UUID of the cal events
387            * @param companyId the primary key of the company
388            * @return the matching cal events, or an empty list if no matches were found
389            */
390            @Override
391            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEventsByUuidAndCompanyId(
392                    java.lang.String uuid, long companyId) {
393                    return _calEventLocalService.getCalEventsByUuidAndCompanyId(uuid,
394                            companyId);
395            }
396    
397            /**
398            * Returns a range of cal events matching the UUID and company.
399            *
400            * @param uuid the UUID of the cal events
401            * @param companyId the primary key of the company
402            * @param start the lower bound of the range of cal events
403            * @param end the upper bound of the range of cal events (not inclusive)
404            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
405            * @return the range of matching cal events, or an empty list if no matches were found
406            */
407            @Override
408            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEventsByUuidAndCompanyId(
409                    java.lang.String uuid, long companyId, int start, int end,
410                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.calendar.model.CalEvent> orderByComparator) {
411                    return _calEventLocalService.getCalEventsByUuidAndCompanyId(uuid,
412                            companyId, start, end, orderByComparator);
413            }
414    
415            /**
416            * Returns the number of cal events.
417            *
418            * @return the number of cal events
419            */
420            @Override
421            public int getCalEventsCount() {
422                    return _calEventLocalService.getCalEventsCount();
423            }
424    
425            @Override
426            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCompanyEvents(
427                    long companyId, int start, int end) {
428                    return _calEventLocalService.getCompanyEvents(companyId, start, end);
429            }
430    
431            @Override
432            public int getCompanyEventsCount(long companyId) {
433                    return _calEventLocalService.getCompanyEventsCount(companyId);
434            }
435    
436            @Override
437            public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
438                    throws com.liferay.portal.kernel.exception.PortalException {
439                    return _calEventLocalService.getEvent(eventId);
440            }
441    
442            @Override
443            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
444                    long groupId, java.util.Calendar cal) {
445                    return _calEventLocalService.getEvents(groupId, cal);
446            }
447    
448            @Override
449            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
450                    long groupId, java.util.Calendar cal, java.lang.String type) {
451                    return _calEventLocalService.getEvents(groupId, cal, type);
452            }
453    
454            @Override
455            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
456                    long groupId, java.util.Calendar cal, java.lang.String[] types) {
457                    return _calEventLocalService.getEvents(groupId, cal, types);
458            }
459    
460            @Override
461            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
462                    long groupId, java.lang.String type, int start, int end) {
463                    return _calEventLocalService.getEvents(groupId, type, start, end);
464            }
465    
466            @Override
467            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
468                    long groupId, java.lang.String[] types, int start, int end) {
469                    return _calEventLocalService.getEvents(groupId, types, start, end);
470            }
471    
472            @Override
473            public int getEventsCount(long groupId, java.lang.String type) {
474                    return _calEventLocalService.getEventsCount(groupId, type);
475            }
476    
477            @Override
478            public int getEventsCount(long groupId, java.lang.String[] types) {
479                    return _calEventLocalService.getEventsCount(groupId, types);
480            }
481    
482            @Override
483            public com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
484                    com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) {
485                    return _calEventLocalService.getExportActionableDynamicQuery(portletDataContext);
486            }
487    
488            @Override
489            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getNoAssetEvents() {
490                    return _calEventLocalService.getNoAssetEvents();
491            }
492    
493            @Override
494            public com.liferay.portal.model.PersistedModel getPersistedModel(
495                    java.io.Serializable primaryKeyObj)
496                    throws com.liferay.portal.kernel.exception.PortalException {
497                    return _calEventLocalService.getPersistedModel(primaryKeyObj);
498            }
499    
500            @Override
501            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
502                    long groupId) {
503                    return _calEventLocalService.getRepeatingEvents(groupId);
504            }
505    
506            @Override
507            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
508                    long groupId, java.util.Calendar cal, java.lang.String[] types) {
509                    return _calEventLocalService.getRepeatingEvents(groupId, cal, types);
510            }
511    
512            @Override
513            public boolean hasEvents(long groupId, java.util.Calendar cal) {
514                    return _calEventLocalService.hasEvents(groupId, cal);
515            }
516    
517            @Override
518            public boolean hasEvents(long groupId, java.util.Calendar cal,
519                    java.lang.String type) {
520                    return _calEventLocalService.hasEvents(groupId, cal, type);
521            }
522    
523            @Override
524            public boolean hasEvents(long groupId, java.util.Calendar cal,
525                    java.lang.String[] types) {
526                    return _calEventLocalService.hasEvents(groupId, cal, types);
527            }
528    
529            @Override
530            public void importICal4j(long userId, long groupId,
531                    java.io.InputStream inputStream)
532                    throws com.liferay.portal.kernel.exception.PortalException {
533                    _calEventLocalService.importICal4j(userId, groupId, inputStream);
534            }
535    
536            /**
537            * Sets the Spring bean ID for this bean.
538            *
539            * @param beanIdentifier the Spring bean ID for this bean
540            */
541            @Override
542            public void setBeanIdentifier(java.lang.String beanIdentifier) {
543                    _calEventLocalService.setBeanIdentifier(beanIdentifier);
544            }
545    
546            @Override
547            public void updateAsset(long userId,
548                    com.liferay.portlet.calendar.model.CalEvent event,
549                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
550                    long[] assetLinkEntryIds)
551                    throws com.liferay.portal.kernel.exception.PortalException {
552                    _calEventLocalService.updateAsset(userId, event, assetCategoryIds,
553                            assetTagNames, assetLinkEntryIds);
554            }
555    
556            /**
557            * Updates the cal event in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
558            *
559            * @param calEvent the cal event
560            * @return the cal event that was updated
561            */
562            @Override
563            public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
564                    com.liferay.portlet.calendar.model.CalEvent calEvent) {
565                    return _calEventLocalService.updateCalEvent(calEvent);
566            }
567    
568            @Override
569            public com.liferay.portlet.calendar.model.CalEvent updateEvent(
570                    long userId, long eventId, java.lang.String title,
571                    java.lang.String description, java.lang.String location,
572                    int startDateMonth, int startDateDay, int startDateYear,
573                    int startDateHour, int startDateMinute, int durationHour,
574                    int durationMinute, boolean allDay, boolean timeZoneSensitive,
575                    java.lang.String type, boolean repeating,
576                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
577                    int firstReminder, int secondReminder,
578                    com.liferay.portal.service.ServiceContext serviceContext)
579                    throws com.liferay.portal.kernel.exception.PortalException {
580                    return _calEventLocalService.updateEvent(userId, eventId, title,
581                            description, location, startDateMonth, startDateDay, startDateYear,
582                            startDateHour, startDateMinute, durationHour, durationMinute,
583                            allDay, timeZoneSensitive, type, repeating, recurrence, remindBy,
584                            firstReminder, secondReminder, serviceContext);
585            }
586    
587            /**
588            * @deprecated As of 6.2.0, replaced by {@link #updateEvent(long, long,
589            String, String, String, int, int, int, int, int, int, int,
590            boolean, boolean, String, boolean, TZSRecurrence, int, int,
591            int, ServiceContext)}
592            */
593            @Deprecated
594            @Override
595            public com.liferay.portlet.calendar.model.CalEvent updateEvent(
596                    long userId, long eventId, java.lang.String title,
597                    java.lang.String description, java.lang.String location,
598                    int startDateMonth, int startDateDay, int startDateYear,
599                    int startDateHour, int startDateMinute, int endDateMonth,
600                    int endDateDay, int endDateYear, int durationHour, int durationMinute,
601                    boolean allDay, boolean timeZoneSensitive, java.lang.String type,
602                    boolean repeating,
603                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
604                    int firstReminder, int secondReminder,
605                    com.liferay.portal.service.ServiceContext serviceContext)
606                    throws com.liferay.portal.kernel.exception.PortalException {
607                    return _calEventLocalService.updateEvent(userId, eventId, title,
608                            description, location, startDateMonth, startDateDay, startDateYear,
609                            startDateHour, startDateMinute, endDateMonth, endDateDay,
610                            endDateYear, durationHour, durationMinute, allDay,
611                            timeZoneSensitive, type, repeating, recurrence, remindBy,
612                            firstReminder, secondReminder, serviceContext);
613            }
614    
615            /**
616             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
617             */
618            @Deprecated
619            public CalEventLocalService getWrappedCalEventLocalService() {
620                    return _calEventLocalService;
621            }
622    
623            /**
624             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
625             */
626            @Deprecated
627            public void setWrappedCalEventLocalService(
628                    CalEventLocalService calEventLocalService) {
629                    _calEventLocalService = calEventLocalService;
630            }
631    
632            @Override
633            public CalEventLocalService getWrappedService() {
634                    return _calEventLocalService;
635            }
636    
637            @Override
638            public void setWrappedService(CalEventLocalService calEventLocalService) {
639                    _calEventLocalService = calEventLocalService;
640            }
641    
642            private CalEventLocalService _calEventLocalService;
643    }