1
22
23 package com.liferay.portlet.messageboards.service.persistence;
24
25
31 public class MBMessageFinderUtil {
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 java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByGroupId(
48 long groupId, int start, int end)
49 throws com.liferay.portal.SystemException {
50 return getFinder().findByGroupId(groupId, start, end);
51 }
52
53 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByGroupId(
54 long groupId, int start, int end,
55 com.liferay.portal.kernel.util.OrderByComparator obc)
56 throws com.liferay.portal.SystemException {
57 return getFinder().findByGroupId(groupId, start, end, obc);
58 }
59
60 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByNoAssets()
61 throws com.liferay.portal.SystemException {
62 return getFinder().findByNoAssets();
63 }
64
65 public static com.liferay.portlet.messageboards.model.MBMessage findByUuid_G(
66 java.lang.String uuid, long groupId)
67 throws com.liferay.portal.SystemException,
68 com.liferay.portlet.messageboards.NoSuchMessageException {
69 return getFinder().findByUuid_G(uuid, groupId);
70 }
71
72 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
73 long groupId, long userId, int start, int end)
74 throws com.liferay.portal.SystemException {
75 return getFinder().findByG_U(groupId, userId, start, end);
76 }
77
78 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByG_U(
79 long groupId, long userId, int start, int end,
80 com.liferay.portal.kernel.util.OrderByComparator obc)
81 throws com.liferay.portal.SystemException {
82 return getFinder().findByG_U(groupId, userId, start, end, obc);
83 }
84
85 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByC_C(
86 long classNameId, long classPK)
87 throws com.liferay.portal.SystemException {
88 return getFinder().findByC_C(classNameId, classPK);
89 }
90
91 public static MBMessageFinder getFinder() {
92 return _finder;
93 }
94
95 public void setFinder(MBMessageFinder finder) {
96 _finder = finder;
97 }
98
99 private static MBMessageFinder _finder;
100 }