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.bookmarks.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.bookmarks.model.BookmarksEntry;
024    
025    import java.util.List;
026    
027    /**
028     * @author    Brian Wing Shun Chan
029     * @see       BookmarksEntryPersistence
030     * @see       BookmarksEntryPersistenceImpl
031     * @generated
032     */
033    public class BookmarksEntryUtil {
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(BookmarksEntry bookmarksEntry) {
045                    getPersistence().clearCache(bookmarksEntry);
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<BookmarksEntry> findWithDynamicQuery(
060                    DynamicQuery dynamicQuery) 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<BookmarksEntry> 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<BookmarksEntry> 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 BookmarksEntry remove(BookmarksEntry bookmarksEntry)
088                    throws SystemException {
089                    return getPersistence().remove(bookmarksEntry);
090            }
091    
092            /**
093             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
094             */
095            public static BookmarksEntry update(BookmarksEntry bookmarksEntry,
096                    boolean merge) throws SystemException {
097                    return getPersistence().update(bookmarksEntry, merge);
098            }
099    
100            /**
101             * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean, ServiceContext)
102             */
103            public static BookmarksEntry update(BookmarksEntry bookmarksEntry,
104                    boolean merge, ServiceContext serviceContext) throws SystemException {
105                    return getPersistence().update(bookmarksEntry, merge, serviceContext);
106            }
107    
108            public static void cacheResult(
109                    com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry) {
110                    getPersistence().cacheResult(bookmarksEntry);
111            }
112    
113            public static void cacheResult(
114                    java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> bookmarksEntries) {
115                    getPersistence().cacheResult(bookmarksEntries);
116            }
117    
118            public static com.liferay.portlet.bookmarks.model.BookmarksEntry create(
119                    long entryId) {
120                    return getPersistence().create(entryId);
121            }
122    
123            public static com.liferay.portlet.bookmarks.model.BookmarksEntry remove(
124                    long entryId)
125                    throws com.liferay.portal.kernel.exception.SystemException,
126                            com.liferay.portlet.bookmarks.NoSuchEntryException {
127                    return getPersistence().remove(entryId);
128            }
129    
130            public static com.liferay.portlet.bookmarks.model.BookmarksEntry updateImpl(
131                    com.liferay.portlet.bookmarks.model.BookmarksEntry bookmarksEntry,
132                    boolean merge)
133                    throws com.liferay.portal.kernel.exception.SystemException {
134                    return getPersistence().updateImpl(bookmarksEntry, merge);
135            }
136    
137            public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByPrimaryKey(
138                    long entryId)
139                    throws com.liferay.portal.kernel.exception.SystemException,
140                            com.liferay.portlet.bookmarks.NoSuchEntryException {
141                    return getPersistence().findByPrimaryKey(entryId);
142            }
143    
144            public static com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByPrimaryKey(
145                    long entryId)
146                    throws com.liferay.portal.kernel.exception.SystemException {
147                    return getPersistence().fetchByPrimaryKey(entryId);
148            }
149    
150            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
151                    java.lang.String uuid)
152                    throws com.liferay.portal.kernel.exception.SystemException {
153                    return getPersistence().findByUuid(uuid);
154            }
155    
156            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
157                    java.lang.String uuid, int start, int end)
158                    throws com.liferay.portal.kernel.exception.SystemException {
159                    return getPersistence().findByUuid(uuid, start, end);
160            }
161    
162            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByUuid(
163                    java.lang.String uuid, int start, int end,
164                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
165                    throws com.liferay.portal.kernel.exception.SystemException {
166                    return getPersistence().findByUuid(uuid, start, end, orderByComparator);
167            }
168    
169            public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_First(
170                    java.lang.String uuid,
171                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
172                    throws com.liferay.portal.kernel.exception.SystemException,
173                            com.liferay.portlet.bookmarks.NoSuchEntryException {
174                    return getPersistence().findByUuid_First(uuid, orderByComparator);
175            }
176    
177            public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByUuid_Last(
178                    java.lang.String uuid,
179                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180                    throws com.liferay.portal.kernel.exception.SystemException,
181                            com.liferay.portlet.bookmarks.NoSuchEntryException {
182                    return getPersistence().findByUuid_Last(uuid, orderByComparator);
183            }
184    
185            public static com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByUuid_PrevAndNext(
186                    long entryId, java.lang.String uuid,
187                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
188                    throws com.liferay.portal.kernel.exception.SystemException,
189                            com.liferay.portlet.bookmarks.NoSuchEntryException {
190                    return getPersistence()
191                                       .findByUuid_PrevAndNext(entryId, uuid, orderByComparator);
192            }
193    
194            public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByUUID_G(
195                    java.lang.String uuid, long groupId)
196                    throws com.liferay.portal.kernel.exception.SystemException,
197                            com.liferay.portlet.bookmarks.NoSuchEntryException {
198                    return getPersistence().findByUUID_G(uuid, groupId);
199            }
200    
201            public static com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G(
202                    java.lang.String uuid, long groupId)
203                    throws com.liferay.portal.kernel.exception.SystemException {
204                    return getPersistence().fetchByUUID_G(uuid, groupId);
205            }
206    
207            public static com.liferay.portlet.bookmarks.model.BookmarksEntry fetchByUUID_G(
208                    java.lang.String uuid, long groupId, boolean retrieveFromCache)
209                    throws com.liferay.portal.kernel.exception.SystemException {
210                    return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
211            }
212    
213            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId(
214                    long groupId)
215                    throws com.liferay.portal.kernel.exception.SystemException {
216                    return getPersistence().findByGroupId(groupId);
217            }
218    
219            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId(
220                    long groupId, int start, int end)
221                    throws com.liferay.portal.kernel.exception.SystemException {
222                    return getPersistence().findByGroupId(groupId, start, end);
223            }
224    
225            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByGroupId(
226                    long groupId, int start, int end,
227                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
228                    throws com.liferay.portal.kernel.exception.SystemException {
229                    return getPersistence()
230                                       .findByGroupId(groupId, start, end, orderByComparator);
231            }
232    
233            public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByGroupId_First(
234                    long groupId,
235                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
236                    throws com.liferay.portal.kernel.exception.SystemException,
237                            com.liferay.portlet.bookmarks.NoSuchEntryException {
238                    return getPersistence().findByGroupId_First(groupId, orderByComparator);
239            }
240    
241            public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByGroupId_Last(
242                    long groupId,
243                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
244                    throws com.liferay.portal.kernel.exception.SystemException,
245                            com.liferay.portlet.bookmarks.NoSuchEntryException {
246                    return getPersistence().findByGroupId_Last(groupId, orderByComparator);
247            }
248    
249            public static com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByGroupId_PrevAndNext(
250                    long entryId, long groupId,
251                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
252                    throws com.liferay.portal.kernel.exception.SystemException,
253                            com.liferay.portlet.bookmarks.NoSuchEntryException {
254                    return getPersistence()
255                                       .findByGroupId_PrevAndNext(entryId, groupId,
256                            orderByComparator);
257            }
258    
259            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId(
260                    long groupId)
261                    throws com.liferay.portal.kernel.exception.SystemException {
262                    return getPersistence().filterFindByGroupId(groupId);
263            }
264    
265            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId(
266                    long groupId, int start, int end)
267                    throws com.liferay.portal.kernel.exception.SystemException {
268                    return getPersistence().filterFindByGroupId(groupId, start, end);
269            }
270    
271            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByGroupId(
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                                       .filterFindByGroupId(groupId, start, end, orderByComparator);
277            }
278    
279            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
280                    long groupId, long userId)
281                    throws com.liferay.portal.kernel.exception.SystemException {
282                    return getPersistence().findByG_U(groupId, userId);
283            }
284    
285            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
286                    long groupId, long userId, int start, int end)
287                    throws com.liferay.portal.kernel.exception.SystemException {
288                    return getPersistence().findByG_U(groupId, userId, start, end);
289            }
290    
291            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_U(
292                    long groupId, long userId, int start, int end,
293                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
294                    throws com.liferay.portal.kernel.exception.SystemException {
295                    return getPersistence()
296                                       .findByG_U(groupId, userId, start, end, orderByComparator);
297            }
298    
299            public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_First(
300                    long groupId, long userId,
301                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
302                    throws com.liferay.portal.kernel.exception.SystemException,
303                            com.liferay.portlet.bookmarks.NoSuchEntryException {
304                    return getPersistence()
305                                       .findByG_U_First(groupId, userId, orderByComparator);
306            }
307    
308            public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_U_Last(
309                    long groupId, long userId,
310                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
311                    throws com.liferay.portal.kernel.exception.SystemException,
312                            com.liferay.portlet.bookmarks.NoSuchEntryException {
313                    return getPersistence()
314                                       .findByG_U_Last(groupId, userId, orderByComparator);
315            }
316    
317            public static com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_U_PrevAndNext(
318                    long entryId, long groupId, long userId,
319                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
320                    throws com.liferay.portal.kernel.exception.SystemException,
321                            com.liferay.portlet.bookmarks.NoSuchEntryException {
322                    return getPersistence()
323                                       .findByG_U_PrevAndNext(entryId, groupId, userId,
324                            orderByComparator);
325            }
326    
327            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U(
328                    long groupId, long userId)
329                    throws com.liferay.portal.kernel.exception.SystemException {
330                    return getPersistence().filterFindByG_U(groupId, userId);
331            }
332    
333            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U(
334                    long groupId, long userId, int start, int end)
335                    throws com.liferay.portal.kernel.exception.SystemException {
336                    return getPersistence().filterFindByG_U(groupId, userId, start, end);
337            }
338    
339            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_U(
340                    long groupId, long userId, int start, int end,
341                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
342                    throws com.liferay.portal.kernel.exception.SystemException {
343                    return getPersistence()
344                                       .filterFindByG_U(groupId, userId, start, end,
345                            orderByComparator);
346            }
347    
348            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
349                    long groupId, long folderId)
350                    throws com.liferay.portal.kernel.exception.SystemException {
351                    return getPersistence().findByG_F(groupId, folderId);
352            }
353    
354            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
355                    long groupId, long folderId, int start, int end)
356                    throws com.liferay.portal.kernel.exception.SystemException {
357                    return getPersistence().findByG_F(groupId, folderId, start, end);
358            }
359    
360            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
361                    long groupId, long folderId, int start, int end,
362                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
363                    throws com.liferay.portal.kernel.exception.SystemException {
364                    return getPersistence()
365                                       .findByG_F(groupId, folderId, start, end, orderByComparator);
366            }
367    
368            public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_First(
369                    long groupId, long folderId,
370                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
371                    throws com.liferay.portal.kernel.exception.SystemException,
372                            com.liferay.portlet.bookmarks.NoSuchEntryException {
373                    return getPersistence()
374                                       .findByG_F_First(groupId, folderId, orderByComparator);
375            }
376    
377            public static com.liferay.portlet.bookmarks.model.BookmarksEntry findByG_F_Last(
378                    long groupId, long folderId,
379                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
380                    throws com.liferay.portal.kernel.exception.SystemException,
381                            com.liferay.portlet.bookmarks.NoSuchEntryException {
382                    return getPersistence()
383                                       .findByG_F_Last(groupId, folderId, orderByComparator);
384            }
385    
386            public static com.liferay.portlet.bookmarks.model.BookmarksEntry[] findByG_F_PrevAndNext(
387                    long entryId, long groupId, long folderId,
388                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
389                    throws com.liferay.portal.kernel.exception.SystemException,
390                            com.liferay.portlet.bookmarks.NoSuchEntryException {
391                    return getPersistence()
392                                       .findByG_F_PrevAndNext(entryId, groupId, folderId,
393                            orderByComparator);
394            }
395    
396            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
397                    long groupId, long[] folderIds)
398                    throws com.liferay.portal.kernel.exception.SystemException {
399                    return getPersistence().findByG_F(groupId, folderIds);
400            }
401    
402            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
403                    long groupId, long[] folderIds, int start, int end)
404                    throws com.liferay.portal.kernel.exception.SystemException {
405                    return getPersistence().findByG_F(groupId, folderIds, start, end);
406            }
407    
408            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findByG_F(
409                    long groupId, long[] folderIds, int start, int end,
410                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
411                    throws com.liferay.portal.kernel.exception.SystemException {
412                    return getPersistence()
413                                       .findByG_F(groupId, folderIds, start, end, orderByComparator);
414            }
415    
416            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
417                    long groupId, long folderId)
418                    throws com.liferay.portal.kernel.exception.SystemException {
419                    return getPersistence().filterFindByG_F(groupId, folderId);
420            }
421    
422            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
423                    long groupId, long folderId, int start, int end)
424                    throws com.liferay.portal.kernel.exception.SystemException {
425                    return getPersistence().filterFindByG_F(groupId, folderId, start, end);
426            }
427    
428            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
429                    long groupId, long folderId, int start, int end,
430                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
431                    throws com.liferay.portal.kernel.exception.SystemException {
432                    return getPersistence()
433                                       .filterFindByG_F(groupId, folderId, start, end,
434                            orderByComparator);
435            }
436    
437            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
438                    long groupId, long[] folderIds)
439                    throws com.liferay.portal.kernel.exception.SystemException {
440                    return getPersistence().filterFindByG_F(groupId, folderIds);
441            }
442    
443            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
444                    long groupId, long[] folderIds, int start, int end)
445                    throws com.liferay.portal.kernel.exception.SystemException {
446                    return getPersistence().filterFindByG_F(groupId, folderIds, start, end);
447            }
448    
449            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> filterFindByG_F(
450                    long groupId, long[] folderIds, int start, int end,
451                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
452                    throws com.liferay.portal.kernel.exception.SystemException {
453                    return getPersistence()
454                                       .filterFindByG_F(groupId, folderIds, start, end,
455                            orderByComparator);
456            }
457    
458            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll()
459                    throws com.liferay.portal.kernel.exception.SystemException {
460                    return getPersistence().findAll();
461            }
462    
463            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(
464                    int start, int end)
465                    throws com.liferay.portal.kernel.exception.SystemException {
466                    return getPersistence().findAll(start, end);
467            }
468    
469            public static java.util.List<com.liferay.portlet.bookmarks.model.BookmarksEntry> findAll(
470                    int start, int end,
471                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
472                    throws com.liferay.portal.kernel.exception.SystemException {
473                    return getPersistence().findAll(start, end, orderByComparator);
474            }
475    
476            public static void removeByUuid(java.lang.String uuid)
477                    throws com.liferay.portal.kernel.exception.SystemException {
478                    getPersistence().removeByUuid(uuid);
479            }
480    
481            public static void removeByUUID_G(java.lang.String uuid, long groupId)
482                    throws com.liferay.portal.kernel.exception.SystemException,
483                            com.liferay.portlet.bookmarks.NoSuchEntryException {
484                    getPersistence().removeByUUID_G(uuid, groupId);
485            }
486    
487            public static void removeByGroupId(long groupId)
488                    throws com.liferay.portal.kernel.exception.SystemException {
489                    getPersistence().removeByGroupId(groupId);
490            }
491    
492            public static void removeByG_U(long groupId, long userId)
493                    throws com.liferay.portal.kernel.exception.SystemException {
494                    getPersistence().removeByG_U(groupId, userId);
495            }
496    
497            public static void removeByG_F(long groupId, long folderId)
498                    throws com.liferay.portal.kernel.exception.SystemException {
499                    getPersistence().removeByG_F(groupId, folderId);
500            }
501    
502            public static void removeAll()
503                    throws com.liferay.portal.kernel.exception.SystemException {
504                    getPersistence().removeAll();
505            }
506    
507            public static int countByUuid(java.lang.String uuid)
508                    throws com.liferay.portal.kernel.exception.SystemException {
509                    return getPersistence().countByUuid(uuid);
510            }
511    
512            public static int countByUUID_G(java.lang.String uuid, long groupId)
513                    throws com.liferay.portal.kernel.exception.SystemException {
514                    return getPersistence().countByUUID_G(uuid, groupId);
515            }
516    
517            public static int countByGroupId(long groupId)
518                    throws com.liferay.portal.kernel.exception.SystemException {
519                    return getPersistence().countByGroupId(groupId);
520            }
521    
522            public static int filterCountByGroupId(long groupId)
523                    throws com.liferay.portal.kernel.exception.SystemException {
524                    return getPersistence().filterCountByGroupId(groupId);
525            }
526    
527            public static int countByG_U(long groupId, long userId)
528                    throws com.liferay.portal.kernel.exception.SystemException {
529                    return getPersistence().countByG_U(groupId, userId);
530            }
531    
532            public static int filterCountByG_U(long groupId, long userId)
533                    throws com.liferay.portal.kernel.exception.SystemException {
534                    return getPersistence().filterCountByG_U(groupId, userId);
535            }
536    
537            public static int countByG_F(long groupId, long folderId)
538                    throws com.liferay.portal.kernel.exception.SystemException {
539                    return getPersistence().countByG_F(groupId, folderId);
540            }
541    
542            public static int countByG_F(long groupId, long[] folderIds)
543                    throws com.liferay.portal.kernel.exception.SystemException {
544                    return getPersistence().countByG_F(groupId, folderIds);
545            }
546    
547            public static int filterCountByG_F(long groupId, long folderId)
548                    throws com.liferay.portal.kernel.exception.SystemException {
549                    return getPersistence().filterCountByG_F(groupId, folderId);
550            }
551    
552            public static int filterCountByG_F(long groupId, long[] folderIds)
553                    throws com.liferay.portal.kernel.exception.SystemException {
554                    return getPersistence().filterCountByG_F(groupId, folderIds);
555            }
556    
557            public static int countAll()
558                    throws com.liferay.portal.kernel.exception.SystemException {
559                    return getPersistence().countAll();
560            }
561    
562            public static BookmarksEntryPersistence getPersistence() {
563                    if (_persistence == null) {
564                            _persistence = (BookmarksEntryPersistence)PortalBeanLocatorUtil.locate(BookmarksEntryPersistence.class.getName());
565                    }
566    
567                    return _persistence;
568            }
569    
570            public void setPersistence(BookmarksEntryPersistence persistence) {
571                    _persistence = persistence;
572            }
573    
574            private static BookmarksEntryPersistence _persistence;
575    }