1
22
23 package com.liferay.portlet.messageboards.service.persistence;
24
25
31 public class MBThreadFinderUtil {
32 public static int countByCategoryIds(java.util.List<Long> categoryIds)
33 throws com.liferay.portal.SystemException {
34 return getFinder().countByCategoryIds(categoryIds);
35 }
36
37 public static int countByGroupId(long groupId)
38 throws com.liferay.portal.SystemException {
39 return getFinder().countByGroupId(groupId);
40 }
41
42 public static int countByG_U(long groupId, long userId)
43 throws com.liferay.portal.SystemException {
44 return getFinder().countByG_U(groupId, userId);
45 }
46
47 public static int countByS_G_U(long groupId, long userId)
48 throws com.liferay.portal.SystemException {
49 return getFinder().countByS_G_U(groupId, userId);
50 }
51
52 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByGroupId(
53 long groupId, int start, int end)
54 throws com.liferay.portal.SystemException {
55 return getFinder().findByGroupId(groupId, start, end);
56 }
57
58 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_U(
59 long groupId, long userId, int start, int end)
60 throws com.liferay.portal.SystemException {
61 return getFinder().findByG_U(groupId, userId, start, end);
62 }
63
64 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByS_G_U(
65 long groupId, long userId, int start, int end)
66 throws com.liferay.portal.SystemException {
67 return getFinder().findByS_G_U(groupId, userId, start, end);
68 }
69
70 public static MBThreadFinder getFinder() {
71 return _finder;
72 }
73
74 public void setFinder(MBThreadFinder finder) {
75 _finder = finder;
76 }
77
78 private static MBThreadFinder _finder;
79 }