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