1
22
23 package com.liferay.portlet.messageboards.service.persistence;
24
25
31 public class MBThreadFinderUtil {
32 public static int countByCategoryIds(java.util.List 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 findByGroupId(long groupId, int begin, int end)
53 throws com.liferay.portal.SystemException {
54 return getFinder().findByGroupId(groupId, begin, end);
55 }
56
57 public static java.util.List findByG_U(long groupId, long userId,
58 int begin, int end) throws com.liferay.portal.SystemException {
59 return getFinder().findByG_U(groupId, userId, begin, end);
60 }
61
62 public static java.util.List findByS_G_U(long groupId, long userId,
63 int begin, int end) throws com.liferay.portal.SystemException {
64 return getFinder().findByS_G_U(groupId, userId, begin, end);
65 }
66
67 public static MBThreadFinder getFinder() {
68 return _getUtil()._finder;
69 }
70
71 public void setFinder(MBThreadFinder finder) {
72 _finder = finder;
73 }
74
75 private static MBThreadFinderUtil _getUtil() {
76 if (_util == null) {
77 _util = (MBThreadFinderUtil)com.liferay.portal.kernel.bean.BeanLocatorUtil.locate(_UTIL);
78 }
79
80 return _util;
81 }
82
83 private static final String _UTIL = MBThreadFinderUtil.class.getName();
84 private static MBThreadFinderUtil _util;
85 private MBThreadFinder _finder;
86 }