1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.blogs.service.persistence;
16  
17  import com.liferay.portal.SystemException;
18  import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
19  import com.liferay.portal.kernel.dao.orm.DynamicQuery;
20  import com.liferay.portal.kernel.util.ReferenceRegistry;
21  
22  import com.liferay.portlet.blogs.model.BlogsEntry;
23  
24  import java.util.List;
25  
26  /**
27   * <a href="BlogsEntryUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * @author    Brian Wing Shun Chan
35   * @see       BlogsEntryPersistence
36   * @see       BlogsEntryPersistenceImpl
37   * @generated
38   */
39  public class BlogsEntryUtil {
40      /**
41       * @see com.liferay.portal.service.persistence.BasePersistence#clearCache()
42       */
43      public static void clearCache() {
44          getPersistence().clearCache();
45      }
46  
47      /**
48       * @see com.liferay.portal.service.persistence.BasePersistence#clearCache(BlogsEntry)
49       */
50      public static void clearCache(BlogsEntry blogsEntry) {
51          getPersistence().clearCache(blogsEntry);
52      }
53  
54      /**
55       * @see com.liferay.portal.service.persistence.BasePersistence#countWithDynamicQuery(DynamicQuery)
56       */
57      public int countWithDynamicQuery(DynamicQuery dynamicQuery)
58          throws SystemException {
59          return getPersistence().countWithDynamicQuery(dynamicQuery);
60      }
61  
62      /**
63       * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery)
64       */
65      public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery)
66          throws SystemException {
67          return getPersistence().findWithDynamicQuery(dynamicQuery);
68      }
69  
70      /**
71       * @see com.liferay.portal.service.persistence.BasePersistence#findWithDynamicQuery(DynamicQuery, int, int)
72       */
73      public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery,
74          int start, int end) throws SystemException {
75          return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
76      }
77  
78      /**
79       * @see com.liferay.portal.service.persistence.BasePersistence#remove(com.liferay.portal.model.BaseModel)
80       */
81      public static BlogsEntry remove(BlogsEntry blogsEntry)
82          throws SystemException {
83          return getPersistence().remove(blogsEntry);
84      }
85  
86      /**
87       * @see com.liferay.portal.service.persistence.BasePersistence#update(com.liferay.portal.model.BaseModel, boolean)
88       */
89      public static BlogsEntry update(BlogsEntry blogsEntry, boolean merge)
90          throws SystemException {
91          return getPersistence().update(blogsEntry, merge);
92      }
93  
94      public static void cacheResult(
95          com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
96          getPersistence().cacheResult(blogsEntry);
97      }
98  
99      public static void cacheResult(
100         java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> blogsEntries) {
101         getPersistence().cacheResult(blogsEntries);
102     }
103 
104     public static com.liferay.portlet.blogs.model.BlogsEntry create(
105         long entryId) {
106         return getPersistence().create(entryId);
107     }
108 
109     public static com.liferay.portlet.blogs.model.BlogsEntry remove(
110         long entryId)
111         throws com.liferay.portal.SystemException,
112             com.liferay.portlet.blogs.NoSuchEntryException {
113         return getPersistence().remove(entryId);
114     }
115 
116     /**
117      * @deprecated Use {@link com.liferay.portal.service.persistence.BasePersistence.#update(com.liferay.portal.model.BaseModel, boolean)}.
118      */
119     public static com.liferay.portlet.blogs.model.BlogsEntry update(
120         com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
121         throws com.liferay.portal.SystemException {
122         return getPersistence().update(blogsEntry);
123     }
124 
125     public static com.liferay.portlet.blogs.model.BlogsEntry updateImpl(
126         com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
127         throws com.liferay.portal.SystemException {
128         return getPersistence().updateImpl(blogsEntry, merge);
129     }
130 
131     public static com.liferay.portlet.blogs.model.BlogsEntry findByPrimaryKey(
132         long entryId)
133         throws com.liferay.portal.SystemException,
134             com.liferay.portlet.blogs.NoSuchEntryException {
135         return getPersistence().findByPrimaryKey(entryId);
136     }
137 
138     public static com.liferay.portlet.blogs.model.BlogsEntry fetchByPrimaryKey(
139         long entryId) throws com.liferay.portal.SystemException {
140         return getPersistence().fetchByPrimaryKey(entryId);
141     }
142 
143     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
144         java.lang.String uuid) throws com.liferay.portal.SystemException {
145         return getPersistence().findByUuid(uuid);
146     }
147 
148     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
149         java.lang.String uuid, int start, int end)
150         throws com.liferay.portal.SystemException {
151         return getPersistence().findByUuid(uuid, start, end);
152     }
153 
154     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
155         java.lang.String uuid, int start, int end,
156         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
157         throws com.liferay.portal.SystemException {
158         return getPersistence().findByUuid(uuid, start, end, orderByComparator);
159     }
160 
161     public static com.liferay.portlet.blogs.model.BlogsEntry findByUuid_First(
162         java.lang.String uuid,
163         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
164         throws com.liferay.portal.SystemException,
165             com.liferay.portlet.blogs.NoSuchEntryException {
166         return getPersistence().findByUuid_First(uuid, orderByComparator);
167     }
168 
169     public static com.liferay.portlet.blogs.model.BlogsEntry findByUuid_Last(
170         java.lang.String uuid,
171         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
172         throws com.liferay.portal.SystemException,
173             com.liferay.portlet.blogs.NoSuchEntryException {
174         return getPersistence().findByUuid_Last(uuid, orderByComparator);
175     }
176 
177     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByUuid_PrevAndNext(
178         long entryId, java.lang.String uuid,
179         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180         throws com.liferay.portal.SystemException,
181             com.liferay.portlet.blogs.NoSuchEntryException {
182         return getPersistence()
183                    .findByUuid_PrevAndNext(entryId, uuid, orderByComparator);
184     }
185 
186     public static com.liferay.portlet.blogs.model.BlogsEntry findByUUID_G(
187         java.lang.String uuid, long groupId)
188         throws com.liferay.portal.SystemException,
189             com.liferay.portlet.blogs.NoSuchEntryException {
190         return getPersistence().findByUUID_G(uuid, groupId);
191     }
192 
193     public static com.liferay.portlet.blogs.model.BlogsEntry fetchByUUID_G(
194         java.lang.String uuid, long groupId)
195         throws com.liferay.portal.SystemException {
196         return getPersistence().fetchByUUID_G(uuid, groupId);
197     }
198 
199     public static com.liferay.portlet.blogs.model.BlogsEntry fetchByUUID_G(
200         java.lang.String uuid, long groupId, boolean retrieveFromCache)
201         throws com.liferay.portal.SystemException {
202         return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
203     }
204 
205     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId(
206         long groupId) throws com.liferay.portal.SystemException {
207         return getPersistence().findByGroupId(groupId);
208     }
209 
210     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId(
211         long groupId, int start, int end)
212         throws com.liferay.portal.SystemException {
213         return getPersistence().findByGroupId(groupId, start, end);
214     }
215 
216     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId(
217         long groupId, int start, int end,
218         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
219         throws com.liferay.portal.SystemException {
220         return getPersistence()
221                    .findByGroupId(groupId, start, end, orderByComparator);
222     }
223 
224     public static com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_First(
225         long groupId,
226         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
227         throws com.liferay.portal.SystemException,
228             com.liferay.portlet.blogs.NoSuchEntryException {
229         return getPersistence().findByGroupId_First(groupId, orderByComparator);
230     }
231 
232     public static com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_Last(
233         long groupId,
234         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
235         throws com.liferay.portal.SystemException,
236             com.liferay.portlet.blogs.NoSuchEntryException {
237         return getPersistence().findByGroupId_Last(groupId, orderByComparator);
238     }
239 
240     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByGroupId_PrevAndNext(
241         long entryId, long groupId,
242         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
243         throws com.liferay.portal.SystemException,
244             com.liferay.portlet.blogs.NoSuchEntryException {
245         return getPersistence()
246                    .findByGroupId_PrevAndNext(entryId, groupId,
247             orderByComparator);
248     }
249 
250     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId(
251         long companyId) throws com.liferay.portal.SystemException {
252         return getPersistence().findByCompanyId(companyId);
253     }
254 
255     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId(
256         long companyId, int start, int end)
257         throws com.liferay.portal.SystemException {
258         return getPersistence().findByCompanyId(companyId, start, end);
259     }
260 
261     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId(
262         long companyId, int start, int end,
263         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
264         throws com.liferay.portal.SystemException {
265         return getPersistence()
266                    .findByCompanyId(companyId, start, end, orderByComparator);
267     }
268 
269     public static com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_First(
270         long companyId,
271         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
272         throws com.liferay.portal.SystemException,
273             com.liferay.portlet.blogs.NoSuchEntryException {
274         return getPersistence()
275                    .findByCompanyId_First(companyId, orderByComparator);
276     }
277 
278     public static com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_Last(
279         long companyId,
280         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
281         throws com.liferay.portal.SystemException,
282             com.liferay.portlet.blogs.NoSuchEntryException {
283         return getPersistence()
284                    .findByCompanyId_Last(companyId, orderByComparator);
285     }
286 
287     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByCompanyId_PrevAndNext(
288         long entryId, long companyId,
289         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
290         throws com.liferay.portal.SystemException,
291             com.liferay.portlet.blogs.NoSuchEntryException {
292         return getPersistence()
293                    .findByCompanyId_PrevAndNext(entryId, companyId,
294             orderByComparator);
295     }
296 
297     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U(
298         long groupId, long userId) throws com.liferay.portal.SystemException {
299         return getPersistence().findByG_U(groupId, userId);
300     }
301 
302     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U(
303         long groupId, long userId, int start, int end)
304         throws com.liferay.portal.SystemException {
305         return getPersistence().findByG_U(groupId, userId, start, end);
306     }
307 
308     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U(
309         long groupId, long userId, int start, int end,
310         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
311         throws com.liferay.portal.SystemException {
312         return getPersistence()
313                    .findByG_U(groupId, userId, start, end, orderByComparator);
314     }
315 
316     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_First(
317         long groupId, long userId,
318         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
319         throws com.liferay.portal.SystemException,
320             com.liferay.portlet.blogs.NoSuchEntryException {
321         return getPersistence()
322                    .findByG_U_First(groupId, userId, orderByComparator);
323     }
324 
325     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_Last(
326         long groupId, long userId,
327         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
328         throws com.liferay.portal.SystemException,
329             com.liferay.portlet.blogs.NoSuchEntryException {
330         return getPersistence()
331                    .findByG_U_Last(groupId, userId, orderByComparator);
332     }
333 
334     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_PrevAndNext(
335         long entryId, long groupId, long userId,
336         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
337         throws com.liferay.portal.SystemException,
338             com.liferay.portlet.blogs.NoSuchEntryException {
339         return getPersistence()
340                    .findByG_U_PrevAndNext(entryId, groupId, userId,
341             orderByComparator);
342     }
343 
344     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_UT(
345         long groupId, java.lang.String urlTitle)
346         throws com.liferay.portal.SystemException,
347             com.liferay.portlet.blogs.NoSuchEntryException {
348         return getPersistence().findByG_UT(groupId, urlTitle);
349     }
350 
351     public static com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT(
352         long groupId, java.lang.String urlTitle)
353         throws com.liferay.portal.SystemException {
354         return getPersistence().fetchByG_UT(groupId, urlTitle);
355     }
356 
357     public static com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT(
358         long groupId, java.lang.String urlTitle, boolean retrieveFromCache)
359         throws com.liferay.portal.SystemException {
360         return getPersistence().fetchByG_UT(groupId, urlTitle, retrieveFromCache);
361     }
362 
363     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D_D(
364         long groupId, java.util.Date displayDate, boolean draft)
365         throws com.liferay.portal.SystemException {
366         return getPersistence().findByG_D_D(groupId, displayDate, draft);
367     }
368 
369     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D_D(
370         long groupId, java.util.Date displayDate, boolean draft, int start,
371         int end) throws com.liferay.portal.SystemException {
372         return getPersistence()
373                    .findByG_D_D(groupId, displayDate, draft, start, end);
374     }
375 
376     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D_D(
377         long groupId, java.util.Date displayDate, boolean draft, int start,
378         int end,
379         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
380         throws com.liferay.portal.SystemException {
381         return getPersistence()
382                    .findByG_D_D(groupId, displayDate, draft, start, end,
383             orderByComparator);
384     }
385 
386     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_D_D_First(
387         long groupId, java.util.Date displayDate, boolean draft,
388         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
389         throws com.liferay.portal.SystemException,
390             com.liferay.portlet.blogs.NoSuchEntryException {
391         return getPersistence()
392                    .findByG_D_D_First(groupId, displayDate, draft,
393             orderByComparator);
394     }
395 
396     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_D_D_Last(
397         long groupId, java.util.Date displayDate, boolean draft,
398         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
399         throws com.liferay.portal.SystemException,
400             com.liferay.portlet.blogs.NoSuchEntryException {
401         return getPersistence()
402                    .findByG_D_D_Last(groupId, displayDate, draft,
403             orderByComparator);
404     }
405 
406     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByG_D_D_PrevAndNext(
407         long entryId, long groupId, java.util.Date displayDate, boolean draft,
408         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
409         throws com.liferay.portal.SystemException,
410             com.liferay.portlet.blogs.NoSuchEntryException {
411         return getPersistence()
412                    .findByG_D_D_PrevAndNext(entryId, groupId, displayDate,
413             draft, orderByComparator);
414     }
415 
416     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D_D(
417         long companyId, java.util.Date displayDate, boolean draft)
418         throws com.liferay.portal.SystemException {
419         return getPersistence().findByC_D_D(companyId, displayDate, draft);
420     }
421 
422     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D_D(
423         long companyId, java.util.Date displayDate, boolean draft, int start,
424         int end) throws com.liferay.portal.SystemException {
425         return getPersistence()
426                    .findByC_D_D(companyId, displayDate, draft, start, end);
427     }
428 
429     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D_D(
430         long companyId, java.util.Date displayDate, boolean draft, int start,
431         int end,
432         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
433         throws com.liferay.portal.SystemException {
434         return getPersistence()
435                    .findByC_D_D(companyId, displayDate, draft, start, end,
436             orderByComparator);
437     }
438 
439     public static com.liferay.portlet.blogs.model.BlogsEntry findByC_D_D_First(
440         long companyId, java.util.Date displayDate, boolean draft,
441         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
442         throws com.liferay.portal.SystemException,
443             com.liferay.portlet.blogs.NoSuchEntryException {
444         return getPersistence()
445                    .findByC_D_D_First(companyId, displayDate, draft,
446             orderByComparator);
447     }
448 
449     public static com.liferay.portlet.blogs.model.BlogsEntry findByC_D_D_Last(
450         long companyId, java.util.Date displayDate, boolean draft,
451         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
452         throws com.liferay.portal.SystemException,
453             com.liferay.portlet.blogs.NoSuchEntryException {
454         return getPersistence()
455                    .findByC_D_D_Last(companyId, displayDate, draft,
456             orderByComparator);
457     }
458 
459     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByC_D_D_PrevAndNext(
460         long entryId, long companyId, java.util.Date displayDate,
461         boolean draft,
462         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
463         throws com.liferay.portal.SystemException,
464             com.liferay.portlet.blogs.NoSuchEntryException {
465         return getPersistence()
466                    .findByC_D_D_PrevAndNext(entryId, companyId, displayDate,
467             draft, orderByComparator);
468     }
469 
470     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D_D(
471         long groupId, long userId, java.util.Date displayDate, boolean draft)
472         throws com.liferay.portal.SystemException {
473         return getPersistence()
474                    .findByG_U_D_D(groupId, userId, displayDate, draft);
475     }
476 
477     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D_D(
478         long groupId, long userId, java.util.Date displayDate, boolean draft,
479         int start, int end) throws com.liferay.portal.SystemException {
480         return getPersistence()
481                    .findByG_U_D_D(groupId, userId, displayDate, draft, start,
482             end);
483     }
484 
485     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D_D(
486         long groupId, long userId, java.util.Date displayDate, boolean draft,
487         int start, int end,
488         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
489         throws com.liferay.portal.SystemException {
490         return getPersistence()
491                    .findByG_U_D_D(groupId, userId, displayDate, draft, start,
492             end, orderByComparator);
493     }
494 
495     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_D_D_First(
496         long groupId, long userId, java.util.Date displayDate, boolean draft,
497         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
498         throws com.liferay.portal.SystemException,
499             com.liferay.portlet.blogs.NoSuchEntryException {
500         return getPersistence()
501                    .findByG_U_D_D_First(groupId, userId, displayDate, draft,
502             orderByComparator);
503     }
504 
505     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_D_D_Last(
506         long groupId, long userId, java.util.Date displayDate, boolean draft,
507         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
508         throws com.liferay.portal.SystemException,
509             com.liferay.portlet.blogs.NoSuchEntryException {
510         return getPersistence()
511                    .findByG_U_D_D_Last(groupId, userId, displayDate, draft,
512             orderByComparator);
513     }
514 
515     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_D_D_PrevAndNext(
516         long entryId, long groupId, long userId, java.util.Date displayDate,
517         boolean draft,
518         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
519         throws com.liferay.portal.SystemException,
520             com.liferay.portlet.blogs.NoSuchEntryException {
521         return getPersistence()
522                    .findByG_U_D_D_PrevAndNext(entryId, groupId, userId,
523             displayDate, draft, orderByComparator);
524     }
525 
526     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll()
527         throws com.liferay.portal.SystemException {
528         return getPersistence().findAll();
529     }
530 
531     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll(
532         int start, int end) throws com.liferay.portal.SystemException {
533         return getPersistence().findAll(start, end);
534     }
535 
536     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll(
537         int start, int end,
538         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
539         throws com.liferay.portal.SystemException {
540         return getPersistence().findAll(start, end, orderByComparator);
541     }
542 
543     public static void removeByUuid(java.lang.String uuid)
544         throws com.liferay.portal.SystemException {
545         getPersistence().removeByUuid(uuid);
546     }
547 
548     public static void removeByUUID_G(java.lang.String uuid, long groupId)
549         throws com.liferay.portal.SystemException,
550             com.liferay.portlet.blogs.NoSuchEntryException {
551         getPersistence().removeByUUID_G(uuid, groupId);
552     }
553 
554     public static void removeByGroupId(long groupId)
555         throws com.liferay.portal.SystemException {
556         getPersistence().removeByGroupId(groupId);
557     }
558 
559     public static void removeByCompanyId(long companyId)
560         throws com.liferay.portal.SystemException {
561         getPersistence().removeByCompanyId(companyId);
562     }
563 
564     public static void removeByG_U(long groupId, long userId)
565         throws com.liferay.portal.SystemException {
566         getPersistence().removeByG_U(groupId, userId);
567     }
568 
569     public static void removeByG_UT(long groupId, java.lang.String urlTitle)
570         throws com.liferay.portal.SystemException,
571             com.liferay.portlet.blogs.NoSuchEntryException {
572         getPersistence().removeByG_UT(groupId, urlTitle);
573     }
574 
575     public static void removeByG_D_D(long groupId, java.util.Date displayDate,
576         boolean draft) throws com.liferay.portal.SystemException {
577         getPersistence().removeByG_D_D(groupId, displayDate, draft);
578     }
579 
580     public static void removeByC_D_D(long companyId,
581         java.util.Date displayDate, boolean draft)
582         throws com.liferay.portal.SystemException {
583         getPersistence().removeByC_D_D(companyId, displayDate, draft);
584     }
585 
586     public static void removeByG_U_D_D(long groupId, long userId,
587         java.util.Date displayDate, boolean draft)
588         throws com.liferay.portal.SystemException {
589         getPersistence().removeByG_U_D_D(groupId, userId, displayDate, draft);
590     }
591 
592     public static void removeAll() throws com.liferay.portal.SystemException {
593         getPersistence().removeAll();
594     }
595 
596     public static int countByUuid(java.lang.String uuid)
597         throws com.liferay.portal.SystemException {
598         return getPersistence().countByUuid(uuid);
599     }
600 
601     public static int countByUUID_G(java.lang.String uuid, long groupId)
602         throws com.liferay.portal.SystemException {
603         return getPersistence().countByUUID_G(uuid, groupId);
604     }
605 
606     public static int countByGroupId(long groupId)
607         throws com.liferay.portal.SystemException {
608         return getPersistence().countByGroupId(groupId);
609     }
610 
611     public static int countByCompanyId(long companyId)
612         throws com.liferay.portal.SystemException {
613         return getPersistence().countByCompanyId(companyId);
614     }
615 
616     public static int countByG_U(long groupId, long userId)
617         throws com.liferay.portal.SystemException {
618         return getPersistence().countByG_U(groupId, userId);
619     }
620 
621     public static int countByG_UT(long groupId, java.lang.String urlTitle)
622         throws com.liferay.portal.SystemException {
623         return getPersistence().countByG_UT(groupId, urlTitle);
624     }
625 
626     public static int countByG_D_D(long groupId, java.util.Date displayDate,
627         boolean draft) throws com.liferay.portal.SystemException {
628         return getPersistence().countByG_D_D(groupId, displayDate, draft);
629     }
630 
631     public static int countByC_D_D(long companyId, java.util.Date displayDate,
632         boolean draft) throws com.liferay.portal.SystemException {
633         return getPersistence().countByC_D_D(companyId, displayDate, draft);
634     }
635 
636     public static int countByG_U_D_D(long groupId, long userId,
637         java.util.Date displayDate, boolean draft)
638         throws com.liferay.portal.SystemException {
639         return getPersistence()
640                    .countByG_U_D_D(groupId, userId, displayDate, draft);
641     }
642 
643     public static int countAll() throws com.liferay.portal.SystemException {
644         return getPersistence().countAll();
645     }
646 
647     public static BlogsEntryPersistence getPersistence() {
648         if (_persistence == null) {
649             _persistence = (BlogsEntryPersistence)PortalBeanLocatorUtil.locate(BlogsEntryPersistence.class.getName());
650 
651             ReferenceRegistry.registerReference(BlogsEntryUtil.class,
652                 "_persistence");
653         }
654 
655         return _persistence;
656     }
657 
658     public void setPersistence(BlogsEntryPersistence persistence) {
659         _persistence = persistence;
660 
661         ReferenceRegistry.registerReference(BlogsEntryUtil.class, "_persistence");
662     }
663 
664     private static BlogsEntryPersistence _persistence;
665 }