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