001    /**
002     * Copyright (c) 2000-2011 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.persistence;
016    
017    import com.liferay.portal.kernel.exception.SystemException;
018    import com.liferay.portal.service.persistence.BasePersistence;
019    
020    import com.liferay.portlet.calendar.model.CalEvent;
021    
022    /**
023     * The persistence interface for the cal event service.
024     *
025     * <p>
026     * Caching information and settings can be found in <code>portal.properties</code>
027     * </p>
028     *
029     * @author Brian Wing Shun Chan
030     * @see CalEventPersistenceImpl
031     * @see CalEventUtil
032     * @generated
033     */
034    public interface CalEventPersistence extends BasePersistence<CalEvent> {
035            /*
036             * NOTE FOR DEVELOPERS:
037             *
038             * Never modify or reference this interface directly. Always use {@link CalEventUtil} to access the cal event persistence. Modify <code>service.xml</code> and rerun ServiceBuilder to regenerate this interface.
039             */
040    
041            /**
042            * Caches the cal event in the entity cache if it is enabled.
043            *
044            * @param calEvent the cal event
045            */
046            public void cacheResult(
047                    com.liferay.portlet.calendar.model.CalEvent calEvent);
048    
049            /**
050            * Caches the cal events in the entity cache if it is enabled.
051            *
052            * @param calEvents the cal events
053            */
054            public void cacheResult(
055                    java.util.List<com.liferay.portlet.calendar.model.CalEvent> calEvents);
056    
057            /**
058            * Creates a new cal event with the primary key. Does not add the cal event to the database.
059            *
060            * @param eventId the primary key for the new cal event
061            * @return the new cal event
062            */
063            public com.liferay.portlet.calendar.model.CalEvent create(long eventId);
064    
065            /**
066            * Removes the cal event with the primary key from the database. Also notifies the appropriate model listeners.
067            *
068            * @param eventId the primary key of the cal event
069            * @return the cal event that was removed
070            * @throws com.liferay.portlet.calendar.NoSuchEventException if a cal event with the primary key could not be found
071            * @throws SystemException if a system exception occurred
072            */
073            public com.liferay.portlet.calendar.model.CalEvent remove(long eventId)
074                    throws com.liferay.portal.kernel.exception.SystemException,
075                            com.liferay.portlet.calendar.NoSuchEventException;
076    
077            public com.liferay.portlet.calendar.model.CalEvent updateImpl(
078                    com.liferay.portlet.calendar.model.CalEvent calEvent, boolean merge)
079                    throws com.liferay.portal.kernel.exception.SystemException;
080    
081            /**
082            * Returns the cal event with the primary key or throws a {@link com.liferay.portlet.calendar.NoSuchEventException} if it could not be found.
083            *
084            * @param eventId the primary key of the cal event
085            * @return the cal event
086            * @throws com.liferay.portlet.calendar.NoSuchEventException if a cal event with the primary key could not be found
087            * @throws SystemException if a system exception occurred
088            */
089            public com.liferay.portlet.calendar.model.CalEvent findByPrimaryKey(
090                    long eventId)
091                    throws com.liferay.portal.kernel.exception.SystemException,
092                            com.liferay.portlet.calendar.NoSuchEventException;
093    
094            /**
095            * Returns the cal event with the primary key or returns <code>null</code> if it could not be found.
096            *
097            * @param eventId the primary key of the cal event
098            * @return the cal event, or <code>null</code> if a cal event with the primary key could not be found
099            * @throws SystemException if a system exception occurred
100            */
101            public com.liferay.portlet.calendar.model.CalEvent fetchByPrimaryKey(
102                    long eventId)
103                    throws com.liferay.portal.kernel.exception.SystemException;
104    
105            /**
106            * Returns all the cal events where uuid = &#63;.
107            *
108            * @param uuid the uuid
109            * @return the matching cal events
110            * @throws SystemException if a system exception occurred
111            */
112            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByUuid(
113                    java.lang.String uuid)
114                    throws com.liferay.portal.kernel.exception.SystemException;
115    
116            /**
117            * Returns a range of all the cal events where uuid = &#63;.
118            *
119            * <p>
120            * 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.
121            * </p>
122            *
123            * @param uuid the uuid
124            * @param start the lower bound of the range of cal events
125            * @param end the upper bound of the range of cal events (not inclusive)
126            * @return the range of matching cal events
127            * @throws SystemException if a system exception occurred
128            */
129            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByUuid(
130                    java.lang.String uuid, int start, int end)
131                    throws com.liferay.portal.kernel.exception.SystemException;
132    
133            /**
134            * Returns an ordered range of all the cal events where uuid = &#63;.
135            *
136            * <p>
137            * 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.
138            * </p>
139            *
140            * @param uuid the uuid
141            * @param start the lower bound of the range of cal events
142            * @param end the upper bound of the range of cal events (not inclusive)
143            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
144            * @return the ordered range of matching cal events
145            * @throws SystemException if a system exception occurred
146            */
147            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByUuid(
148                    java.lang.String uuid, int start, int end,
149                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150                    throws com.liferay.portal.kernel.exception.SystemException;
151    
152            /**
153            * Returns the first cal event in the ordered set where uuid = &#63;.
154            *
155            * <p>
156            * 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.
157            * </p>
158            *
159            * @param uuid the uuid
160            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
161            * @return the first matching cal event
162            * @throws com.liferay.portlet.calendar.NoSuchEventException if a matching cal event could not be found
163            * @throws SystemException if a system exception occurred
164            */
165            public com.liferay.portlet.calendar.model.CalEvent findByUuid_First(
166                    java.lang.String uuid,
167                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
168                    throws com.liferay.portal.kernel.exception.SystemException,
169                            com.liferay.portlet.calendar.NoSuchEventException;
170    
171            /**
172            * Returns the last cal event in the ordered set where uuid = &#63;.
173            *
174            * <p>
175            * 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.
176            * </p>
177            *
178            * @param uuid the uuid
179            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
180            * @return the last matching cal event
181            * @throws com.liferay.portlet.calendar.NoSuchEventException if a matching cal event could not be found
182            * @throws SystemException if a system exception occurred
183            */
184            public com.liferay.portlet.calendar.model.CalEvent findByUuid_Last(
185                    java.lang.String uuid,
186                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
187                    throws com.liferay.portal.kernel.exception.SystemException,
188                            com.liferay.portlet.calendar.NoSuchEventException;
189    
190            /**
191            * Returns the cal events before and after the current cal event in the ordered set where uuid = &#63;.
192            *
193            * <p>
194            * 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.
195            * </p>
196            *
197            * @param eventId the primary key of the current cal event
198            * @param uuid the uuid
199            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
200            * @return the previous, current, and next cal event
201            * @throws com.liferay.portlet.calendar.NoSuchEventException if a cal event with the primary key could not be found
202            * @throws SystemException if a system exception occurred
203            */
204            public com.liferay.portlet.calendar.model.CalEvent[] findByUuid_PrevAndNext(
205                    long eventId, java.lang.String uuid,
206                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
207                    throws com.liferay.portal.kernel.exception.SystemException,
208                            com.liferay.portlet.calendar.NoSuchEventException;
209    
210            /**
211            * Returns the cal event where uuid = &#63; and groupId = &#63; or throws a {@link com.liferay.portlet.calendar.NoSuchEventException} if it could not be found.
212            *
213            * @param uuid the uuid
214            * @param groupId the group ID
215            * @return the matching cal event
216            * @throws com.liferay.portlet.calendar.NoSuchEventException if a matching cal event could not be found
217            * @throws SystemException if a system exception occurred
218            */
219            public com.liferay.portlet.calendar.model.CalEvent findByUUID_G(
220                    java.lang.String uuid, long groupId)
221                    throws com.liferay.portal.kernel.exception.SystemException,
222                            com.liferay.portlet.calendar.NoSuchEventException;
223    
224            /**
225            * Returns the cal event where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found. Uses the finder cache.
226            *
227            * @param uuid the uuid
228            * @param groupId the group ID
229            * @return the matching cal event, or <code>null</code> if a matching cal event could not be found
230            * @throws SystemException if a system exception occurred
231            */
232            public com.liferay.portlet.calendar.model.CalEvent fetchByUUID_G(
233                    java.lang.String uuid, long groupId)
234                    throws com.liferay.portal.kernel.exception.SystemException;
235    
236            /**
237            * Returns the cal event where uuid = &#63; and groupId = &#63; or returns <code>null</code> if it could not be found, optionally using the finder cache.
238            *
239            * @param uuid the uuid
240            * @param groupId the group ID
241            * @param retrieveFromCache whether to use the finder cache
242            * @return the matching cal event, or <code>null</code> if a matching cal event could not be found
243            * @throws SystemException if a system exception occurred
244            */
245            public com.liferay.portlet.calendar.model.CalEvent fetchByUUID_G(
246                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
247                    throws com.liferay.portal.kernel.exception.SystemException;
248    
249            /**
250            * Returns all the cal events where companyId = &#63;.
251            *
252            * @param companyId the company ID
253            * @return the matching cal events
254            * @throws SystemException if a system exception occurred
255            */
256            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByCompanyId(
257                    long companyId)
258                    throws com.liferay.portal.kernel.exception.SystemException;
259    
260            /**
261            * Returns a range of all the cal events where companyId = &#63;.
262            *
263            * <p>
264            * 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.
265            * </p>
266            *
267            * @param companyId the company ID
268            * @param start the lower bound of the range of cal events
269            * @param end the upper bound of the range of cal events (not inclusive)
270            * @return the range of matching cal events
271            * @throws SystemException if a system exception occurred
272            */
273            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByCompanyId(
274                    long companyId, int start, int end)
275                    throws com.liferay.portal.kernel.exception.SystemException;
276    
277            /**
278            * Returns an ordered range of all the cal events where companyId = &#63;.
279            *
280            * <p>
281            * 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.
282            * </p>
283            *
284            * @param companyId the company ID
285            * @param start the lower bound of the range of cal events
286            * @param end the upper bound of the range of cal events (not inclusive)
287            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
288            * @return the ordered range of matching cal events
289            * @throws SystemException if a system exception occurred
290            */
291            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByCompanyId(
292                    long companyId, int start, int end,
293                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
294                    throws com.liferay.portal.kernel.exception.SystemException;
295    
296            /**
297            * Returns the first cal event in the ordered set where companyId = &#63;.
298            *
299            * <p>
300            * 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.
301            * </p>
302            *
303            * @param companyId the company ID
304            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
305            * @return the first matching cal event
306            * @throws com.liferay.portlet.calendar.NoSuchEventException if a matching cal event could not be found
307            * @throws SystemException if a system exception occurred
308            */
309            public com.liferay.portlet.calendar.model.CalEvent findByCompanyId_First(
310                    long companyId,
311                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
312                    throws com.liferay.portal.kernel.exception.SystemException,
313                            com.liferay.portlet.calendar.NoSuchEventException;
314    
315            /**
316            * Returns the last cal event in the ordered set where companyId = &#63;.
317            *
318            * <p>
319            * 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.
320            * </p>
321            *
322            * @param companyId the company ID
323            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
324            * @return the last matching cal event
325            * @throws com.liferay.portlet.calendar.NoSuchEventException if a matching cal event could not be found
326            * @throws SystemException if a system exception occurred
327            */
328            public com.liferay.portlet.calendar.model.CalEvent findByCompanyId_Last(
329                    long companyId,
330                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
331                    throws com.liferay.portal.kernel.exception.SystemException,
332                            com.liferay.portlet.calendar.NoSuchEventException;
333    
334            /**
335            * Returns the cal events before and after the current cal event in the ordered set where companyId = &#63;.
336            *
337            * <p>
338            * 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.
339            * </p>
340            *
341            * @param eventId the primary key of the current cal event
342            * @param companyId the company ID
343            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
344            * @return the previous, current, and next cal event
345            * @throws com.liferay.portlet.calendar.NoSuchEventException if a cal event with the primary key could not be found
346            * @throws SystemException if a system exception occurred
347            */
348            public com.liferay.portlet.calendar.model.CalEvent[] findByCompanyId_PrevAndNext(
349                    long eventId, long companyId,
350                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
351                    throws com.liferay.portal.kernel.exception.SystemException,
352                            com.liferay.portlet.calendar.NoSuchEventException;
353    
354            /**
355            * Returns all the cal events where groupId = &#63;.
356            *
357            * @param groupId the group ID
358            * @return the matching cal events
359            * @throws SystemException if a system exception occurred
360            */
361            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByGroupId(
362                    long groupId)
363                    throws com.liferay.portal.kernel.exception.SystemException;
364    
365            /**
366            * Returns a range of all the cal events where groupId = &#63;.
367            *
368            * <p>
369            * 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.
370            * </p>
371            *
372            * @param groupId the group ID
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 matching cal events
376            * @throws SystemException if a system exception occurred
377            */
378            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByGroupId(
379                    long groupId, int start, int end)
380                    throws com.liferay.portal.kernel.exception.SystemException;
381    
382            /**
383            * Returns an ordered range of all the cal events where groupId = &#63;.
384            *
385            * <p>
386            * 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.
387            * </p>
388            *
389            * @param groupId the group ID
390            * @param start the lower bound of the range of cal events
391            * @param end the upper bound of the range of cal events (not inclusive)
392            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
393            * @return the ordered range of matching cal events
394            * @throws SystemException if a system exception occurred
395            */
396            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByGroupId(
397                    long groupId, int start, int end,
398                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
399                    throws com.liferay.portal.kernel.exception.SystemException;
400    
401            /**
402            * Returns the first cal event in the ordered set where groupId = &#63;.
403            *
404            * <p>
405            * 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.
406            * </p>
407            *
408            * @param groupId the group ID
409            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
410            * @return the first matching cal event
411            * @throws com.liferay.portlet.calendar.NoSuchEventException if a matching cal event could not be found
412            * @throws SystemException if a system exception occurred
413            */
414            public com.liferay.portlet.calendar.model.CalEvent findByGroupId_First(
415                    long groupId,
416                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
417                    throws com.liferay.portal.kernel.exception.SystemException,
418                            com.liferay.portlet.calendar.NoSuchEventException;
419    
420            /**
421            * Returns the last cal event in the ordered set where groupId = &#63;.
422            *
423            * <p>
424            * 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.
425            * </p>
426            *
427            * @param groupId the group ID
428            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
429            * @return the last matching cal event
430            * @throws com.liferay.portlet.calendar.NoSuchEventException if a matching cal event could not be found
431            * @throws SystemException if a system exception occurred
432            */
433            public com.liferay.portlet.calendar.model.CalEvent findByGroupId_Last(
434                    long groupId,
435                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
436                    throws com.liferay.portal.kernel.exception.SystemException,
437                            com.liferay.portlet.calendar.NoSuchEventException;
438    
439            /**
440            * Returns the cal events before and after the current cal event in the ordered set where groupId = &#63;.
441            *
442            * <p>
443            * 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.
444            * </p>
445            *
446            * @param eventId the primary key of the current cal event
447            * @param groupId the group ID
448            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
449            * @return the previous, current, and next cal event
450            * @throws com.liferay.portlet.calendar.NoSuchEventException if a cal event with the primary key could not be found
451            * @throws SystemException if a system exception occurred
452            */
453            public com.liferay.portlet.calendar.model.CalEvent[] findByGroupId_PrevAndNext(
454                    long eventId, long groupId,
455                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
456                    throws com.liferay.portal.kernel.exception.SystemException,
457                            com.liferay.portlet.calendar.NoSuchEventException;
458    
459            /**
460            * Returns all the cal events that the user has permission to view where groupId = &#63;.
461            *
462            * @param groupId the group ID
463            * @return the matching cal events that the user has permission to view
464            * @throws SystemException if a system exception occurred
465            */
466            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByGroupId(
467                    long groupId)
468                    throws com.liferay.portal.kernel.exception.SystemException;
469    
470            /**
471            * Returns a range of all the cal events that the user has permission to view where groupId = &#63;.
472            *
473            * <p>
474            * 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.
475            * </p>
476            *
477            * @param groupId the group ID
478            * @param start the lower bound of the range of cal events
479            * @param end the upper bound of the range of cal events (not inclusive)
480            * @return the range of matching cal events that the user has permission to view
481            * @throws SystemException if a system exception occurred
482            */
483            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByGroupId(
484                    long groupId, int start, int end)
485                    throws com.liferay.portal.kernel.exception.SystemException;
486    
487            /**
488            * Returns an ordered range of all the cal events that the user has permissions to view where groupId = &#63;.
489            *
490            * <p>
491            * 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.
492            * </p>
493            *
494            * @param groupId the group ID
495            * @param start the lower bound of the range of cal events
496            * @param end the upper bound of the range of cal events (not inclusive)
497            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
498            * @return the ordered range of matching cal events that the user has permission to view
499            * @throws SystemException if a system exception occurred
500            */
501            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByGroupId(
502                    long groupId, int start, int end,
503                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
504                    throws com.liferay.portal.kernel.exception.SystemException;
505    
506            /**
507            * Returns the cal events before and after the current cal event in the ordered set of cal events that the user has permission to view where groupId = &#63;.
508            *
509            * @param eventId the primary key of the current cal event
510            * @param groupId the group ID
511            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
512            * @return the previous, current, and next cal event
513            * @throws com.liferay.portlet.calendar.NoSuchEventException if a cal event with the primary key could not be found
514            * @throws SystemException if a system exception occurred
515            */
516            public com.liferay.portlet.calendar.model.CalEvent[] filterFindByGroupId_PrevAndNext(
517                    long eventId, long groupId,
518                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
519                    throws com.liferay.portal.kernel.exception.SystemException,
520                            com.liferay.portlet.calendar.NoSuchEventException;
521    
522            /**
523            * Returns all the cal events where remindBy &ne; &#63;.
524            *
525            * @param remindBy the remind by
526            * @return the matching cal events
527            * @throws SystemException if a system exception occurred
528            */
529            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByNotRemindBy(
530                    int remindBy)
531                    throws com.liferay.portal.kernel.exception.SystemException;
532    
533            /**
534            * Returns a range of all the cal events where remindBy &ne; &#63;.
535            *
536            * <p>
537            * 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.
538            * </p>
539            *
540            * @param remindBy the remind by
541            * @param start the lower bound of the range of cal events
542            * @param end the upper bound of the range of cal events (not inclusive)
543            * @return the range of matching cal events
544            * @throws SystemException if a system exception occurred
545            */
546            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByNotRemindBy(
547                    int remindBy, int start, int end)
548                    throws com.liferay.portal.kernel.exception.SystemException;
549    
550            /**
551            * Returns an ordered range of all the cal events where remindBy &ne; &#63;.
552            *
553            * <p>
554            * 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.
555            * </p>
556            *
557            * @param remindBy the remind by
558            * @param start the lower bound of the range of cal events
559            * @param end the upper bound of the range of cal events (not inclusive)
560            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
561            * @return the ordered range of matching cal events
562            * @throws SystemException if a system exception occurred
563            */
564            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByNotRemindBy(
565                    int remindBy, int start, int end,
566                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
567                    throws com.liferay.portal.kernel.exception.SystemException;
568    
569            /**
570            * Returns the first cal event in the ordered set where remindBy &ne; &#63;.
571            *
572            * <p>
573            * 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.
574            * </p>
575            *
576            * @param remindBy the remind by
577            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
578            * @return the first matching cal event
579            * @throws com.liferay.portlet.calendar.NoSuchEventException if a matching cal event could not be found
580            * @throws SystemException if a system exception occurred
581            */
582            public com.liferay.portlet.calendar.model.CalEvent findByNotRemindBy_First(
583                    int remindBy,
584                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
585                    throws com.liferay.portal.kernel.exception.SystemException,
586                            com.liferay.portlet.calendar.NoSuchEventException;
587    
588            /**
589            * Returns the last cal event in the ordered set where remindBy &ne; &#63;.
590            *
591            * <p>
592            * 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.
593            * </p>
594            *
595            * @param remindBy the remind by
596            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
597            * @return the last matching cal event
598            * @throws com.liferay.portlet.calendar.NoSuchEventException if a matching cal event could not be found
599            * @throws SystemException if a system exception occurred
600            */
601            public com.liferay.portlet.calendar.model.CalEvent findByNotRemindBy_Last(
602                    int remindBy,
603                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
604                    throws com.liferay.portal.kernel.exception.SystemException,
605                            com.liferay.portlet.calendar.NoSuchEventException;
606    
607            /**
608            * Returns the cal events before and after the current cal event in the ordered set where remindBy &ne; &#63;.
609            *
610            * <p>
611            * 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.
612            * </p>
613            *
614            * @param eventId the primary key of the current cal event
615            * @param remindBy the remind by
616            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
617            * @return the previous, current, and next cal event
618            * @throws com.liferay.portlet.calendar.NoSuchEventException if a cal event with the primary key could not be found
619            * @throws SystemException if a system exception occurred
620            */
621            public com.liferay.portlet.calendar.model.CalEvent[] findByNotRemindBy_PrevAndNext(
622                    long eventId, int remindBy,
623                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
624                    throws com.liferay.portal.kernel.exception.SystemException,
625                            com.liferay.portlet.calendar.NoSuchEventException;
626    
627            /**
628            * Returns all the cal events where groupId = &#63; and type = &#63;.
629            *
630            * @param groupId the group ID
631            * @param type the type
632            * @return the matching cal events
633            * @throws SystemException if a system exception occurred
634            */
635            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(
636                    long groupId, java.lang.String type)
637                    throws com.liferay.portal.kernel.exception.SystemException;
638    
639            /**
640            * Returns a range of all the cal events where groupId = &#63; and type = &#63;.
641            *
642            * <p>
643            * 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.
644            * </p>
645            *
646            * @param groupId the group ID
647            * @param type the type
648            * @param start the lower bound of the range of cal events
649            * @param end the upper bound of the range of cal events (not inclusive)
650            * @return the range of matching cal events
651            * @throws SystemException if a system exception occurred
652            */
653            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(
654                    long groupId, java.lang.String type, int start, int end)
655                    throws com.liferay.portal.kernel.exception.SystemException;
656    
657            /**
658            * Returns an ordered range of all the cal events where groupId = &#63; and type = &#63;.
659            *
660            * <p>
661            * 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.
662            * </p>
663            *
664            * @param groupId the group ID
665            * @param type the type
666            * @param start the lower bound of the range of cal events
667            * @param end the upper bound of the range of cal events (not inclusive)
668            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
669            * @return the ordered range of matching cal events
670            * @throws SystemException if a system exception occurred
671            */
672            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(
673                    long groupId, java.lang.String type, int start, int end,
674                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
675                    throws com.liferay.portal.kernel.exception.SystemException;
676    
677            /**
678            * Returns the first cal event in the ordered set where groupId = &#63; and type = &#63;.
679            *
680            * <p>
681            * 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.
682            * </p>
683            *
684            * @param groupId the group ID
685            * @param type the type
686            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
687            * @return the first matching cal event
688            * @throws com.liferay.portlet.calendar.NoSuchEventException if a matching cal event could not be found
689            * @throws SystemException if a system exception occurred
690            */
691            public com.liferay.portlet.calendar.model.CalEvent findByG_T_First(
692                    long groupId, java.lang.String type,
693                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
694                    throws com.liferay.portal.kernel.exception.SystemException,
695                            com.liferay.portlet.calendar.NoSuchEventException;
696    
697            /**
698            * Returns the last cal event in the ordered set where groupId = &#63; and type = &#63;.
699            *
700            * <p>
701            * 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.
702            * </p>
703            *
704            * @param groupId the group ID
705            * @param type the type
706            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
707            * @return the last matching cal event
708            * @throws com.liferay.portlet.calendar.NoSuchEventException if a matching cal event could not be found
709            * @throws SystemException if a system exception occurred
710            */
711            public com.liferay.portlet.calendar.model.CalEvent findByG_T_Last(
712                    long groupId, java.lang.String type,
713                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
714                    throws com.liferay.portal.kernel.exception.SystemException,
715                            com.liferay.portlet.calendar.NoSuchEventException;
716    
717            /**
718            * Returns the cal events before and after the current cal event in the ordered set where groupId = &#63; and type = &#63;.
719            *
720            * <p>
721            * 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.
722            * </p>
723            *
724            * @param eventId the primary key of the current cal event
725            * @param groupId the group ID
726            * @param type the type
727            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
728            * @return the previous, current, and next cal event
729            * @throws com.liferay.portlet.calendar.NoSuchEventException if a cal event with the primary key could not be found
730            * @throws SystemException if a system exception occurred
731            */
732            public com.liferay.portlet.calendar.model.CalEvent[] findByG_T_PrevAndNext(
733                    long eventId, long groupId, java.lang.String type,
734                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
735                    throws com.liferay.portal.kernel.exception.SystemException,
736                            com.liferay.portlet.calendar.NoSuchEventException;
737    
738            /**
739            * Returns all the cal events where groupId = &#63; and type = any &#63;.
740            *
741            * <p>
742            * 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.
743            * </p>
744            *
745            * @param groupId the group ID
746            * @param types the types
747            * @return the matching cal events
748            * @throws SystemException if a system exception occurred
749            */
750            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(
751                    long groupId, java.lang.String[] types)
752                    throws com.liferay.portal.kernel.exception.SystemException;
753    
754            /**
755            * Returns a range of all the cal events where groupId = &#63; and type = any &#63;.
756            *
757            * <p>
758            * 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.
759            * </p>
760            *
761            * @param groupId the group ID
762            * @param types the types
763            * @param start the lower bound of the range of cal events
764            * @param end the upper bound of the range of cal events (not inclusive)
765            * @return the range of matching cal events
766            * @throws SystemException if a system exception occurred
767            */
768            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(
769                    long groupId, java.lang.String[] types, int start, int end)
770                    throws com.liferay.portal.kernel.exception.SystemException;
771    
772            /**
773            * Returns an ordered range of all the cal events where groupId = &#63; and type = any &#63;.
774            *
775            * <p>
776            * 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.
777            * </p>
778            *
779            * @param groupId the group ID
780            * @param types the types
781            * @param start the lower bound of the range of cal events
782            * @param end the upper bound of the range of cal events (not inclusive)
783            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
784            * @return the ordered range of matching cal events
785            * @throws SystemException if a system exception occurred
786            */
787            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(
788                    long groupId, java.lang.String[] types, int start, int end,
789                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
790                    throws com.liferay.portal.kernel.exception.SystemException;
791    
792            /**
793            * Returns all the cal events that the user has permission to view where groupId = &#63; and type = &#63;.
794            *
795            * @param groupId the group ID
796            * @param type the type
797            * @return the matching cal events that the user has permission to view
798            * @throws SystemException if a system exception occurred
799            */
800            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(
801                    long groupId, java.lang.String type)
802                    throws com.liferay.portal.kernel.exception.SystemException;
803    
804            /**
805            * Returns a range of all the cal events that the user has permission to view where groupId = &#63; and type = &#63;.
806            *
807            * <p>
808            * 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.
809            * </p>
810            *
811            * @param groupId the group ID
812            * @param type the type
813            * @param start the lower bound of the range of cal events
814            * @param end the upper bound of the range of cal events (not inclusive)
815            * @return the range of matching cal events that the user has permission to view
816            * @throws SystemException if a system exception occurred
817            */
818            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(
819                    long groupId, java.lang.String type, int start, int end)
820                    throws com.liferay.portal.kernel.exception.SystemException;
821    
822            /**
823            * Returns an ordered range of all the cal events that the user has permissions to view where groupId = &#63; and type = &#63;.
824            *
825            * <p>
826            * 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.
827            * </p>
828            *
829            * @param groupId the group ID
830            * @param type the type
831            * @param start the lower bound of the range of cal events
832            * @param end the upper bound of the range of cal events (not inclusive)
833            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
834            * @return the ordered range of matching cal events that the user has permission to view
835            * @throws SystemException if a system exception occurred
836            */
837            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(
838                    long groupId, java.lang.String type, int start, int end,
839                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
840                    throws com.liferay.portal.kernel.exception.SystemException;
841    
842            /**
843            * Returns the cal events before and after the current cal event in the ordered set of cal events that the user has permission to view where groupId = &#63; and type = &#63;.
844            *
845            * @param eventId the primary key of the current cal event
846            * @param groupId the group ID
847            * @param type the type
848            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
849            * @return the previous, current, and next cal event
850            * @throws com.liferay.portlet.calendar.NoSuchEventException if a cal event with the primary key could not be found
851            * @throws SystemException if a system exception occurred
852            */
853            public com.liferay.portlet.calendar.model.CalEvent[] filterFindByG_T_PrevAndNext(
854                    long eventId, long groupId, java.lang.String type,
855                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
856                    throws com.liferay.portal.kernel.exception.SystemException,
857                            com.liferay.portlet.calendar.NoSuchEventException;
858    
859            /**
860            * Returns all the cal events that the user has permission to view where groupId = &#63; and type = any &#63;.
861            *
862            * @param groupId the group ID
863            * @param types the types
864            * @return the matching cal events that the user has permission to view
865            * @throws SystemException if a system exception occurred
866            */
867            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(
868                    long groupId, java.lang.String[] types)
869                    throws com.liferay.portal.kernel.exception.SystemException;
870    
871            /**
872            * Returns a range of all the cal events that the user has permission to view where groupId = &#63; and type = any &#63;.
873            *
874            * <p>
875            * 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.
876            * </p>
877            *
878            * @param groupId the group ID
879            * @param types the types
880            * @param start the lower bound of the range of cal events
881            * @param end the upper bound of the range of cal events (not inclusive)
882            * @return the range of matching cal events that the user has permission to view
883            * @throws SystemException if a system exception occurred
884            */
885            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(
886                    long groupId, java.lang.String[] types, int start, int end)
887                    throws com.liferay.portal.kernel.exception.SystemException;
888    
889            /**
890            * Returns an ordered range of all the cal events that the user has permission to view where groupId = &#63; and type = any &#63;.
891            *
892            * <p>
893            * 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.
894            * </p>
895            *
896            * @param groupId the group ID
897            * @param types the types
898            * @param start the lower bound of the range of cal events
899            * @param end the upper bound of the range of cal events (not inclusive)
900            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
901            * @return the ordered range of matching cal events that the user has permission to view
902            * @throws SystemException if a system exception occurred
903            */
904            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(
905                    long groupId, java.lang.String[] types, int start, int end,
906                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
907                    throws com.liferay.portal.kernel.exception.SystemException;
908    
909            /**
910            * Returns all the cal events where groupId = &#63; and repeating = &#63;.
911            *
912            * @param groupId the group ID
913            * @param repeating the repeating
914            * @return the matching cal events
915            * @throws SystemException if a system exception occurred
916            */
917            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_R(
918                    long groupId, boolean repeating)
919                    throws com.liferay.portal.kernel.exception.SystemException;
920    
921            /**
922            * Returns a range of all the cal events where groupId = &#63; and repeating = &#63;.
923            *
924            * <p>
925            * 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.
926            * </p>
927            *
928            * @param groupId the group ID
929            * @param repeating the repeating
930            * @param start the lower bound of the range of cal events
931            * @param end the upper bound of the range of cal events (not inclusive)
932            * @return the range of matching cal events
933            * @throws SystemException if a system exception occurred
934            */
935            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_R(
936                    long groupId, boolean repeating, int start, int end)
937                    throws com.liferay.portal.kernel.exception.SystemException;
938    
939            /**
940            * Returns an ordered range of all the cal events where groupId = &#63; and repeating = &#63;.
941            *
942            * <p>
943            * 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.
944            * </p>
945            *
946            * @param groupId the group ID
947            * @param repeating the repeating
948            * @param start the lower bound of the range of cal events
949            * @param end the upper bound of the range of cal events (not inclusive)
950            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
951            * @return the ordered range of matching cal events
952            * @throws SystemException if a system exception occurred
953            */
954            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_R(
955                    long groupId, boolean repeating, int start, int end,
956                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
957                    throws com.liferay.portal.kernel.exception.SystemException;
958    
959            /**
960            * Returns the first cal event in the ordered set where groupId = &#63; and repeating = &#63;.
961            *
962            * <p>
963            * 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.
964            * </p>
965            *
966            * @param groupId the group ID
967            * @param repeating the repeating
968            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
969            * @return the first matching cal event
970            * @throws com.liferay.portlet.calendar.NoSuchEventException if a matching cal event could not be found
971            * @throws SystemException if a system exception occurred
972            */
973            public com.liferay.portlet.calendar.model.CalEvent findByG_R_First(
974                    long groupId, boolean repeating,
975                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
976                    throws com.liferay.portal.kernel.exception.SystemException,
977                            com.liferay.portlet.calendar.NoSuchEventException;
978    
979            /**
980            * Returns the last cal event in the ordered set where groupId = &#63; and repeating = &#63;.
981            *
982            * <p>
983            * 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.
984            * </p>
985            *
986            * @param groupId the group ID
987            * @param repeating the repeating
988            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
989            * @return the last matching cal event
990            * @throws com.liferay.portlet.calendar.NoSuchEventException if a matching cal event could not be found
991            * @throws SystemException if a system exception occurred
992            */
993            public com.liferay.portlet.calendar.model.CalEvent findByG_R_Last(
994                    long groupId, boolean repeating,
995                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
996                    throws com.liferay.portal.kernel.exception.SystemException,
997                            com.liferay.portlet.calendar.NoSuchEventException;
998    
999            /**
1000            * Returns the cal events before and after the current cal event in the ordered set where groupId = &#63; and repeating = &#63;.
1001            *
1002            * <p>
1003            * 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.
1004            * </p>
1005            *
1006            * @param eventId the primary key of the current cal event
1007            * @param groupId the group ID
1008            * @param repeating the repeating
1009            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1010            * @return the previous, current, and next cal event
1011            * @throws com.liferay.portlet.calendar.NoSuchEventException if a cal event with the primary key could not be found
1012            * @throws SystemException if a system exception occurred
1013            */
1014            public com.liferay.portlet.calendar.model.CalEvent[] findByG_R_PrevAndNext(
1015                    long eventId, long groupId, boolean repeating,
1016                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1017                    throws com.liferay.portal.kernel.exception.SystemException,
1018                            com.liferay.portlet.calendar.NoSuchEventException;
1019    
1020            /**
1021            * Returns all the cal events that the user has permission to view where groupId = &#63; and repeating = &#63;.
1022            *
1023            * @param groupId the group ID
1024            * @param repeating the repeating
1025            * @return the matching cal events that the user has permission to view
1026            * @throws SystemException if a system exception occurred
1027            */
1028            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_R(
1029                    long groupId, boolean repeating)
1030                    throws com.liferay.portal.kernel.exception.SystemException;
1031    
1032            /**
1033            * Returns a range of all the cal events that the user has permission to view where groupId = &#63; and repeating = &#63;.
1034            *
1035            * <p>
1036            * 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.
1037            * </p>
1038            *
1039            * @param groupId the group ID
1040            * @param repeating the repeating
1041            * @param start the lower bound of the range of cal events
1042            * @param end the upper bound of the range of cal events (not inclusive)
1043            * @return the range of matching cal events that the user has permission to view
1044            * @throws SystemException if a system exception occurred
1045            */
1046            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_R(
1047                    long groupId, boolean repeating, int start, int end)
1048                    throws com.liferay.portal.kernel.exception.SystemException;
1049    
1050            /**
1051            * Returns an ordered range of all the cal events that the user has permissions to view where groupId = &#63; and repeating = &#63;.
1052            *
1053            * <p>
1054            * 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.
1055            * </p>
1056            *
1057            * @param groupId the group ID
1058            * @param repeating the repeating
1059            * @param start the lower bound of the range of cal events
1060            * @param end the upper bound of the range of cal events (not inclusive)
1061            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1062            * @return the ordered range of matching cal events that the user has permission to view
1063            * @throws SystemException if a system exception occurred
1064            */
1065            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_R(
1066                    long groupId, boolean repeating, int start, int end,
1067                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1068                    throws com.liferay.portal.kernel.exception.SystemException;
1069    
1070            /**
1071            * Returns the cal events before and after the current cal event in the ordered set of cal events that the user has permission to view where groupId = &#63; and repeating = &#63;.
1072            *
1073            * @param eventId the primary key of the current cal event
1074            * @param groupId the group ID
1075            * @param repeating the repeating
1076            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1077            * @return the previous, current, and next cal event
1078            * @throws com.liferay.portlet.calendar.NoSuchEventException if a cal event with the primary key could not be found
1079            * @throws SystemException if a system exception occurred
1080            */
1081            public com.liferay.portlet.calendar.model.CalEvent[] filterFindByG_R_PrevAndNext(
1082                    long eventId, long groupId, boolean repeating,
1083                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1084                    throws com.liferay.portal.kernel.exception.SystemException,
1085                            com.liferay.portlet.calendar.NoSuchEventException;
1086    
1087            /**
1088            * Returns all the cal events where groupId = &#63; and type = &#63; and repeating = &#63;.
1089            *
1090            * @param groupId the group ID
1091            * @param type the type
1092            * @param repeating the repeating
1093            * @return the matching cal events
1094            * @throws SystemException if a system exception occurred
1095            */
1096            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T_R(
1097                    long groupId, java.lang.String type, boolean repeating)
1098                    throws com.liferay.portal.kernel.exception.SystemException;
1099    
1100            /**
1101            * Returns a range of all the cal events where groupId = &#63; and type = &#63; and repeating = &#63;.
1102            *
1103            * <p>
1104            * 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.
1105            * </p>
1106            *
1107            * @param groupId the group ID
1108            * @param type the type
1109            * @param repeating the repeating
1110            * @param start the lower bound of the range of cal events
1111            * @param end the upper bound of the range of cal events (not inclusive)
1112            * @return the range of matching cal events
1113            * @throws SystemException if a system exception occurred
1114            */
1115            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T_R(
1116                    long groupId, java.lang.String type, boolean repeating, int start,
1117                    int end) throws com.liferay.portal.kernel.exception.SystemException;
1118    
1119            /**
1120            * Returns an ordered range of all the cal events where groupId = &#63; and type = &#63; and repeating = &#63;.
1121            *
1122            * <p>
1123            * 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.
1124            * </p>
1125            *
1126            * @param groupId the group ID
1127            * @param type the type
1128            * @param repeating the repeating
1129            * @param start the lower bound of the range of cal events
1130            * @param end the upper bound of the range of cal events (not inclusive)
1131            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1132            * @return the ordered range of matching cal events
1133            * @throws SystemException if a system exception occurred
1134            */
1135            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T_R(
1136                    long groupId, java.lang.String type, boolean repeating, int start,
1137                    int end,
1138                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1139                    throws com.liferay.portal.kernel.exception.SystemException;
1140    
1141            /**
1142            * Returns the first cal event in the ordered set where groupId = &#63; and type = &#63; and repeating = &#63;.
1143            *
1144            * <p>
1145            * 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.
1146            * </p>
1147            *
1148            * @param groupId the group ID
1149            * @param type the type
1150            * @param repeating the repeating
1151            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1152            * @return the first matching cal event
1153            * @throws com.liferay.portlet.calendar.NoSuchEventException if a matching cal event could not be found
1154            * @throws SystemException if a system exception occurred
1155            */
1156            public com.liferay.portlet.calendar.model.CalEvent findByG_T_R_First(
1157                    long groupId, java.lang.String type, boolean repeating,
1158                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1159                    throws com.liferay.portal.kernel.exception.SystemException,
1160                            com.liferay.portlet.calendar.NoSuchEventException;
1161    
1162            /**
1163            * Returns the last cal event in the ordered set where groupId = &#63; and type = &#63; and repeating = &#63;.
1164            *
1165            * <p>
1166            * 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.
1167            * </p>
1168            *
1169            * @param groupId the group ID
1170            * @param type the type
1171            * @param repeating the repeating
1172            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1173            * @return the last matching cal event
1174            * @throws com.liferay.portlet.calendar.NoSuchEventException if a matching cal event could not be found
1175            * @throws SystemException if a system exception occurred
1176            */
1177            public com.liferay.portlet.calendar.model.CalEvent findByG_T_R_Last(
1178                    long groupId, java.lang.String type, boolean repeating,
1179                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1180                    throws com.liferay.portal.kernel.exception.SystemException,
1181                            com.liferay.portlet.calendar.NoSuchEventException;
1182    
1183            /**
1184            * Returns the cal events before and after the current cal event in the ordered set where groupId = &#63; and type = &#63; and repeating = &#63;.
1185            *
1186            * <p>
1187            * 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.
1188            * </p>
1189            *
1190            * @param eventId the primary key of the current cal event
1191            * @param groupId the group ID
1192            * @param type the type
1193            * @param repeating the repeating
1194            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1195            * @return the previous, current, and next cal event
1196            * @throws com.liferay.portlet.calendar.NoSuchEventException if a cal event with the primary key could not be found
1197            * @throws SystemException if a system exception occurred
1198            */
1199            public com.liferay.portlet.calendar.model.CalEvent[] findByG_T_R_PrevAndNext(
1200                    long eventId, long groupId, java.lang.String type, boolean repeating,
1201                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1202                    throws com.liferay.portal.kernel.exception.SystemException,
1203                            com.liferay.portlet.calendar.NoSuchEventException;
1204    
1205            /**
1206            * Returns all the cal events where groupId = &#63; and type = any &#63; and repeating = &#63;.
1207            *
1208            * <p>
1209            * 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.
1210            * </p>
1211            *
1212            * @param groupId the group ID
1213            * @param types the types
1214            * @param repeating the repeating
1215            * @return the matching cal events
1216            * @throws SystemException if a system exception occurred
1217            */
1218            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T_R(
1219                    long groupId, java.lang.String[] types, boolean repeating)
1220                    throws com.liferay.portal.kernel.exception.SystemException;
1221    
1222            /**
1223            * Returns a range of all the cal events where groupId = &#63; and type = any &#63; and repeating = &#63;.
1224            *
1225            * <p>
1226            * 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.
1227            * </p>
1228            *
1229            * @param groupId the group ID
1230            * @param types the types
1231            * @param repeating the repeating
1232            * @param start the lower bound of the range of cal events
1233            * @param end the upper bound of the range of cal events (not inclusive)
1234            * @return the range of matching cal events
1235            * @throws SystemException if a system exception occurred
1236            */
1237            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T_R(
1238                    long groupId, java.lang.String[] types, boolean repeating, int start,
1239                    int end) throws com.liferay.portal.kernel.exception.SystemException;
1240    
1241            /**
1242            * Returns an ordered range of all the cal events where groupId = &#63; and type = any &#63; and repeating = &#63;.
1243            *
1244            * <p>
1245            * 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.
1246            * </p>
1247            *
1248            * @param groupId the group ID
1249            * @param types the types
1250            * @param repeating the repeating
1251            * @param start the lower bound of the range of cal events
1252            * @param end the upper bound of the range of cal events (not inclusive)
1253            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1254            * @return the ordered range of matching cal events
1255            * @throws SystemException if a system exception occurred
1256            */
1257            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T_R(
1258                    long groupId, java.lang.String[] types, boolean repeating, int start,
1259                    int end,
1260                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1261                    throws com.liferay.portal.kernel.exception.SystemException;
1262    
1263            /**
1264            * Returns all the cal events that the user has permission to view where groupId = &#63; and type = &#63; and repeating = &#63;.
1265            *
1266            * @param groupId the group ID
1267            * @param type the type
1268            * @param repeating the repeating
1269            * @return the matching cal events that the user has permission to view
1270            * @throws SystemException if a system exception occurred
1271            */
1272            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T_R(
1273                    long groupId, java.lang.String type, boolean repeating)
1274                    throws com.liferay.portal.kernel.exception.SystemException;
1275    
1276            /**
1277            * Returns a range of all the cal events that the user has permission to view where groupId = &#63; and type = &#63; and repeating = &#63;.
1278            *
1279            * <p>
1280            * 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.
1281            * </p>
1282            *
1283            * @param groupId the group ID
1284            * @param type the type
1285            * @param repeating the repeating
1286            * @param start the lower bound of the range of cal events
1287            * @param end the upper bound of the range of cal events (not inclusive)
1288            * @return the range of matching cal events that the user has permission to view
1289            * @throws SystemException if a system exception occurred
1290            */
1291            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T_R(
1292                    long groupId, java.lang.String type, boolean repeating, int start,
1293                    int end) throws com.liferay.portal.kernel.exception.SystemException;
1294    
1295            /**
1296            * Returns an ordered range of all the cal events that the user has permissions to view where groupId = &#63; and type = &#63; and repeating = &#63;.
1297            *
1298            * <p>
1299            * 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.
1300            * </p>
1301            *
1302            * @param groupId the group ID
1303            * @param type the type
1304            * @param repeating the repeating
1305            * @param start the lower bound of the range of cal events
1306            * @param end the upper bound of the range of cal events (not inclusive)
1307            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1308            * @return the ordered range of matching cal events that the user has permission to view
1309            * @throws SystemException if a system exception occurred
1310            */
1311            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T_R(
1312                    long groupId, java.lang.String type, boolean repeating, int start,
1313                    int end,
1314                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1315                    throws com.liferay.portal.kernel.exception.SystemException;
1316    
1317            /**
1318            * Returns the cal events before and after the current cal event in the ordered set of cal events that the user has permission to view where groupId = &#63; and type = &#63; and repeating = &#63;.
1319            *
1320            * @param eventId the primary key of the current cal event
1321            * @param groupId the group ID
1322            * @param type the type
1323            * @param repeating the repeating
1324            * @param orderByComparator the comparator to order the set by (optionally <code>null</code>)
1325            * @return the previous, current, and next cal event
1326            * @throws com.liferay.portlet.calendar.NoSuchEventException if a cal event with the primary key could not be found
1327            * @throws SystemException if a system exception occurred
1328            */
1329            public com.liferay.portlet.calendar.model.CalEvent[] filterFindByG_T_R_PrevAndNext(
1330                    long eventId, long groupId, java.lang.String type, boolean repeating,
1331                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1332                    throws com.liferay.portal.kernel.exception.SystemException,
1333                            com.liferay.portlet.calendar.NoSuchEventException;
1334    
1335            /**
1336            * Returns all the cal events that the user has permission to view where groupId = &#63; and type = any &#63; and repeating = &#63;.
1337            *
1338            * @param groupId the group ID
1339            * @param types the types
1340            * @param repeating the repeating
1341            * @return the matching cal events that the user has permission to view
1342            * @throws SystemException if a system exception occurred
1343            */
1344            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T_R(
1345                    long groupId, java.lang.String[] types, boolean repeating)
1346                    throws com.liferay.portal.kernel.exception.SystemException;
1347    
1348            /**
1349            * Returns a range of all the cal events that the user has permission to view where groupId = &#63; and type = any &#63; and repeating = &#63;.
1350            *
1351            * <p>
1352            * 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.
1353            * </p>
1354            *
1355            * @param groupId the group ID
1356            * @param types the types
1357            * @param repeating the repeating
1358            * @param start the lower bound of the range of cal events
1359            * @param end the upper bound of the range of cal events (not inclusive)
1360            * @return the range of matching cal events that the user has permission to view
1361            * @throws SystemException if a system exception occurred
1362            */
1363            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T_R(
1364                    long groupId, java.lang.String[] types, boolean repeating, int start,
1365                    int end) throws com.liferay.portal.kernel.exception.SystemException;
1366    
1367            /**
1368            * Returns an ordered range of all the cal events that the user has permission to view where groupId = &#63; and type = any &#63; and repeating = &#63;.
1369            *
1370            * <p>
1371            * 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.
1372            * </p>
1373            *
1374            * @param groupId the group ID
1375            * @param types the types
1376            * @param repeating the repeating
1377            * @param start the lower bound of the range of cal events
1378            * @param end the upper bound of the range of cal events (not inclusive)
1379            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1380            * @return the ordered range of matching cal events that the user has permission to view
1381            * @throws SystemException if a system exception occurred
1382            */
1383            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T_R(
1384                    long groupId, java.lang.String[] types, boolean repeating, int start,
1385                    int end,
1386                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1387                    throws com.liferay.portal.kernel.exception.SystemException;
1388    
1389            /**
1390            * Returns all the cal events.
1391            *
1392            * @return the cal events
1393            * @throws SystemException if a system exception occurred
1394            */
1395            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findAll()
1396                    throws com.liferay.portal.kernel.exception.SystemException;
1397    
1398            /**
1399            * Returns a range of all the cal events.
1400            *
1401            * <p>
1402            * 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.
1403            * </p>
1404            *
1405            * @param start the lower bound of the range of cal events
1406            * @param end the upper bound of the range of cal events (not inclusive)
1407            * @return the range of cal events
1408            * @throws SystemException if a system exception occurred
1409            */
1410            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findAll(
1411                    int start, int end)
1412                    throws com.liferay.portal.kernel.exception.SystemException;
1413    
1414            /**
1415            * Returns an ordered range of all the cal events.
1416            *
1417            * <p>
1418            * 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.
1419            * </p>
1420            *
1421            * @param start the lower bound of the range of cal events
1422            * @param end the upper bound of the range of cal events (not inclusive)
1423            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
1424            * @return the ordered range of cal events
1425            * @throws SystemException if a system exception occurred
1426            */
1427            public java.util.List<com.liferay.portlet.calendar.model.CalEvent> findAll(
1428                    int start, int end,
1429                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
1430                    throws com.liferay.portal.kernel.exception.SystemException;
1431    
1432            /**
1433            * Removes all the cal events where uuid = &#63; from the database.
1434            *
1435            * @param uuid the uuid
1436            * @throws SystemException if a system exception occurred
1437            */
1438            public void removeByUuid(java.lang.String uuid)
1439                    throws com.liferay.portal.kernel.exception.SystemException;
1440    
1441            /**
1442            * Removes the cal event where uuid = &#63; and groupId = &#63; from the database.
1443            *
1444            * @param uuid the uuid
1445            * @param groupId the group ID
1446            * @throws SystemException if a system exception occurred
1447            */
1448            public void removeByUUID_G(java.lang.String uuid, long groupId)
1449                    throws com.liferay.portal.kernel.exception.SystemException,
1450                            com.liferay.portlet.calendar.NoSuchEventException;
1451    
1452            /**
1453            * Removes all the cal events where companyId = &#63; from the database.
1454            *
1455            * @param companyId the company ID
1456            * @throws SystemException if a system exception occurred
1457            */
1458            public void removeByCompanyId(long companyId)
1459                    throws com.liferay.portal.kernel.exception.SystemException;
1460    
1461            /**
1462            * Removes all the cal events where groupId = &#63; from the database.
1463            *
1464            * @param groupId the group ID
1465            * @throws SystemException if a system exception occurred
1466            */
1467            public void removeByGroupId(long groupId)
1468                    throws com.liferay.portal.kernel.exception.SystemException;
1469    
1470            /**
1471            * Removes all the cal events where remindBy &ne; &#63; from the database.
1472            *
1473            * @param remindBy the remind by
1474            * @throws SystemException if a system exception occurred
1475            */
1476            public void removeByNotRemindBy(int remindBy)
1477                    throws com.liferay.portal.kernel.exception.SystemException;
1478    
1479            /**
1480            * Removes all the cal events where groupId = &#63; and type = &#63; from the database.
1481            *
1482            * @param groupId the group ID
1483            * @param type the type
1484            * @throws SystemException if a system exception occurred
1485            */
1486            public void removeByG_T(long groupId, java.lang.String type)
1487                    throws com.liferay.portal.kernel.exception.SystemException;
1488    
1489            /**
1490            * Removes all the cal events where groupId = &#63; and repeating = &#63; from the database.
1491            *
1492            * @param groupId the group ID
1493            * @param repeating the repeating
1494            * @throws SystemException if a system exception occurred
1495            */
1496            public void removeByG_R(long groupId, boolean repeating)
1497                    throws com.liferay.portal.kernel.exception.SystemException;
1498    
1499            /**
1500            * Removes all the cal events where groupId = &#63; and type = &#63; and repeating = &#63; from the database.
1501            *
1502            * @param groupId the group ID
1503            * @param type the type
1504            * @param repeating the repeating
1505            * @throws SystemException if a system exception occurred
1506            */
1507            public void removeByG_T_R(long groupId, java.lang.String type,
1508                    boolean repeating)
1509                    throws com.liferay.portal.kernel.exception.SystemException;
1510    
1511            /**
1512            * Removes all the cal events from the database.
1513            *
1514            * @throws SystemException if a system exception occurred
1515            */
1516            public void removeAll()
1517                    throws com.liferay.portal.kernel.exception.SystemException;
1518    
1519            /**
1520            * Returns the number of cal events where uuid = &#63;.
1521            *
1522            * @param uuid the uuid
1523            * @return the number of matching cal events
1524            * @throws SystemException if a system exception occurred
1525            */
1526            public int countByUuid(java.lang.String uuid)
1527                    throws com.liferay.portal.kernel.exception.SystemException;
1528    
1529            /**
1530            * Returns the number of cal events where uuid = &#63; and groupId = &#63;.
1531            *
1532            * @param uuid the uuid
1533            * @param groupId the group ID
1534            * @return the number of matching cal events
1535            * @throws SystemException if a system exception occurred
1536            */
1537            public int countByUUID_G(java.lang.String uuid, long groupId)
1538                    throws com.liferay.portal.kernel.exception.SystemException;
1539    
1540            /**
1541            * Returns the number of cal events where companyId = &#63;.
1542            *
1543            * @param companyId the company ID
1544            * @return the number of matching cal events
1545            * @throws SystemException if a system exception occurred
1546            */
1547            public int countByCompanyId(long companyId)
1548                    throws com.liferay.portal.kernel.exception.SystemException;
1549    
1550            /**
1551            * Returns the number of cal events where groupId = &#63;.
1552            *
1553            * @param groupId the group ID
1554            * @return the number of matching cal events
1555            * @throws SystemException if a system exception occurred
1556            */
1557            public int countByGroupId(long groupId)
1558                    throws com.liferay.portal.kernel.exception.SystemException;
1559    
1560            /**
1561            * Returns the number of cal events that the user has permission to view where groupId = &#63;.
1562            *
1563            * @param groupId the group ID
1564            * @return the number of matching cal events that the user has permission to view
1565            * @throws SystemException if a system exception occurred
1566            */
1567            public int filterCountByGroupId(long groupId)
1568                    throws com.liferay.portal.kernel.exception.SystemException;
1569    
1570            /**
1571            * Returns the number of cal events where remindBy &ne; &#63;.
1572            *
1573            * @param remindBy the remind by
1574            * @return the number of matching cal events
1575            * @throws SystemException if a system exception occurred
1576            */
1577            public int countByNotRemindBy(int remindBy)
1578                    throws com.liferay.portal.kernel.exception.SystemException;
1579    
1580            /**
1581            * Returns the number of cal events where groupId = &#63; and type = &#63;.
1582            *
1583            * @param groupId the group ID
1584            * @param type the type
1585            * @return the number of matching cal events
1586            * @throws SystemException if a system exception occurred
1587            */
1588            public int countByG_T(long groupId, java.lang.String type)
1589                    throws com.liferay.portal.kernel.exception.SystemException;
1590    
1591            /**
1592            * Returns the number of cal events where groupId = &#63; and type = any &#63;.
1593            *
1594            * @param groupId the group ID
1595            * @param types the types
1596            * @return the number of matching cal events
1597            * @throws SystemException if a system exception occurred
1598            */
1599            public int countByG_T(long groupId, java.lang.String[] types)
1600                    throws com.liferay.portal.kernel.exception.SystemException;
1601    
1602            /**
1603            * Returns the number of cal events that the user has permission to view where groupId = &#63; and type = &#63;.
1604            *
1605            * @param groupId the group ID
1606            * @param type the type
1607            * @return the number of matching cal events that the user has permission to view
1608            * @throws SystemException if a system exception occurred
1609            */
1610            public int filterCountByG_T(long groupId, java.lang.String type)
1611                    throws com.liferay.portal.kernel.exception.SystemException;
1612    
1613            /**
1614            * Returns the number of cal events that the user has permission to view where groupId = &#63; and type = any &#63;.
1615            *
1616            * @param groupId the group ID
1617            * @param types the types
1618            * @return the number of matching cal events that the user has permission to view
1619            * @throws SystemException if a system exception occurred
1620            */
1621            public int filterCountByG_T(long groupId, java.lang.String[] types)
1622                    throws com.liferay.portal.kernel.exception.SystemException;
1623    
1624            /**
1625            * Returns the number of cal events where groupId = &#63; and repeating = &#63;.
1626            *
1627            * @param groupId the group ID
1628            * @param repeating the repeating
1629            * @return the number of matching cal events
1630            * @throws SystemException if a system exception occurred
1631            */
1632            public int countByG_R(long groupId, boolean repeating)
1633                    throws com.liferay.portal.kernel.exception.SystemException;
1634    
1635            /**
1636            * Returns the number of cal events that the user has permission to view where groupId = &#63; and repeating = &#63;.
1637            *
1638            * @param groupId the group ID
1639            * @param repeating the repeating
1640            * @return the number of matching cal events that the user has permission to view
1641            * @throws SystemException if a system exception occurred
1642            */
1643            public int filterCountByG_R(long groupId, boolean repeating)
1644                    throws com.liferay.portal.kernel.exception.SystemException;
1645    
1646            /**
1647            * Returns the number of cal events where groupId = &#63; and type = &#63; and repeating = &#63;.
1648            *
1649            * @param groupId the group ID
1650            * @param type the type
1651            * @param repeating the repeating
1652            * @return the number of matching cal events
1653            * @throws SystemException if a system exception occurred
1654            */
1655            public int countByG_T_R(long groupId, java.lang.String type,
1656                    boolean repeating)
1657                    throws com.liferay.portal.kernel.exception.SystemException;
1658    
1659            /**
1660            * Returns the number of cal events where groupId = &#63; and type = any &#63; and repeating = &#63;.
1661            *
1662            * @param groupId the group ID
1663            * @param types the types
1664            * @param repeating the repeating
1665            * @return the number of matching cal events
1666            * @throws SystemException if a system exception occurred
1667            */
1668            public int countByG_T_R(long groupId, java.lang.String[] types,
1669                    boolean repeating)
1670                    throws com.liferay.portal.kernel.exception.SystemException;
1671    
1672            /**
1673            * Returns the number of cal events that the user has permission to view where groupId = &#63; and type = &#63; and repeating = &#63;.
1674            *
1675            * @param groupId the group ID
1676            * @param type the type
1677            * @param repeating the repeating
1678            * @return the number of matching cal events that the user has permission to view
1679            * @throws SystemException if a system exception occurred
1680            */
1681            public int filterCountByG_T_R(long groupId, java.lang.String type,
1682                    boolean repeating)
1683                    throws com.liferay.portal.kernel.exception.SystemException;
1684    
1685            /**
1686            * Returns the number of cal events that the user has permission to view where groupId = &#63; and type = any &#63; and repeating = &#63;.
1687            *
1688            * @param groupId the group ID
1689            * @param types the types
1690            * @param repeating the repeating
1691            * @return the number of matching cal events that the user has permission to view
1692            * @throws SystemException if a system exception occurred
1693            */
1694            public int filterCountByG_T_R(long groupId, java.lang.String[] types,
1695                    boolean repeating)
1696                    throws com.liferay.portal.kernel.exception.SystemException;
1697    
1698            /**
1699            * Returns the number of cal events.
1700            *
1701            * @return the number of cal events
1702            * @throws SystemException if a system exception occurred
1703            */
1704            public int countAll()
1705                    throws com.liferay.portal.kernel.exception.SystemException;
1706    
1707            public CalEvent remove(CalEvent calEvent) throws SystemException;
1708    }