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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.exception.PortalException;
020    import com.liferay.portal.kernel.exception.SystemException;
021    import com.liferay.portal.kernel.transaction.Isolation;
022    import com.liferay.portal.kernel.transaction.Propagation;
023    import com.liferay.portal.kernel.transaction.Transactional;
024    import com.liferay.portal.service.BaseLocalService;
025    import com.liferay.portal.service.PersistedModelLocalService;
026    
027    /**
028     * Provides the local service interface for CalEvent. Methods of this
029     * service will not have security checks based on the propagated JAAS
030     * credentials because this service can only be accessed from within the same
031     * VM.
032     *
033     * @author Brian Wing Shun Chan
034     * @see CalEventLocalServiceUtil
035     * @see com.liferay.portlet.calendar.service.base.CalEventLocalServiceBaseImpl
036     * @see com.liferay.portlet.calendar.service.impl.CalEventLocalServiceImpl
037     * @generated
038     */
039    @ProviderType
040    @Transactional(isolation = Isolation.PORTAL, rollbackFor =  {
041            PortalException.class, SystemException.class})
042    public interface CalEventLocalService extends BaseLocalService,
043            PersistedModelLocalService {
044            /*
045             * NOTE FOR DEVELOPERS:
046             *
047             * Never modify or reference this interface directly. Always use {@link CalEventLocalServiceUtil} to access the cal event local service. Add custom service methods to {@link com.liferay.portlet.calendar.service.impl.CalEventLocalServiceImpl} and rerun ServiceBuilder to automatically copy the method declarations to this interface.
048             */
049    
050            /**
051            * Adds the cal event to the database. Also notifies the appropriate model listeners.
052            *
053            * @param calEvent the cal event
054            * @return the cal event that was added
055            * @throws SystemException if a system exception occurred
056            */
057            public com.liferay.portlet.calendar.model.CalEvent addCalEvent(
058                    com.liferay.portlet.calendar.model.CalEvent calEvent)
059                    throws com.liferay.portal.kernel.exception.SystemException;
060    
061            /**
062            * Creates a new cal event with the primary key. Does not add the cal event to the database.
063            *
064            * @param eventId the primary key for the new cal event
065            * @return the new cal event
066            */
067            public com.liferay.portlet.calendar.model.CalEvent createCalEvent(
068                    long eventId);
069    
070            /**
071            * Deletes the cal event with the primary key from the database. Also notifies the appropriate model listeners.
072            *
073            * @param eventId the primary key of the cal event
074            * @return the cal event that was removed
075            * @throws PortalException if a cal event with the primary key could not be found
076            * @throws SystemException if a system exception occurred
077            */
078            public com.liferay.portlet.calendar.model.CalEvent deleteCalEvent(
079                    long eventId)
080                    throws com.liferay.portal.kernel.exception.PortalException,
081                            com.liferay.portal.kernel.exception.SystemException;
082    
083            /**
084            * Deletes the cal event from the database. Also notifies the appropriate model listeners.
085            *
086            * @param calEvent the cal event
087            * @return the cal event that was removed
088            * @throws SystemException if a system exception occurred
089            */
090            public com.liferay.portlet.calendar.model.CalEvent deleteCalEvent(
091                    com.liferay.portlet.calendar.model.CalEvent calEvent)
092                    throws com.liferay.portal.kernel.exception.SystemException;
093    
094            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery();
095    
096            /**
097            * Performs a dynamic query on the database and returns the matching rows.
098            *
099            * @param dynamicQuery the dynamic query
100            * @return the matching rows
101            * @throws SystemException if a system exception occurred
102            */
103            @SuppressWarnings("rawtypes")
104            public java.util.List dynamicQuery(
105                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
106                    throws com.liferay.portal.kernel.exception.SystemException;
107    
108            /**
109            * Performs a dynamic query on the database and returns a range of the matching rows.
110            *
111            * <p>
112            * 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.
113            * </p>
114            *
115            * @param dynamicQuery the dynamic query
116            * @param start the lower bound of the range of model instances
117            * @param end the upper bound of the range of model instances (not inclusive)
118            * @return the range of matching rows
119            * @throws SystemException if a system exception occurred
120            */
121            @SuppressWarnings("rawtypes")
122            public java.util.List dynamicQuery(
123                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
124                    int end) throws com.liferay.portal.kernel.exception.SystemException;
125    
126            /**
127            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
128            *
129            * <p>
130            * 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.
131            * </p>
132            *
133            * @param dynamicQuery the dynamic query
134            * @param start the lower bound of the range of model instances
135            * @param end the upper bound of the range of model instances (not inclusive)
136            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
137            * @return the ordered range of matching rows
138            * @throws SystemException if a system exception occurred
139            */
140            @SuppressWarnings("rawtypes")
141            public java.util.List dynamicQuery(
142                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
143                    int end,
144                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
145                    throws com.liferay.portal.kernel.exception.SystemException;
146    
147            /**
148            * Returns the number of rows that match the dynamic query.
149            *
150            * @param dynamicQuery the dynamic query
151            * @return the number of rows that match the dynamic query
152            * @throws SystemException if a system exception occurred
153            */
154            public long dynamicQueryCount(
155                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
156                    throws com.liferay.portal.kernel.exception.SystemException;
157    
158            /**
159            * Returns the number of rows that match the dynamic query.
160            *
161            * @param dynamicQuery the dynamic query
162            * @param projection the projection to apply to the query
163            * @return the number of rows that match the dynamic query
164            * @throws SystemException if a system exception occurred
165            */
166            public long dynamicQueryCount(
167                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
168                    com.liferay.portal.kernel.dao.orm.Projection projection)
169                    throws com.liferay.portal.kernel.exception.SystemException;
170    
171            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
172            public com.liferay.portlet.calendar.model.CalEvent fetchCalEvent(
173                    long eventId)
174                    throws com.liferay.portal.kernel.exception.SystemException;
175    
176            /**
177            * Returns the cal event with the matching UUID and company.
178            *
179            * @param uuid the cal event's UUID
180            * @param companyId the primary key of the company
181            * @return the matching cal event, or <code>null</code> if a matching cal event could not be found
182            * @throws SystemException if a system exception occurred
183            */
184            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
185            public com.liferay.portlet.calendar.model.CalEvent fetchCalEventByUuidAndCompanyId(
186                    java.lang.String uuid, long companyId)
187                    throws com.liferay.portal.kernel.exception.SystemException;
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, or <code>null</code> if a matching cal event could not be found
195            * @throws SystemException if a system exception occurred
196            */
197            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
198            public com.liferay.portlet.calendar.model.CalEvent fetchCalEventByUuidAndGroupId(
199                    java.lang.String uuid, long groupId)
200                    throws com.liferay.portal.kernel.exception.SystemException;
201    
202            /**
203            * Returns the cal event with the primary key.
204            *
205            * @param eventId the primary key of the cal event
206            * @return the cal event
207            * @throws PortalException if a cal event with the primary key could not be found
208            * @throws SystemException if a system exception occurred
209            */
210            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
211            public com.liferay.portlet.calendar.model.CalEvent getCalEvent(long eventId)
212                    throws com.liferay.portal.kernel.exception.PortalException,
213                            com.liferay.portal.kernel.exception.SystemException;
214    
215            @Override
216            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
217            public com.liferay.portal.model.PersistedModel getPersistedModel(
218                    java.io.Serializable primaryKeyObj)
219                    throws com.liferay.portal.kernel.exception.PortalException,
220                            com.liferay.portal.kernel.exception.SystemException;
221    
222            /**
223            * Returns the cal event with the matching UUID and company.
224            *
225            * @param uuid the cal event's UUID
226            * @param companyId the primary key of the company
227            * @return the matching cal event
228            * @throws PortalException if a matching cal event could not be found
229            * @throws SystemException if a system exception occurred
230            */
231            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
232            public com.liferay.portlet.calendar.model.CalEvent getCalEventByUuidAndCompanyId(
233                    java.lang.String uuid, long companyId)
234                    throws com.liferay.portal.kernel.exception.PortalException,
235                            com.liferay.portal.kernel.exception.SystemException;
236    
237            /**
238            * Returns the cal event matching the UUID and group.
239            *
240            * @param uuid the cal event's UUID
241            * @param groupId the primary key of the group
242            * @return the matching cal event
243            * @throws PortalException if a matching cal event could not be found
244            * @throws SystemException if a system exception occurred
245            */
246            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
247            public com.liferay.portlet.calendar.model.CalEvent getCalEventByUuidAndGroupId(
248                    java.lang.String uuid, long groupId)
249                    throws com.liferay.portal.kernel.exception.PortalException,
250                            com.liferay.portal.kernel.exception.SystemException;
251    
252            /**
253            * Returns a range of all the cal events.
254            *
255            * <p>
256            * 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.
257            * </p>
258            *
259            * @param start the lower bound of the range of cal events
260            * @param end the upper bound of the range of cal events (not inclusive)
261            * @return the range of cal events
262            * @throws SystemException if a system exception occurred
263            */
264            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
265            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getCalEvents(
266                    int start, int end)
267                    throws com.liferay.portal.kernel.exception.SystemException;
268    
269            /**
270            * Returns the number of cal events.
271            *
272            * @return the number of cal events
273            * @throws SystemException if a system exception occurred
274            */
275            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
276            public int getCalEventsCount()
277                    throws com.liferay.portal.kernel.exception.SystemException;
278    
279            /**
280            * Updates the cal event in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
281            *
282            * @param calEvent the cal event
283            * @return the cal event that was updated
284            * @throws SystemException if a system exception occurred
285            */
286            public com.liferay.portlet.calendar.model.CalEvent updateCalEvent(
287                    com.liferay.portlet.calendar.model.CalEvent calEvent)
288                    throws com.liferay.portal.kernel.exception.SystemException;
289    
290            /**
291            * Returns the Spring bean ID for this bean.
292            *
293            * @return the Spring bean ID for this bean
294            */
295            public java.lang.String getBeanIdentifier();
296    
297            /**
298            * Sets the Spring bean ID for this bean.
299            *
300            * @param beanIdentifier the Spring bean ID for this bean
301            */
302            public void setBeanIdentifier(java.lang.String beanIdentifier);
303    
304            public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
305                    java.lang.String title, java.lang.String description,
306                    java.lang.String location, int startDateMonth, int startDateDay,
307                    int startDateYear, int startDateHour, int startDateMinute,
308                    int durationHour, int durationMinute, boolean allDay,
309                    boolean timeZoneSensitive, java.lang.String type, boolean repeating,
310                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
311                    int firstReminder, int secondReminder,
312                    com.liferay.portal.service.ServiceContext serviceContext)
313                    throws com.liferay.portal.kernel.exception.PortalException,
314                            com.liferay.portal.kernel.exception.SystemException;
315    
316            /**
317            * @deprecated As of 6.2.0, replaced by {@link #addEvent(long, String,
318            String, String, int, int, int, int, int, int, int, boolean,
319            boolean, String, boolean, TZSRecurrence, int, int, int,
320            ServiceContext)}
321            */
322            public com.liferay.portlet.calendar.model.CalEvent addEvent(long userId,
323                    java.lang.String title, java.lang.String description,
324                    java.lang.String location, int startDateMonth, int startDateDay,
325                    int startDateYear, int startDateHour, int startDateMinute,
326                    int endDateMonth, int endDateDay, int endDateYear, int durationHour,
327                    int durationMinute, boolean allDay, boolean timeZoneSensitive,
328                    java.lang.String type, boolean repeating,
329                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
330                    int firstReminder, int secondReminder,
331                    com.liferay.portal.service.ServiceContext serviceContext)
332                    throws com.liferay.portal.kernel.exception.PortalException,
333                            com.liferay.portal.kernel.exception.SystemException;
334    
335            public void addEventResources(
336                    com.liferay.portlet.calendar.model.CalEvent event,
337                    boolean addGroupPermissions, boolean addGuestPermissions)
338                    throws com.liferay.portal.kernel.exception.PortalException,
339                            com.liferay.portal.kernel.exception.SystemException;
340    
341            public void addEventResources(
342                    com.liferay.portlet.calendar.model.CalEvent event,
343                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
344                    throws com.liferay.portal.kernel.exception.PortalException,
345                            com.liferay.portal.kernel.exception.SystemException;
346    
347            public void addEventResources(long eventId, boolean addGroupPermissions,
348                    boolean addGuestPermissions)
349                    throws com.liferay.portal.kernel.exception.PortalException,
350                            com.liferay.portal.kernel.exception.SystemException;
351    
352            public void addEventResources(long eventId,
353                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
354                    throws com.liferay.portal.kernel.exception.PortalException,
355                            com.liferay.portal.kernel.exception.SystemException;
356    
357            public void checkEvents()
358                    throws com.liferay.portal.kernel.exception.SystemException;
359    
360            public com.liferay.portlet.calendar.model.CalEvent deleteEvent(
361                    com.liferay.portlet.calendar.model.CalEvent event)
362                    throws com.liferay.portal.kernel.exception.PortalException,
363                            com.liferay.portal.kernel.exception.SystemException;
364    
365            public com.liferay.portlet.calendar.model.CalEvent deleteEvent(long eventId)
366                    throws com.liferay.portal.kernel.exception.PortalException,
367                            com.liferay.portal.kernel.exception.SystemException;
368    
369            public void deleteEvents(long groupId)
370                    throws com.liferay.portal.kernel.exception.PortalException,
371                            com.liferay.portal.kernel.exception.SystemException;
372    
373            public java.io.File exportEvent(long userId, long eventId)
374                    throws com.liferay.portal.kernel.exception.PortalException,
375                            com.liferay.portal.kernel.exception.SystemException;
376    
377            public java.io.File exportEvents(long userId,
378                    java.util.List<com.liferay.portlet.calendar.model.CalEvent> events,
379                    java.lang.String fileName)
380                    throws com.liferay.portal.kernel.exception.PortalException,
381                            com.liferay.portal.kernel.exception.SystemException;
382    
383            public java.io.File exportGroupEvents(long userId, long groupId,
384                    java.lang.String fileName)
385                    throws com.liferay.portal.kernel.exception.PortalException,
386                            com.liferay.portal.kernel.exception.SystemException;
387    
388            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
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    
393            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
394            public int getCompanyEventsCount(long companyId)
395                    throws com.liferay.portal.kernel.exception.SystemException;
396    
397            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
398            public com.liferay.portlet.calendar.model.CalEvent getEvent(long eventId)
399                    throws com.liferay.portal.kernel.exception.PortalException,
400                            com.liferay.portal.kernel.exception.SystemException;
401    
402            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
403            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
404                    long groupId, java.util.Calendar cal)
405                    throws com.liferay.portal.kernel.exception.SystemException;
406    
407            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
408            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
409                    long groupId, java.util.Calendar cal, java.lang.String type)
410                    throws com.liferay.portal.kernel.exception.SystemException;
411    
412            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
413            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
414                    long groupId, java.util.Calendar cal, java.lang.String[] types)
415                    throws com.liferay.portal.kernel.exception.SystemException;
416    
417            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
418            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
419                    long groupId, java.lang.String type, int start, int end)
420                    throws com.liferay.portal.kernel.exception.SystemException;
421    
422            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
423            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getEvents(
424                    long groupId, java.lang.String[] types, int start, int end)
425                    throws com.liferay.portal.kernel.exception.SystemException;
426    
427            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
428            public int getEventsCount(long groupId, java.lang.String type)
429                    throws com.liferay.portal.kernel.exception.SystemException;
430    
431            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
432            public int getEventsCount(long groupId, java.lang.String[] types)
433                    throws com.liferay.portal.kernel.exception.SystemException;
434    
435            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
436            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getNoAssetEvents()
437                    throws com.liferay.portal.kernel.exception.SystemException;
438    
439            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
440            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
441                    long groupId)
442                    throws com.liferay.portal.kernel.exception.SystemException;
443    
444            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
445            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> getRepeatingEvents(
446                    long groupId, java.util.Calendar cal, java.lang.String[] types)
447                    throws com.liferay.portal.kernel.exception.SystemException;
448    
449            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
450            public boolean hasEvents(long groupId, java.util.Calendar cal)
451                    throws com.liferay.portal.kernel.exception.SystemException;
452    
453            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
454            public boolean hasEvents(long groupId, java.util.Calendar cal,
455                    java.lang.String type)
456                    throws com.liferay.portal.kernel.exception.SystemException;
457    
458            @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
459            public boolean hasEvents(long groupId, java.util.Calendar cal,
460                    java.lang.String[] types)
461                    throws com.liferay.portal.kernel.exception.SystemException;
462    
463            public void importICal4j(long userId, long groupId,
464                    java.io.InputStream inputStream)
465                    throws com.liferay.portal.kernel.exception.PortalException,
466                            com.liferay.portal.kernel.exception.SystemException;
467    
468            public void updateAsset(long userId,
469                    com.liferay.portlet.calendar.model.CalEvent event,
470                    long[] assetCategoryIds, java.lang.String[] assetTagNames,
471                    long[] assetLinkEntryIds)
472                    throws com.liferay.portal.kernel.exception.PortalException,
473                            com.liferay.portal.kernel.exception.SystemException;
474    
475            public com.liferay.portlet.calendar.model.CalEvent updateEvent(
476                    long userId, long eventId, java.lang.String title,
477                    java.lang.String description, java.lang.String location,
478                    int startDateMonth, int startDateDay, int startDateYear,
479                    int startDateHour, int startDateMinute, int durationHour,
480                    int durationMinute, boolean allDay, boolean timeZoneSensitive,
481                    java.lang.String type, boolean repeating,
482                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
483                    int firstReminder, int secondReminder,
484                    com.liferay.portal.service.ServiceContext serviceContext)
485                    throws com.liferay.portal.kernel.exception.PortalException,
486                            com.liferay.portal.kernel.exception.SystemException;
487    
488            /**
489            * @deprecated As of 6.2.0, replaced by {@link #updateEvent(long, long,
490            String, String, String, int, int, int, int, int, int, int,
491            boolean, boolean, String, boolean, TZSRecurrence, int, int,
492            int, ServiceContext)}
493            */
494            public com.liferay.portlet.calendar.model.CalEvent updateEvent(
495                    long userId, long eventId, java.lang.String title,
496                    java.lang.String description, java.lang.String location,
497                    int startDateMonth, int startDateDay, int startDateYear,
498                    int startDateHour, int startDateMinute, int endDateMonth,
499                    int endDateDay, int endDateYear, int durationHour, int durationMinute,
500                    boolean allDay, boolean timeZoneSensitive, java.lang.String type,
501                    boolean repeating,
502                    com.liferay.portal.kernel.cal.TZSRecurrence recurrence, int remindBy,
503                    int firstReminder, int secondReminder,
504                    com.liferay.portal.service.ServiceContext serviceContext)
505                    throws com.liferay.portal.kernel.exception.PortalException,
506                            com.liferay.portal.kernel.exception.SystemException;
507    }