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