001
014
015 package com.liferay.portlet.messageboards.service.persistence;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018
019
022 public class MBCategoryFinderUtil {
023 public static int countByS_G_U_P(long groupId, long userId,
024 long[] parentCategoryIds)
025 throws com.liferay.portal.kernel.exception.SystemException {
026 return getFinder().countByS_G_U_P(groupId, userId, parentCategoryIds);
027 }
028
029 public static int filterCountByS_G_U_P(long groupId, long userId,
030 long[] parentCategoryIds)
031 throws com.liferay.portal.kernel.exception.SystemException {
032 return getFinder()
033 .filterCountByS_G_U_P(groupId, userId, parentCategoryIds);
034 }
035
036 public static java.util.List<com.liferay.portlet.messageboards.model.MBCategory> filterFindByS_G_U_P(
037 long groupId, long userId, long[] parentCategoryIds, int start, int end)
038 throws com.liferay.portal.kernel.exception.SystemException {
039 return getFinder()
040 .filterFindByS_G_U_P(groupId, userId, parentCategoryIds,
041 start, end);
042 }
043
044 public static java.util.List<com.liferay.portlet.messageboards.model.MBCategory> findByS_G_U_P(
045 long groupId, long userId, long[] parentCategoryIds, int start, int end)
046 throws com.liferay.portal.kernel.exception.SystemException {
047 return getFinder()
048 .findByS_G_U_P(groupId, userId, parentCategoryIds, start, end);
049 }
050
051 public static MBCategoryFinder getFinder() {
052 if (_finder == null) {
053 _finder = (MBCategoryFinder)PortalBeanLocatorUtil.locate(MBCategoryFinder.class.getName());
054 }
055
056 return _finder;
057 }
058
059 public void setFinder(MBCategoryFinder finder) {
060 _finder = finder;
061 }
062
063 private static MBCategoryFinder _finder;
064 }