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