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