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