1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.blogs.service.persistence;
16  
17  import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
18  import com.liferay.portal.kernel.dao.orm.DynamicQuery;
19  import com.liferay.portal.kernel.exception.SystemException;
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.kernel.exception.SystemException,
96              com.liferay.portlet.blogs.NoSuchEntryException {
97          return getPersistence().remove(entryId);
98      }
99  
100     public static com.liferay.portlet.blogs.model.BlogsEntry updateImpl(
101         com.liferay.portlet.blogs.model.BlogsEntry blogsEntry, boolean merge)
102         throws com.liferay.portal.kernel.exception.SystemException {
103         return getPersistence().updateImpl(blogsEntry, merge);
104     }
105 
106     public static com.liferay.portlet.blogs.model.BlogsEntry findByPrimaryKey(
107         long entryId)
108         throws com.liferay.portal.kernel.exception.SystemException,
109             com.liferay.portlet.blogs.NoSuchEntryException {
110         return getPersistence().findByPrimaryKey(entryId);
111     }
112 
113     public static com.liferay.portlet.blogs.model.BlogsEntry fetchByPrimaryKey(
114         long entryId)
115         throws com.liferay.portal.kernel.exception.SystemException {
116         return getPersistence().fetchByPrimaryKey(entryId);
117     }
118 
119     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
120         java.lang.String uuid)
121         throws com.liferay.portal.kernel.exception.SystemException {
122         return getPersistence().findByUuid(uuid);
123     }
124 
125     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
126         java.lang.String uuid, int start, int end)
127         throws com.liferay.portal.kernel.exception.SystemException {
128         return getPersistence().findByUuid(uuid, start, end);
129     }
130 
131     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByUuid(
132         java.lang.String uuid, int start, int end,
133         com.liferay.portal.kernel.util.OrderByComparator obc)
134         throws com.liferay.portal.kernel.exception.SystemException {
135         return getPersistence().findByUuid(uuid, start, end, obc);
136     }
137 
138     public static com.liferay.portlet.blogs.model.BlogsEntry findByUuid_First(
139         java.lang.String uuid,
140         com.liferay.portal.kernel.util.OrderByComparator obc)
141         throws com.liferay.portal.kernel.exception.SystemException,
142             com.liferay.portlet.blogs.NoSuchEntryException {
143         return getPersistence().findByUuid_First(uuid, obc);
144     }
145 
146     public static com.liferay.portlet.blogs.model.BlogsEntry findByUuid_Last(
147         java.lang.String uuid,
148         com.liferay.portal.kernel.util.OrderByComparator obc)
149         throws com.liferay.portal.kernel.exception.SystemException,
150             com.liferay.portlet.blogs.NoSuchEntryException {
151         return getPersistence().findByUuid_Last(uuid, obc);
152     }
153 
154     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByUuid_PrevAndNext(
155         long entryId, java.lang.String uuid,
156         com.liferay.portal.kernel.util.OrderByComparator obc)
157         throws com.liferay.portal.kernel.exception.SystemException,
158             com.liferay.portlet.blogs.NoSuchEntryException {
159         return getPersistence().findByUuid_PrevAndNext(entryId, uuid, obc);
160     }
161 
162     public static com.liferay.portlet.blogs.model.BlogsEntry findByUUID_G(
163         java.lang.String uuid, long groupId)
164         throws com.liferay.portal.kernel.exception.SystemException,
165             com.liferay.portlet.blogs.NoSuchEntryException {
166         return getPersistence().findByUUID_G(uuid, groupId);
167     }
168 
169     public static com.liferay.portlet.blogs.model.BlogsEntry fetchByUUID_G(
170         java.lang.String uuid, long groupId)
171         throws com.liferay.portal.kernel.exception.SystemException {
172         return getPersistence().fetchByUUID_G(uuid, groupId);
173     }
174 
175     public static com.liferay.portlet.blogs.model.BlogsEntry fetchByUUID_G(
176         java.lang.String uuid, long groupId, boolean retrieveFromCache)
177         throws com.liferay.portal.kernel.exception.SystemException {
178         return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
179     }
180 
181     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId(
182         long groupId)
183         throws com.liferay.portal.kernel.exception.SystemException {
184         return getPersistence().findByGroupId(groupId);
185     }
186 
187     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId(
188         long groupId, int start, int end)
189         throws com.liferay.portal.kernel.exception.SystemException {
190         return getPersistence().findByGroupId(groupId, start, end);
191     }
192 
193     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByGroupId(
194         long groupId, int start, int end,
195         com.liferay.portal.kernel.util.OrderByComparator obc)
196         throws com.liferay.portal.kernel.exception.SystemException {
197         return getPersistence().findByGroupId(groupId, start, end, obc);
198     }
199 
200     public static com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_First(
201         long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
202         throws com.liferay.portal.kernel.exception.SystemException,
203             com.liferay.portlet.blogs.NoSuchEntryException {
204         return getPersistence().findByGroupId_First(groupId, obc);
205     }
206 
207     public static com.liferay.portlet.blogs.model.BlogsEntry findByGroupId_Last(
208         long groupId, com.liferay.portal.kernel.util.OrderByComparator obc)
209         throws com.liferay.portal.kernel.exception.SystemException,
210             com.liferay.portlet.blogs.NoSuchEntryException {
211         return getPersistence().findByGroupId_Last(groupId, obc);
212     }
213 
214     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByGroupId_PrevAndNext(
215         long entryId, long groupId,
216         com.liferay.portal.kernel.util.OrderByComparator obc)
217         throws com.liferay.portal.kernel.exception.SystemException,
218             com.liferay.portlet.blogs.NoSuchEntryException {
219         return getPersistence().findByGroupId_PrevAndNext(entryId, groupId, obc);
220     }
221 
222     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId(
223         long companyId)
224         throws com.liferay.portal.kernel.exception.SystemException {
225         return getPersistence().findByCompanyId(companyId);
226     }
227 
228     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId(
229         long companyId, int start, int end)
230         throws com.liferay.portal.kernel.exception.SystemException {
231         return getPersistence().findByCompanyId(companyId, start, end);
232     }
233 
234     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByCompanyId(
235         long companyId, int start, int end,
236         com.liferay.portal.kernel.util.OrderByComparator obc)
237         throws com.liferay.portal.kernel.exception.SystemException {
238         return getPersistence().findByCompanyId(companyId, start, end, obc);
239     }
240 
241     public static com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_First(
242         long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
243         throws com.liferay.portal.kernel.exception.SystemException,
244             com.liferay.portlet.blogs.NoSuchEntryException {
245         return getPersistence().findByCompanyId_First(companyId, obc);
246     }
247 
248     public static com.liferay.portlet.blogs.model.BlogsEntry findByCompanyId_Last(
249         long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
250         throws com.liferay.portal.kernel.exception.SystemException,
251             com.liferay.portlet.blogs.NoSuchEntryException {
252         return getPersistence().findByCompanyId_Last(companyId, obc);
253     }
254 
255     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByCompanyId_PrevAndNext(
256         long entryId, long companyId,
257         com.liferay.portal.kernel.util.OrderByComparator obc)
258         throws com.liferay.portal.kernel.exception.SystemException,
259             com.liferay.portlet.blogs.NoSuchEntryException {
260         return getPersistence()
261                    .findByCompanyId_PrevAndNext(entryId, companyId, obc);
262     }
263 
264     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U(
265         long companyId, long userId)
266         throws com.liferay.portal.kernel.exception.SystemException {
267         return getPersistence().findByC_U(companyId, userId);
268     }
269 
270     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U(
271         long companyId, long userId, int start, int end)
272         throws com.liferay.portal.kernel.exception.SystemException {
273         return getPersistence().findByC_U(companyId, userId, start, end);
274     }
275 
276     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U(
277         long companyId, long userId, int start, int end,
278         com.liferay.portal.kernel.util.OrderByComparator obc)
279         throws com.liferay.portal.kernel.exception.SystemException {
280         return getPersistence().findByC_U(companyId, userId, start, end, obc);
281     }
282 
283     public static com.liferay.portlet.blogs.model.BlogsEntry findByC_U_First(
284         long companyId, long userId,
285         com.liferay.portal.kernel.util.OrderByComparator obc)
286         throws com.liferay.portal.kernel.exception.SystemException,
287             com.liferay.portlet.blogs.NoSuchEntryException {
288         return getPersistence().findByC_U_First(companyId, userId, obc);
289     }
290 
291     public static com.liferay.portlet.blogs.model.BlogsEntry findByC_U_Last(
292         long companyId, long userId,
293         com.liferay.portal.kernel.util.OrderByComparator obc)
294         throws com.liferay.portal.kernel.exception.SystemException,
295             com.liferay.portlet.blogs.NoSuchEntryException {
296         return getPersistence().findByC_U_Last(companyId, userId, obc);
297     }
298 
299     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByC_U_PrevAndNext(
300         long entryId, long companyId, long userId,
301         com.liferay.portal.kernel.util.OrderByComparator obc)
302         throws com.liferay.portal.kernel.exception.SystemException,
303             com.liferay.portlet.blogs.NoSuchEntryException {
304         return getPersistence()
305                    .findByC_U_PrevAndNext(entryId, companyId, userId, obc);
306     }
307 
308     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D(
309         long companyId, java.util.Date displayDate)
310         throws com.liferay.portal.kernel.exception.SystemException {
311         return getPersistence().findByC_D(companyId, displayDate);
312     }
313 
314     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D(
315         long companyId, java.util.Date displayDate, int start, int end)
316         throws com.liferay.portal.kernel.exception.SystemException {
317         return getPersistence().findByC_D(companyId, displayDate, start, end);
318     }
319 
320     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D(
321         long companyId, java.util.Date displayDate, int start, int end,
322         com.liferay.portal.kernel.util.OrderByComparator obc)
323         throws com.liferay.portal.kernel.exception.SystemException {
324         return getPersistence()
325                    .findByC_D(companyId, displayDate, start, end, obc);
326     }
327 
328     public static com.liferay.portlet.blogs.model.BlogsEntry findByC_D_First(
329         long companyId, java.util.Date displayDate,
330         com.liferay.portal.kernel.util.OrderByComparator obc)
331         throws com.liferay.portal.kernel.exception.SystemException,
332             com.liferay.portlet.blogs.NoSuchEntryException {
333         return getPersistence().findByC_D_First(companyId, displayDate, obc);
334     }
335 
336     public static com.liferay.portlet.blogs.model.BlogsEntry findByC_D_Last(
337         long companyId, java.util.Date displayDate,
338         com.liferay.portal.kernel.util.OrderByComparator obc)
339         throws com.liferay.portal.kernel.exception.SystemException,
340             com.liferay.portlet.blogs.NoSuchEntryException {
341         return getPersistence().findByC_D_Last(companyId, displayDate, obc);
342     }
343 
344     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByC_D_PrevAndNext(
345         long entryId, long companyId, java.util.Date displayDate,
346         com.liferay.portal.kernel.util.OrderByComparator obc)
347         throws com.liferay.portal.kernel.exception.SystemException,
348             com.liferay.portlet.blogs.NoSuchEntryException {
349         return getPersistence()
350                    .findByC_D_PrevAndNext(entryId, companyId, displayDate, obc);
351     }
352 
353     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_S(
354         long companyId, int status)
355         throws com.liferay.portal.kernel.exception.SystemException {
356         return getPersistence().findByC_S(companyId, status);
357     }
358 
359     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_S(
360         long companyId, int status, int start, int end)
361         throws com.liferay.portal.kernel.exception.SystemException {
362         return getPersistence().findByC_S(companyId, status, start, end);
363     }
364 
365     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_S(
366         long companyId, int status, int start, int end,
367         com.liferay.portal.kernel.util.OrderByComparator obc)
368         throws com.liferay.portal.kernel.exception.SystemException {
369         return getPersistence().findByC_S(companyId, status, start, end, obc);
370     }
371 
372     public static com.liferay.portlet.blogs.model.BlogsEntry findByC_S_First(
373         long companyId, int status,
374         com.liferay.portal.kernel.util.OrderByComparator obc)
375         throws com.liferay.portal.kernel.exception.SystemException,
376             com.liferay.portlet.blogs.NoSuchEntryException {
377         return getPersistence().findByC_S_First(companyId, status, obc);
378     }
379 
380     public static com.liferay.portlet.blogs.model.BlogsEntry findByC_S_Last(
381         long companyId, int status,
382         com.liferay.portal.kernel.util.OrderByComparator obc)
383         throws com.liferay.portal.kernel.exception.SystemException,
384             com.liferay.portlet.blogs.NoSuchEntryException {
385         return getPersistence().findByC_S_Last(companyId, status, obc);
386     }
387 
388     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByC_S_PrevAndNext(
389         long entryId, long companyId, int status,
390         com.liferay.portal.kernel.util.OrderByComparator obc)
391         throws com.liferay.portal.kernel.exception.SystemException,
392             com.liferay.portlet.blogs.NoSuchEntryException {
393         return getPersistence()
394                    .findByC_S_PrevAndNext(entryId, companyId, status, obc);
395     }
396 
397     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_UT(
398         long groupId, java.lang.String urlTitle)
399         throws com.liferay.portal.kernel.exception.SystemException,
400             com.liferay.portlet.blogs.NoSuchEntryException {
401         return getPersistence().findByG_UT(groupId, urlTitle);
402     }
403 
404     public static com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT(
405         long groupId, java.lang.String urlTitle)
406         throws com.liferay.portal.kernel.exception.SystemException {
407         return getPersistence().fetchByG_UT(groupId, urlTitle);
408     }
409 
410     public static com.liferay.portlet.blogs.model.BlogsEntry fetchByG_UT(
411         long groupId, java.lang.String urlTitle, boolean retrieveFromCache)
412         throws com.liferay.portal.kernel.exception.SystemException {
413         return getPersistence().fetchByG_UT(groupId, urlTitle, retrieveFromCache);
414     }
415 
416     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D(
417         long groupId, java.util.Date displayDate)
418         throws com.liferay.portal.kernel.exception.SystemException {
419         return getPersistence().findByG_D(groupId, displayDate);
420     }
421 
422     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D(
423         long groupId, java.util.Date displayDate, int start, int end)
424         throws com.liferay.portal.kernel.exception.SystemException {
425         return getPersistence().findByG_D(groupId, displayDate, start, end);
426     }
427 
428     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D(
429         long groupId, java.util.Date displayDate, int start, int end,
430         com.liferay.portal.kernel.util.OrderByComparator obc)
431         throws com.liferay.portal.kernel.exception.SystemException {
432         return getPersistence().findByG_D(groupId, displayDate, start, end, obc);
433     }
434 
435     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_D_First(
436         long groupId, java.util.Date displayDate,
437         com.liferay.portal.kernel.util.OrderByComparator obc)
438         throws com.liferay.portal.kernel.exception.SystemException,
439             com.liferay.portlet.blogs.NoSuchEntryException {
440         return getPersistence().findByG_D_First(groupId, displayDate, obc);
441     }
442 
443     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_D_Last(
444         long groupId, java.util.Date displayDate,
445         com.liferay.portal.kernel.util.OrderByComparator obc)
446         throws com.liferay.portal.kernel.exception.SystemException,
447             com.liferay.portlet.blogs.NoSuchEntryException {
448         return getPersistence().findByG_D_Last(groupId, displayDate, obc);
449     }
450 
451     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByG_D_PrevAndNext(
452         long entryId, long groupId, java.util.Date displayDate,
453         com.liferay.portal.kernel.util.OrderByComparator obc)
454         throws com.liferay.portal.kernel.exception.SystemException,
455             com.liferay.portlet.blogs.NoSuchEntryException {
456         return getPersistence()
457                    .findByG_D_PrevAndNext(entryId, groupId, displayDate, obc);
458     }
459 
460     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_S(
461         long groupId, int status)
462         throws com.liferay.portal.kernel.exception.SystemException {
463         return getPersistence().findByG_S(groupId, status);
464     }
465 
466     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_S(
467         long groupId, int status, int start, int end)
468         throws com.liferay.portal.kernel.exception.SystemException {
469         return getPersistence().findByG_S(groupId, status, start, end);
470     }
471 
472     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_S(
473         long groupId, int status, int start, int end,
474         com.liferay.portal.kernel.util.OrderByComparator obc)
475         throws com.liferay.portal.kernel.exception.SystemException {
476         return getPersistence().findByG_S(groupId, status, start, end, obc);
477     }
478 
479     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_S_First(
480         long groupId, int status,
481         com.liferay.portal.kernel.util.OrderByComparator obc)
482         throws com.liferay.portal.kernel.exception.SystemException,
483             com.liferay.portlet.blogs.NoSuchEntryException {
484         return getPersistence().findByG_S_First(groupId, status, obc);
485     }
486 
487     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_S_Last(
488         long groupId, int status,
489         com.liferay.portal.kernel.util.OrderByComparator obc)
490         throws com.liferay.portal.kernel.exception.SystemException,
491             com.liferay.portlet.blogs.NoSuchEntryException {
492         return getPersistence().findByG_S_Last(groupId, status, obc);
493     }
494 
495     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByG_S_PrevAndNext(
496         long entryId, long groupId, int status,
497         com.liferay.portal.kernel.util.OrderByComparator obc)
498         throws com.liferay.portal.kernel.exception.SystemException,
499             com.liferay.portlet.blogs.NoSuchEntryException {
500         return getPersistence()
501                    .findByG_S_PrevAndNext(entryId, groupId, status, obc);
502     }
503 
504     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U_S(
505         long companyId, long userId, int status)
506         throws com.liferay.portal.kernel.exception.SystemException {
507         return getPersistence().findByC_U_S(companyId, userId, status);
508     }
509 
510     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U_S(
511         long companyId, long userId, int status, int start, int end)
512         throws com.liferay.portal.kernel.exception.SystemException {
513         return getPersistence()
514                    .findByC_U_S(companyId, userId, status, start, end);
515     }
516 
517     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_U_S(
518         long companyId, long userId, int status, int start, int end,
519         com.liferay.portal.kernel.util.OrderByComparator obc)
520         throws com.liferay.portal.kernel.exception.SystemException {
521         return getPersistence()
522                    .findByC_U_S(companyId, userId, status, start, end, obc);
523     }
524 
525     public static com.liferay.portlet.blogs.model.BlogsEntry findByC_U_S_First(
526         long companyId, long userId, int status,
527         com.liferay.portal.kernel.util.OrderByComparator obc)
528         throws com.liferay.portal.kernel.exception.SystemException,
529             com.liferay.portlet.blogs.NoSuchEntryException {
530         return getPersistence().findByC_U_S_First(companyId, userId, status, obc);
531     }
532 
533     public static com.liferay.portlet.blogs.model.BlogsEntry findByC_U_S_Last(
534         long companyId, long userId, int status,
535         com.liferay.portal.kernel.util.OrderByComparator obc)
536         throws com.liferay.portal.kernel.exception.SystemException,
537             com.liferay.portlet.blogs.NoSuchEntryException {
538         return getPersistence().findByC_U_S_Last(companyId, userId, status, obc);
539     }
540 
541     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByC_U_S_PrevAndNext(
542         long entryId, long companyId, long userId, int status,
543         com.liferay.portal.kernel.util.OrderByComparator obc)
544         throws com.liferay.portal.kernel.exception.SystemException,
545             com.liferay.portlet.blogs.NoSuchEntryException {
546         return getPersistence()
547                    .findByC_U_S_PrevAndNext(entryId, companyId, userId, status,
548             obc);
549     }
550 
551     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D_S(
552         long companyId, java.util.Date displayDate, int status)
553         throws com.liferay.portal.kernel.exception.SystemException {
554         return getPersistence().findByC_D_S(companyId, displayDate, status);
555     }
556 
557     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D_S(
558         long companyId, java.util.Date displayDate, int status, int start,
559         int end) throws com.liferay.portal.kernel.exception.SystemException {
560         return getPersistence()
561                    .findByC_D_S(companyId, displayDate, status, start, end);
562     }
563 
564     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByC_D_S(
565         long companyId, java.util.Date displayDate, int status, int start,
566         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
567         throws com.liferay.portal.kernel.exception.SystemException {
568         return getPersistence()
569                    .findByC_D_S(companyId, displayDate, status, start, end, obc);
570     }
571 
572     public static com.liferay.portlet.blogs.model.BlogsEntry findByC_D_S_First(
573         long companyId, java.util.Date displayDate, int status,
574         com.liferay.portal.kernel.util.OrderByComparator obc)
575         throws com.liferay.portal.kernel.exception.SystemException,
576             com.liferay.portlet.blogs.NoSuchEntryException {
577         return getPersistence()
578                    .findByC_D_S_First(companyId, displayDate, status, obc);
579     }
580 
581     public static com.liferay.portlet.blogs.model.BlogsEntry findByC_D_S_Last(
582         long companyId, java.util.Date displayDate, int status,
583         com.liferay.portal.kernel.util.OrderByComparator obc)
584         throws com.liferay.portal.kernel.exception.SystemException,
585             com.liferay.portlet.blogs.NoSuchEntryException {
586         return getPersistence()
587                    .findByC_D_S_Last(companyId, displayDate, status, obc);
588     }
589 
590     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByC_D_S_PrevAndNext(
591         long entryId, long companyId, java.util.Date displayDate, int status,
592         com.liferay.portal.kernel.util.OrderByComparator obc)
593         throws com.liferay.portal.kernel.exception.SystemException,
594             com.liferay.portlet.blogs.NoSuchEntryException {
595         return getPersistence()
596                    .findByC_D_S_PrevAndNext(entryId, companyId, displayDate,
597             status, obc);
598     }
599 
600     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D(
601         long groupId, long userId, java.util.Date displayDate)
602         throws com.liferay.portal.kernel.exception.SystemException {
603         return getPersistence().findByG_U_D(groupId, userId, displayDate);
604     }
605 
606     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D(
607         long groupId, long userId, java.util.Date displayDate, int start,
608         int end) throws com.liferay.portal.kernel.exception.SystemException {
609         return getPersistence()
610                    .findByG_U_D(groupId, userId, displayDate, start, end);
611     }
612 
613     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D(
614         long groupId, long userId, java.util.Date displayDate, int start,
615         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
616         throws com.liferay.portal.kernel.exception.SystemException {
617         return getPersistence()
618                    .findByG_U_D(groupId, userId, displayDate, start, end, obc);
619     }
620 
621     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_D_First(
622         long groupId, long userId, java.util.Date displayDate,
623         com.liferay.portal.kernel.util.OrderByComparator obc)
624         throws com.liferay.portal.kernel.exception.SystemException,
625             com.liferay.portlet.blogs.NoSuchEntryException {
626         return getPersistence()
627                    .findByG_U_D_First(groupId, userId, displayDate, obc);
628     }
629 
630     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_D_Last(
631         long groupId, long userId, java.util.Date displayDate,
632         com.liferay.portal.kernel.util.OrderByComparator obc)
633         throws com.liferay.portal.kernel.exception.SystemException,
634             com.liferay.portlet.blogs.NoSuchEntryException {
635         return getPersistence()
636                    .findByG_U_D_Last(groupId, userId, displayDate, obc);
637     }
638 
639     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_D_PrevAndNext(
640         long entryId, long groupId, long userId, java.util.Date displayDate,
641         com.liferay.portal.kernel.util.OrderByComparator obc)
642         throws com.liferay.portal.kernel.exception.SystemException,
643             com.liferay.portlet.blogs.NoSuchEntryException {
644         return getPersistence()
645                    .findByG_U_D_PrevAndNext(entryId, groupId, userId,
646             displayDate, obc);
647     }
648 
649     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_S(
650         long groupId, long userId, int status)
651         throws com.liferay.portal.kernel.exception.SystemException {
652         return getPersistence().findByG_U_S(groupId, userId, status);
653     }
654 
655     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_S(
656         long groupId, long userId, int status, int start, int end)
657         throws com.liferay.portal.kernel.exception.SystemException {
658         return getPersistence().findByG_U_S(groupId, userId, status, start, end);
659     }
660 
661     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_S(
662         long groupId, long userId, int status, int start, int end,
663         com.liferay.portal.kernel.util.OrderByComparator obc)
664         throws com.liferay.portal.kernel.exception.SystemException {
665         return getPersistence()
666                    .findByG_U_S(groupId, userId, status, start, end, obc);
667     }
668 
669     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_S_First(
670         long groupId, long userId, int status,
671         com.liferay.portal.kernel.util.OrderByComparator obc)
672         throws com.liferay.portal.kernel.exception.SystemException,
673             com.liferay.portlet.blogs.NoSuchEntryException {
674         return getPersistence().findByG_U_S_First(groupId, userId, status, obc);
675     }
676 
677     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_S_Last(
678         long groupId, long userId, int status,
679         com.liferay.portal.kernel.util.OrderByComparator obc)
680         throws com.liferay.portal.kernel.exception.SystemException,
681             com.liferay.portlet.blogs.NoSuchEntryException {
682         return getPersistence().findByG_U_S_Last(groupId, userId, status, obc);
683     }
684 
685     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_S_PrevAndNext(
686         long entryId, long groupId, long userId, int status,
687         com.liferay.portal.kernel.util.OrderByComparator obc)
688         throws com.liferay.portal.kernel.exception.SystemException,
689             com.liferay.portlet.blogs.NoSuchEntryException {
690         return getPersistence()
691                    .findByG_U_S_PrevAndNext(entryId, groupId, userId, status,
692             obc);
693     }
694 
695     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D_S(
696         long groupId, java.util.Date displayDate, int status)
697         throws com.liferay.portal.kernel.exception.SystemException {
698         return getPersistence().findByG_D_S(groupId, displayDate, status);
699     }
700 
701     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D_S(
702         long groupId, java.util.Date displayDate, int status, int start, int end)
703         throws com.liferay.portal.kernel.exception.SystemException {
704         return getPersistence()
705                    .findByG_D_S(groupId, displayDate, status, start, end);
706     }
707 
708     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_D_S(
709         long groupId, java.util.Date displayDate, int status, int start,
710         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
711         throws com.liferay.portal.kernel.exception.SystemException {
712         return getPersistence()
713                    .findByG_D_S(groupId, displayDate, status, start, end, obc);
714     }
715 
716     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_D_S_First(
717         long groupId, java.util.Date displayDate, int status,
718         com.liferay.portal.kernel.util.OrderByComparator obc)
719         throws com.liferay.portal.kernel.exception.SystemException,
720             com.liferay.portlet.blogs.NoSuchEntryException {
721         return getPersistence()
722                    .findByG_D_S_First(groupId, displayDate, status, obc);
723     }
724 
725     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_D_S_Last(
726         long groupId, java.util.Date displayDate, int status,
727         com.liferay.portal.kernel.util.OrderByComparator obc)
728         throws com.liferay.portal.kernel.exception.SystemException,
729             com.liferay.portlet.blogs.NoSuchEntryException {
730         return getPersistence()
731                    .findByG_D_S_Last(groupId, displayDate, status, obc);
732     }
733 
734     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByG_D_S_PrevAndNext(
735         long entryId, long groupId, java.util.Date displayDate, int status,
736         com.liferay.portal.kernel.util.OrderByComparator obc)
737         throws com.liferay.portal.kernel.exception.SystemException,
738             com.liferay.portlet.blogs.NoSuchEntryException {
739         return getPersistence()
740                    .findByG_D_S_PrevAndNext(entryId, groupId, displayDate,
741             status, obc);
742     }
743 
744     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D_S(
745         long groupId, long userId, java.util.Date displayDate, int status)
746         throws com.liferay.portal.kernel.exception.SystemException {
747         return getPersistence()
748                    .findByG_U_D_S(groupId, userId, displayDate, status);
749     }
750 
751     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D_S(
752         long groupId, long userId, java.util.Date displayDate, int status,
753         int start, int end)
754         throws com.liferay.portal.kernel.exception.SystemException {
755         return getPersistence()
756                    .findByG_U_D_S(groupId, userId, displayDate, status, start,
757             end);
758     }
759 
760     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findByG_U_D_S(
761         long groupId, long userId, java.util.Date displayDate, int status,
762         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
763         throws com.liferay.portal.kernel.exception.SystemException {
764         return getPersistence()
765                    .findByG_U_D_S(groupId, userId, displayDate, status, start,
766             end, obc);
767     }
768 
769     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_D_S_First(
770         long groupId, long userId, java.util.Date displayDate, int status,
771         com.liferay.portal.kernel.util.OrderByComparator obc)
772         throws com.liferay.portal.kernel.exception.SystemException,
773             com.liferay.portlet.blogs.NoSuchEntryException {
774         return getPersistence()
775                    .findByG_U_D_S_First(groupId, userId, displayDate, status,
776             obc);
777     }
778 
779     public static com.liferay.portlet.blogs.model.BlogsEntry findByG_U_D_S_Last(
780         long groupId, long userId, java.util.Date displayDate, int status,
781         com.liferay.portal.kernel.util.OrderByComparator obc)
782         throws com.liferay.portal.kernel.exception.SystemException,
783             com.liferay.portlet.blogs.NoSuchEntryException {
784         return getPersistence()
785                    .findByG_U_D_S_Last(groupId, userId, displayDate, status, obc);
786     }
787 
788     public static com.liferay.portlet.blogs.model.BlogsEntry[] findByG_U_D_S_PrevAndNext(
789         long entryId, long groupId, long userId, java.util.Date displayDate,
790         int status, com.liferay.portal.kernel.util.OrderByComparator obc)
791         throws com.liferay.portal.kernel.exception.SystemException,
792             com.liferay.portlet.blogs.NoSuchEntryException {
793         return getPersistence()
794                    .findByG_U_D_S_PrevAndNext(entryId, groupId, userId,
795             displayDate, status, obc);
796     }
797 
798     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll()
799         throws com.liferay.portal.kernel.exception.SystemException {
800         return getPersistence().findAll();
801     }
802 
803     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll(
804         int start, int end)
805         throws com.liferay.portal.kernel.exception.SystemException {
806         return getPersistence().findAll(start, end);
807     }
808 
809     public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> findAll(
810         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
811         throws com.liferay.portal.kernel.exception.SystemException {
812         return getPersistence().findAll(start, end, obc);
813     }
814 
815     public static void removeByUuid(java.lang.String uuid)
816         throws com.liferay.portal.kernel.exception.SystemException {
817         getPersistence().removeByUuid(uuid);
818     }
819 
820     public static void removeByUUID_G(java.lang.String uuid, long groupId)
821         throws com.liferay.portal.kernel.exception.SystemException,
822             com.liferay.portlet.blogs.NoSuchEntryException {
823         getPersistence().removeByUUID_G(uuid, groupId);
824     }
825 
826     public static void removeByGroupId(long groupId)
827         throws com.liferay.portal.kernel.exception.SystemException {
828         getPersistence().removeByGroupId(groupId);
829     }
830 
831     public static void removeByCompanyId(long companyId)
832         throws com.liferay.portal.kernel.exception.SystemException {
833         getPersistence().removeByCompanyId(companyId);
834     }
835 
836     public static void removeByC_U(long companyId, long userId)
837         throws com.liferay.portal.kernel.exception.SystemException {
838         getPersistence().removeByC_U(companyId, userId);
839     }
840 
841     public static void removeByC_D(long companyId, java.util.Date displayDate)
842         throws com.liferay.portal.kernel.exception.SystemException {
843         getPersistence().removeByC_D(companyId, displayDate);
844     }
845 
846     public static void removeByC_S(long companyId, int status)
847         throws com.liferay.portal.kernel.exception.SystemException {
848         getPersistence().removeByC_S(companyId, status);
849     }
850 
851     public static void removeByG_UT(long groupId, java.lang.String urlTitle)
852         throws com.liferay.portal.kernel.exception.SystemException,
853             com.liferay.portlet.blogs.NoSuchEntryException {
854         getPersistence().removeByG_UT(groupId, urlTitle);
855     }
856 
857     public static void removeByG_D(long groupId, java.util.Date displayDate)
858         throws com.liferay.portal.kernel.exception.SystemException {
859         getPersistence().removeByG_D(groupId, displayDate);
860     }
861 
862     public static void removeByG_S(long groupId, int status)
863         throws com.liferay.portal.kernel.exception.SystemException {
864         getPersistence().removeByG_S(groupId, status);
865     }
866 
867     public static void removeByC_U_S(long companyId, long userId, int status)
868         throws com.liferay.portal.kernel.exception.SystemException {
869         getPersistence().removeByC_U_S(companyId, userId, status);
870     }
871 
872     public static void removeByC_D_S(long companyId,
873         java.util.Date displayDate, int status)
874         throws com.liferay.portal.kernel.exception.SystemException {
875         getPersistence().removeByC_D_S(companyId, displayDate, status);
876     }
877 
878     public static void removeByG_U_D(long groupId, long userId,
879         java.util.Date displayDate)
880         throws com.liferay.portal.kernel.exception.SystemException {
881         getPersistence().removeByG_U_D(groupId, userId, displayDate);
882     }
883 
884     public static void removeByG_U_S(long groupId, long userId, int status)
885         throws com.liferay.portal.kernel.exception.SystemException {
886         getPersistence().removeByG_U_S(groupId, userId, status);
887     }
888 
889     public static void removeByG_D_S(long groupId, java.util.Date displayDate,
890         int status) throws com.liferay.portal.kernel.exception.SystemException {
891         getPersistence().removeByG_D_S(groupId, displayDate, status);
892     }
893 
894     public static void removeByG_U_D_S(long groupId, long userId,
895         java.util.Date displayDate, int status)
896         throws com.liferay.portal.kernel.exception.SystemException {
897         getPersistence().removeByG_U_D_S(groupId, userId, displayDate, status);
898     }
899 
900     public static void removeAll()
901         throws com.liferay.portal.kernel.exception.SystemException {
902         getPersistence().removeAll();
903     }
904 
905     public static int countByUuid(java.lang.String uuid)
906         throws com.liferay.portal.kernel.exception.SystemException {
907         return getPersistence().countByUuid(uuid);
908     }
909 
910     public static int countByUUID_G(java.lang.String uuid, long groupId)
911         throws com.liferay.portal.kernel.exception.SystemException {
912         return getPersistence().countByUUID_G(uuid, groupId);
913     }
914 
915     public static int countByGroupId(long groupId)
916         throws com.liferay.portal.kernel.exception.SystemException {
917         return getPersistence().countByGroupId(groupId);
918     }
919 
920     public static int countByCompanyId(long companyId)
921         throws com.liferay.portal.kernel.exception.SystemException {
922         return getPersistence().countByCompanyId(companyId);
923     }
924 
925     public static int countByC_U(long companyId, long userId)
926         throws com.liferay.portal.kernel.exception.SystemException {
927         return getPersistence().countByC_U(companyId, userId);
928     }
929 
930     public static int countByC_D(long companyId, java.util.Date displayDate)
931         throws com.liferay.portal.kernel.exception.SystemException {
932         return getPersistence().countByC_D(companyId, displayDate);
933     }
934 
935     public static int countByC_S(long companyId, int status)
936         throws com.liferay.portal.kernel.exception.SystemException {
937         return getPersistence().countByC_S(companyId, status);
938     }
939 
940     public static int countByG_UT(long groupId, java.lang.String urlTitle)
941         throws com.liferay.portal.kernel.exception.SystemException {
942         return getPersistence().countByG_UT(groupId, urlTitle);
943     }
944 
945     public static int countByG_D(long groupId, java.util.Date displayDate)
946         throws com.liferay.portal.kernel.exception.SystemException {
947         return getPersistence().countByG_D(groupId, displayDate);
948     }
949 
950     public static int countByG_S(long groupId, int status)
951         throws com.liferay.portal.kernel.exception.SystemException {
952         return getPersistence().countByG_S(groupId, status);
953     }
954 
955     public static int countByC_U_S(long companyId, long userId, int status)
956         throws com.liferay.portal.kernel.exception.SystemException {
957         return getPersistence().countByC_U_S(companyId, userId, status);
958     }
959 
960     public static int countByC_D_S(long companyId, java.util.Date displayDate,
961         int status) throws com.liferay.portal.kernel.exception.SystemException {
962         return getPersistence().countByC_D_S(companyId, displayDate, status);
963     }
964 
965     public static int countByG_U_D(long groupId, long userId,
966         java.util.Date displayDate)
967         throws com.liferay.portal.kernel.exception.SystemException {
968         return getPersistence().countByG_U_D(groupId, userId, displayDate);
969     }
970 
971     public static int countByG_U_S(long groupId, long userId, int status)
972         throws com.liferay.portal.kernel.exception.SystemException {
973         return getPersistence().countByG_U_S(groupId, userId, status);
974     }
975 
976     public static int countByG_D_S(long groupId, java.util.Date displayDate,
977         int status) throws com.liferay.portal.kernel.exception.SystemException {
978         return getPersistence().countByG_D_S(groupId, displayDate, status);
979     }
980 
981     public static int countByG_U_D_S(long groupId, long userId,
982         java.util.Date displayDate, int status)
983         throws com.liferay.portal.kernel.exception.SystemException {
984         return getPersistence()
985                    .countByG_U_D_S(groupId, userId, displayDate, status);
986     }
987 
988     public static int countAll()
989         throws com.liferay.portal.kernel.exception.SystemException {
990         return getPersistence().countAll();
991     }
992 
993     public static BlogsEntryPersistence getPersistence() {
994         if (_persistence == null) {
995             _persistence = (BlogsEntryPersistence)PortalBeanLocatorUtil.locate(BlogsEntryPersistence.class.getName());
996         }
997 
998         return _persistence;
999     }
1000
1001    public void setPersistence(BlogsEntryPersistence persistence) {
1002        _persistence = persistence;
1003    }
1004
1005    private static BlogsEntryPersistence _persistence;
1006}