001
014
015 package com.liferay.portlet.messageboards.service.persistence;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018
019
022 public class MBMessageFinderUtil {
023 public static int countByC_T(java.util.Date createDate, long threadId)
024 throws com.liferay.portal.kernel.exception.SystemException {
025 return getFinder().countByC_T(createDate, threadId);
026 }
027
028 public static int countByG_U_C_S(long groupId, long userId,
029 long[] categoryIds, int status)
030 throws com.liferay.portal.kernel.exception.SystemException {
031 return getFinder().countByG_U_C_S(groupId, userId, categoryIds, status);
032 }
033
034 public static int countByG_U_C_A_S(long groupId, long userId,
035 long[] categoryIds, boolean anonymous, int status)
036 throws com.liferay.portal.kernel.exception.SystemException {
037 return getFinder()
038 .countByG_U_C_A_S(groupId, userId, categoryIds, anonymous,
039 status);
040 }
041
042 public static int filterCountByG_U_C_S(long groupId, long userId,
043 long[] categoryIds, int status)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return getFinder()
046 .filterCountByG_U_C_S(groupId, userId, categoryIds, status);
047 }
048
049 public static int filterCountByG_U_C_A_S(long groupId, long userId,
050 long[] categoryIds, boolean anonymous, int status)
051 throws com.liferay.portal.kernel.exception.SystemException {
052 return getFinder()
053 .filterCountByG_U_C_A_S(groupId, userId, categoryIds,
054 anonymous, status);
055 }
056
057 public static java.util.List<java.lang.Long> filterFindByG_U_C_S(
058 long groupId, long userId, long[] categoryIds, int status, int start,
059 int end) throws com.liferay.portal.kernel.exception.SystemException {
060 return getFinder()
061 .filterFindByG_U_C_S(groupId, userId, categoryIds, status,
062 start, end);
063 }
064
065 public static java.util.List<java.lang.Long> filterFindByG_U_C_A_S(
066 long groupId, long userId, long[] categoryIds, boolean anonymous,
067 int status, int start, int end)
068 throws com.liferay.portal.kernel.exception.SystemException {
069 return getFinder()
070 .filterFindByG_U_C_A_S(groupId, userId, categoryIds,
071 anonymous, status, start, end);
072 }
073
074 public static java.util.List<com.liferay.portlet.messageboards.model.MBMessage> findByNoAssets()
075 throws com.liferay.portal.kernel.exception.SystemException {
076 return getFinder().findByNoAssets();
077 }
078
079 public static java.util.List<java.lang.Long> findByG_U_C_S(long groupId,
080 long userId, long[] categoryIds, int status, int start, int end)
081 throws com.liferay.portal.kernel.exception.SystemException {
082 return getFinder()
083 .findByG_U_C_S(groupId, userId, categoryIds, status, start,
084 end);
085 }
086
087 public static java.util.List<java.lang.Long> findByG_U_C_A_S(long groupId,
088 long userId, long[] categoryIds, boolean anonymous, int status,
089 int start, int end)
090 throws com.liferay.portal.kernel.exception.SystemException {
091 return getFinder()
092 .findByG_U_C_A_S(groupId, userId, categoryIds, anonymous,
093 status, start, end);
094 }
095
096 public static MBMessageFinder getFinder() {
097 if (_finder == null) {
098 _finder = (MBMessageFinder)PortalBeanLocatorUtil.locate(MBMessageFinder.class.getName());
099 }
100
101 return _finder;
102 }
103
104 public void setFinder(MBMessageFinder finder) {
105 _finder = finder;
106 }
107
108 private static MBMessageFinder _finder;
109 }