001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.calendar.service.persistence;
016    
017    import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
019    import com.liferay.portal.kernel.exception.SystemException;
020    import com.liferay.portal.kernel.util.OrderByComparator;
021    import com.liferay.portal.service.ServiceContext;
022    
023    import com.liferay.portlet.calendar.model.CalEvent;
024    
025    import java.util.List;
026    
027    /**
028     * @author    Brian Wing Shun Chan
029     * @see       CalEventPersistence
030     * @see       CalEventPersistenceImpl
031     * @generated
032     */
033    public class CalEventUtil {
034            /**
035             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
036             */
037            public static void clearCache() {
038                    getPersistence().clearCache();
039            }
040    
041            /**
042             * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(com.liferay.portal.model.BaseModel)
043             */
044            public static void clearCache(CalEvent calEvent) {
045                    getPersistence().clearCache(calEvent);
046            }
047    
048            /**
049             * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
050             */
051            public long countWithDynamicQuery(DynamicQuery dynamicQuery)
052                    throws SystemException {
053                    return getPersistence().countWithDynamicQuery(dynamicQuery);
054            }
055    
056            /**
057             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
058             */
059            public static List<CalEvent> findWithDynamicQuery(DynamicQuery dynamicQuery)
060                    throws SystemException {
061                    return getPersistence().findWithDynamicQuery(dynamicQuery);
062            }
063    
064            /**
065             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
066             */
067            public static List<CalEvent> findWithDynamicQuery(
068                    DynamicQuery dynamicQuery, int start, int end)
069                    throws SystemException {
070                    return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
071            }
072    
073            /**
074             * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)
075             */
076            public static List<CalEvent> findWithDynamicQuery(
077                    DynamicQuery dynamicQuery, int start, int end,
078                    OrderByComparator orderByComparator) throws SystemException {
079                    return getPersistence()
080                                       .findWithDynamicQuery(dynamicQuery, start, end,
081                            orderByComparator);
082            }
083    
084            /**
085             * @see com.liferay.portal.service.persistence.BasePersistence#remove(com.liferay.portal.model.BaseModel)
086             */
087            public static CalEvent remove(CalEvent calEvent) throws SystemException {
088                    return getPersistence().remove(calEvent);
089            }
090    
091            /**
092             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
093             */
094            public static CalEvent update(CalEvent calEvent, boolean merge)
095                    throws SystemException {
096                    return getPersistence().update(calEvent, merge);
097            }
098    
099            /**
100             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
101             */
102            public static CalEvent update(CalEvent calEvent, boolean merge,
103                    ServiceContext serviceContext) throws SystemException {
104                    return getPersistence().update(calEvent, merge, serviceContext);
105            }
106    
107            public static void cacheResult(
108                    com.liferay.portlet.calendar.model.CalEvent calEvent) {
109                    getPersistence().cacheResult(calEvent);
110            }
111    
112            public static void cacheResult(
113                    java.util.List<com.liferay.portlet.calendar.model.CalEvent> calEvents) {
114                    getPersistence().cacheResult(calEvents);
115            }
116    
117            public static com.liferay.portlet.calendar.model.CalEvent create(
118                    long eventId) {
119                    return getPersistence().create(eventId);
120            }
121    
122            public static com.liferay.portlet.calendar.model.CalEvent remove(
123                    long eventId)
124                    throws com.liferay.portal.kernel.exception.SystemException,
125                            com.liferay.portlet.calendar.NoSuchEventException {
126                    return getPersistence().remove(eventId);
127            }
128    
129            public static com.liferay.portlet.calendar.model.CalEvent updateImpl(
130                    com.liferay.portlet.calendar.model.CalEvent calEvent, boolean merge)
131                    throws com.liferay.portal.kernel.exception.SystemException {
132                    return getPersistence().updateImpl(calEvent, merge);
133            }
134    
135            public static com.liferay.portlet.calendar.model.CalEvent findByPrimaryKey(
136                    long eventId)
137                    throws com.liferay.portal.kernel.exception.SystemException,
138                            com.liferay.portlet.calendar.NoSuchEventException {
139                    return getPersistence().findByPrimaryKey(eventId);
140            }
141    
142            public static com.liferay.portlet.calendar.model.CalEvent fetchByPrimaryKey(
143                    long eventId)
144                    throws com.liferay.portal.kernel.exception.SystemException {
145                    return getPersistence().fetchByPrimaryKey(eventId);
146            }
147    
148            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByUuid(
149                    java.lang.String uuid)
150                    throws com.liferay.portal.kernel.exception.SystemException {
151                    return getPersistence().findByUuid(uuid);
152            }
153    
154            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByUuid(
155                    java.lang.String uuid, int start, int end)
156                    throws com.liferay.portal.kernel.exception.SystemException {
157                    return getPersistence().findByUuid(uuid, start, end);
158            }
159    
160            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByUuid(
161                    java.lang.String uuid, int start, int end,
162                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
163                    throws com.liferay.portal.kernel.exception.SystemException {
164                    return getPersistence().findByUuid(uuid, start, end, orderByComparator);
165            }
166    
167            public static com.liferay.portlet.calendar.model.CalEvent findByUuid_First(
168                    java.lang.String uuid,
169                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
170                    throws com.liferay.portal.kernel.exception.SystemException,
171                            com.liferay.portlet.calendar.NoSuchEventException {
172                    return getPersistence().findByUuid_First(uuid, orderByComparator);
173            }
174    
175            public static com.liferay.portlet.calendar.model.CalEvent findByUuid_Last(
176                    java.lang.String uuid,
177                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
178                    throws com.liferay.portal.kernel.exception.SystemException,
179                            com.liferay.portlet.calendar.NoSuchEventException {
180                    return getPersistence().findByUuid_Last(uuid, orderByComparator);
181            }
182    
183            public static com.liferay.portlet.calendar.model.CalEvent[] findByUuid_PrevAndNext(
184                    long eventId, 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                    return getPersistence()
189                                       .findByUuid_PrevAndNext(eventId, uuid, orderByComparator);
190            }
191    
192            public static com.liferay.portlet.calendar.model.CalEvent findByUUID_G(
193                    java.lang.String uuid, long groupId)
194                    throws com.liferay.portal.kernel.exception.SystemException,
195                            com.liferay.portlet.calendar.NoSuchEventException {
196                    return getPersistence().findByUUID_G(uuid, groupId);
197            }
198    
199            public static com.liferay.portlet.calendar.model.CalEvent fetchByUUID_G(
200                    java.lang.String uuid, long groupId)
201                    throws com.liferay.portal.kernel.exception.SystemException {
202                    return getPersistence().fetchByUUID_G(uuid, groupId);
203            }
204    
205            public static com.liferay.portlet.calendar.model.CalEvent fetchByUUID_G(
206                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
207                    throws com.liferay.portal.kernel.exception.SystemException {
208                    return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
209            }
210    
211            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByCompanyId(
212                    long companyId)
213                    throws com.liferay.portal.kernel.exception.SystemException {
214                    return getPersistence().findByCompanyId(companyId);
215            }
216    
217            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByCompanyId(
218                    long companyId, int start, int end)
219                    throws com.liferay.portal.kernel.exception.SystemException {
220                    return getPersistence().findByCompanyId(companyId, start, end);
221            }
222    
223            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByCompanyId(
224                    long companyId, int start, int end,
225                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
226                    throws com.liferay.portal.kernel.exception.SystemException {
227                    return getPersistence()
228                                       .findByCompanyId(companyId, start, end, orderByComparator);
229            }
230    
231            public static com.liferay.portlet.calendar.model.CalEvent findByCompanyId_First(
232                    long companyId,
233                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
234                    throws com.liferay.portal.kernel.exception.SystemException,
235                            com.liferay.portlet.calendar.NoSuchEventException {
236                    return getPersistence()
237                                       .findByCompanyId_First(companyId, orderByComparator);
238            }
239    
240            public static com.liferay.portlet.calendar.model.CalEvent findByCompanyId_Last(
241                    long companyId,
242                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
243                    throws com.liferay.portal.kernel.exception.SystemException,
244                            com.liferay.portlet.calendar.NoSuchEventException {
245                    return getPersistence()
246                                       .findByCompanyId_Last(companyId, orderByComparator);
247            }
248    
249            public static com.liferay.portlet.calendar.model.CalEvent[] findByCompanyId_PrevAndNext(
250                    long eventId, long companyId,
251                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
252                    throws com.liferay.portal.kernel.exception.SystemException,
253                            com.liferay.portlet.calendar.NoSuchEventException {
254                    return getPersistence()
255                                       .findByCompanyId_PrevAndNext(eventId, companyId,
256                            orderByComparator);
257            }
258    
259            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByGroupId(
260                    long groupId)
261                    throws com.liferay.portal.kernel.exception.SystemException {
262                    return getPersistence().findByGroupId(groupId);
263            }
264    
265            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByGroupId(
266                    long groupId, int start, int end)
267                    throws com.liferay.portal.kernel.exception.SystemException {
268                    return getPersistence().findByGroupId(groupId, start, end);
269            }
270    
271            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByGroupId(
272                    long groupId, int start, int end,
273                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
274                    throws com.liferay.portal.kernel.exception.SystemException {
275                    return getPersistence()
276                                       .findByGroupId(groupId, start, end, orderByComparator);
277            }
278    
279            public static com.liferay.portlet.calendar.model.CalEvent findByGroupId_First(
280                    long groupId,
281                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
282                    throws com.liferay.portal.kernel.exception.SystemException,
283                            com.liferay.portlet.calendar.NoSuchEventException {
284                    return getPersistence().findByGroupId_First(groupId, orderByComparator);
285            }
286    
287            public static com.liferay.portlet.calendar.model.CalEvent findByGroupId_Last(
288                    long groupId,
289                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
290                    throws com.liferay.portal.kernel.exception.SystemException,
291                            com.liferay.portlet.calendar.NoSuchEventException {
292                    return getPersistence().findByGroupId_Last(groupId, orderByComparator);
293            }
294    
295            public static com.liferay.portlet.calendar.model.CalEvent[] findByGroupId_PrevAndNext(
296                    long eventId, long groupId,
297                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
298                    throws com.liferay.portal.kernel.exception.SystemException,
299                            com.liferay.portlet.calendar.NoSuchEventException {
300                    return getPersistence()
301                                       .findByGroupId_PrevAndNext(eventId, groupId,
302                            orderByComparator);
303            }
304    
305            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByGroupId(
306                    long groupId)
307                    throws com.liferay.portal.kernel.exception.SystemException {
308                    return getPersistence().filterFindByGroupId(groupId);
309            }
310    
311            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByGroupId(
312                    long groupId, int start, int end)
313                    throws com.liferay.portal.kernel.exception.SystemException {
314                    return getPersistence().filterFindByGroupId(groupId, start, end);
315            }
316    
317            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByGroupId(
318                    long groupId, int start, int end,
319                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
320                    throws com.liferay.portal.kernel.exception.SystemException {
321                    return getPersistence()
322                                       .filterFindByGroupId(groupId, start, end, orderByComparator);
323            }
324    
325            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByNotRemindBy(
326                    int remindBy)
327                    throws com.liferay.portal.kernel.exception.SystemException {
328                    return getPersistence().findByNotRemindBy(remindBy);
329            }
330    
331            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByNotRemindBy(
332                    int remindBy, int start, int end)
333                    throws com.liferay.portal.kernel.exception.SystemException {
334                    return getPersistence().findByNotRemindBy(remindBy, start, end);
335            }
336    
337            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByNotRemindBy(
338                    int remindBy, int start, int end,
339                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
340                    throws com.liferay.portal.kernel.exception.SystemException {
341                    return getPersistence()
342                                       .findByNotRemindBy(remindBy, start, end, orderByComparator);
343            }
344    
345            public static com.liferay.portlet.calendar.model.CalEvent findByNotRemindBy_First(
346                    int remindBy,
347                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
348                    throws com.liferay.portal.kernel.exception.SystemException,
349                            com.liferay.portlet.calendar.NoSuchEventException {
350                    return getPersistence()
351                                       .findByNotRemindBy_First(remindBy, orderByComparator);
352            }
353    
354            public static com.liferay.portlet.calendar.model.CalEvent findByNotRemindBy_Last(
355                    int remindBy,
356                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
357                    throws com.liferay.portal.kernel.exception.SystemException,
358                            com.liferay.portlet.calendar.NoSuchEventException {
359                    return getPersistence()
360                                       .findByNotRemindBy_Last(remindBy, orderByComparator);
361            }
362    
363            public static com.liferay.portlet.calendar.model.CalEvent[] findByNotRemindBy_PrevAndNext(
364                    long eventId, int remindBy,
365                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
366                    throws com.liferay.portal.kernel.exception.SystemException,
367                            com.liferay.portlet.calendar.NoSuchEventException {
368                    return getPersistence()
369                                       .findByNotRemindBy_PrevAndNext(eventId, remindBy,
370                            orderByComparator);
371            }
372    
373            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(
374                    long groupId, java.lang.String type)
375                    throws com.liferay.portal.kernel.exception.SystemException {
376                    return getPersistence().findByG_T(groupId, type);
377            }
378    
379            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(
380                    long groupId, java.lang.String type, int start, int end)
381                    throws com.liferay.portal.kernel.exception.SystemException {
382                    return getPersistence().findByG_T(groupId, type, start, end);
383            }
384    
385            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_T(
386                    long groupId, java.lang.String type, int start, int end,
387                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
388                    throws com.liferay.portal.kernel.exception.SystemException {
389                    return getPersistence()
390                                       .findByG_T(groupId, type, start, end, orderByComparator);
391            }
392    
393            public static com.liferay.portlet.calendar.model.CalEvent findByG_T_First(
394                    long groupId, java.lang.String type,
395                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
396                    throws com.liferay.portal.kernel.exception.SystemException,
397                            com.liferay.portlet.calendar.NoSuchEventException {
398                    return getPersistence().findByG_T_First(groupId, type, orderByComparator);
399            }
400    
401            public static com.liferay.portlet.calendar.model.CalEvent findByG_T_Last(
402                    long groupId, java.lang.String type,
403                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
404                    throws com.liferay.portal.kernel.exception.SystemException,
405                            com.liferay.portlet.calendar.NoSuchEventException {
406                    return getPersistence().findByG_T_Last(groupId, type, orderByComparator);
407            }
408    
409            public static com.liferay.portlet.calendar.model.CalEvent[] findByG_T_PrevAndNext(
410                    long eventId, long groupId, java.lang.String type,
411                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
412                    throws com.liferay.portal.kernel.exception.SystemException,
413                            com.liferay.portlet.calendar.NoSuchEventException {
414                    return getPersistence()
415                                       .findByG_T_PrevAndNext(eventId, groupId, type,
416                            orderByComparator);
417            }
418    
419            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(
420                    long groupId, java.lang.String type)
421                    throws com.liferay.portal.kernel.exception.SystemException {
422                    return getPersistence().filterFindByG_T(groupId, type);
423            }
424    
425            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(
426                    long groupId, java.lang.String type, int start, int end)
427                    throws com.liferay.portal.kernel.exception.SystemException {
428                    return getPersistence().filterFindByG_T(groupId, type, start, end);
429            }
430    
431            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_T(
432                    long groupId, java.lang.String type, int start, int end,
433                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
434                    throws com.liferay.portal.kernel.exception.SystemException {
435                    return getPersistence()
436                                       .filterFindByG_T(groupId, type, start, end, orderByComparator);
437            }
438    
439            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_R(
440                    long groupId, boolean repeating)
441                    throws com.liferay.portal.kernel.exception.SystemException {
442                    return getPersistence().findByG_R(groupId, repeating);
443            }
444    
445            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_R(
446                    long groupId, boolean repeating, int start, int end)
447                    throws com.liferay.portal.kernel.exception.SystemException {
448                    return getPersistence().findByG_R(groupId, repeating, start, end);
449            }
450    
451            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findByG_R(
452                    long groupId, boolean repeating, int start, int end,
453                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
454                    throws com.liferay.portal.kernel.exception.SystemException {
455                    return getPersistence()
456                                       .findByG_R(groupId, repeating, start, end, orderByComparator);
457            }
458    
459            public static com.liferay.portlet.calendar.model.CalEvent findByG_R_First(
460                    long groupId, boolean repeating,
461                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
462                    throws com.liferay.portal.kernel.exception.SystemException,
463                            com.liferay.portlet.calendar.NoSuchEventException {
464                    return getPersistence()
465                                       .findByG_R_First(groupId, repeating, orderByComparator);
466            }
467    
468            public static com.liferay.portlet.calendar.model.CalEvent findByG_R_Last(
469                    long groupId, boolean repeating,
470                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
471                    throws com.liferay.portal.kernel.exception.SystemException,
472                            com.liferay.portlet.calendar.NoSuchEventException {
473                    return getPersistence()
474                                       .findByG_R_Last(groupId, repeating, orderByComparator);
475            }
476    
477            public static com.liferay.portlet.calendar.model.CalEvent[] findByG_R_PrevAndNext(
478                    long eventId, long groupId, boolean repeating,
479                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
480                    throws com.liferay.portal.kernel.exception.SystemException,
481                            com.liferay.portlet.calendar.NoSuchEventException {
482                    return getPersistence()
483                                       .findByG_R_PrevAndNext(eventId, groupId, repeating,
484                            orderByComparator);
485            }
486    
487            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_R(
488                    long groupId, boolean repeating)
489                    throws com.liferay.portal.kernel.exception.SystemException {
490                    return getPersistence().filterFindByG_R(groupId, repeating);
491            }
492    
493            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_R(
494                    long groupId, boolean repeating, int start, int end)
495                    throws com.liferay.portal.kernel.exception.SystemException {
496                    return getPersistence().filterFindByG_R(groupId, repeating, start, end);
497            }
498    
499            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> filterFindByG_R(
500                    long groupId, boolean repeating, int start, int end,
501                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
502                    throws com.liferay.portal.kernel.exception.SystemException {
503                    return getPersistence()
504                                       .filterFindByG_R(groupId, repeating, start, end,
505                            orderByComparator);
506            }
507    
508            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findAll()
509                    throws com.liferay.portal.kernel.exception.SystemException {
510                    return getPersistence().findAll();
511            }
512    
513            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findAll(
514                    int start, int end)
515                    throws com.liferay.portal.kernel.exception.SystemException {
516                    return getPersistence().findAll(start, end);
517            }
518    
519            public static java.util.List<com.liferay.portlet.calendar.model.CalEvent> findAll(
520                    int start, int end,
521                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
522                    throws com.liferay.portal.kernel.exception.SystemException {
523                    return getPersistence().findAll(start, end, orderByComparator);
524            }
525    
526            public static void removeByUuid(java.lang.String uuid)
527                    throws com.liferay.portal.kernel.exception.SystemException {
528                    getPersistence().removeByUuid(uuid);
529            }
530    
531            public static void removeByUUID_G(java.lang.String uuid, long groupId)
532                    throws com.liferay.portal.kernel.exception.SystemException,
533                            com.liferay.portlet.calendar.NoSuchEventException {
534                    getPersistence().removeByUUID_G(uuid, groupId);
535            }
536    
537            public static void removeByCompanyId(long companyId)
538                    throws com.liferay.portal.kernel.exception.SystemException {
539                    getPersistence().removeByCompanyId(companyId);
540            }
541    
542            public static void removeByGroupId(long groupId)
543                    throws com.liferay.portal.kernel.exception.SystemException {
544                    getPersistence().removeByGroupId(groupId);
545            }
546    
547            public static void removeByNotRemindBy(int remindBy)
548                    throws com.liferay.portal.kernel.exception.SystemException {
549                    getPersistence().removeByNotRemindBy(remindBy);
550            }
551    
552            public static void removeByG_T(long groupId, java.lang.String type)
553                    throws com.liferay.portal.kernel.exception.SystemException {
554                    getPersistence().removeByG_T(groupId, type);
555            }
556    
557            public static void removeByG_R(long groupId, boolean repeating)
558                    throws com.liferay.portal.kernel.exception.SystemException {
559                    getPersistence().removeByG_R(groupId, repeating);
560            }
561    
562            public static void removeAll()
563                    throws com.liferay.portal.kernel.exception.SystemException {
564                    getPersistence().removeAll();
565            }
566    
567            public static int countByUuid(java.lang.String uuid)
568                    throws com.liferay.portal.kernel.exception.SystemException {
569                    return getPersistence().countByUuid(uuid);
570            }
571    
572            public static int countByUUID_G(java.lang.String uuid, long groupId)
573                    throws com.liferay.portal.kernel.exception.SystemException {
574                    return getPersistence().countByUUID_G(uuid, groupId);
575            }
576    
577            public static int countByCompanyId(long companyId)
578                    throws com.liferay.portal.kernel.exception.SystemException {
579                    return getPersistence().countByCompanyId(companyId);
580            }
581    
582            public static int countByGroupId(long groupId)
583                    throws com.liferay.portal.kernel.exception.SystemException {
584                    return getPersistence().countByGroupId(groupId);
585            }
586    
587            public static int filterCountByGroupId(long groupId)
588                    throws com.liferay.portal.kernel.exception.SystemException {
589                    return getPersistence().filterCountByGroupId(groupId);
590            }
591    
592            public static int countByNotRemindBy(int remindBy)
593                    throws com.liferay.portal.kernel.exception.SystemException {
594                    return getPersistence().countByNotRemindBy(remindBy);
595            }
596    
597            public static int countByG_T(long groupId, java.lang.String type)
598                    throws com.liferay.portal.kernel.exception.SystemException {
599                    return getPersistence().countByG_T(groupId, type);
600            }
601    
602            public static int filterCountByG_T(long groupId, java.lang.String type)
603                    throws com.liferay.portal.kernel.exception.SystemException {
604                    return getPersistence().filterCountByG_T(groupId, type);
605            }
606    
607            public static int countByG_R(long groupId, boolean repeating)
608                    throws com.liferay.portal.kernel.exception.SystemException {
609                    return getPersistence().countByG_R(groupId, repeating);
610            }
611    
612            public static int filterCountByG_R(long groupId, boolean repeating)
613                    throws com.liferay.portal.kernel.exception.SystemException {
614                    return getPersistence().filterCountByG_R(groupId, repeating);
615            }
616    
617            public static int countAll()
618                    throws com.liferay.portal.kernel.exception.SystemException {
619                    return getPersistence().countAll();
620            }
621    
622            public static CalEventPersistence getPersistence() {
623                    if (_persistence == null) {
624                            _persistence = (CalEventPersistence)PortalBeanLocatorUtil.locate(CalEventPersistence.class.getName());
625                    }
626    
627                    return _persistence;
628            }
629    
630            public void setPersistence(CalEventPersistence persistence) {
631                    _persistence = persistence;
632            }
633    
634            private static CalEventPersistence _persistence;
635    }