001
014
015 package com.liferay.portlet.messageboards.service.persistence;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
023 public class MBThreadFinderUtil {
024 public static int countByG_U_S(long groupId, long userId, int status)
025 throws com.liferay.portal.kernel.exception.SystemException {
026 return getFinder().countByG_U_S(groupId, userId, status);
027 }
028
029 public static int countByG_C_S(long groupId, long categoryId, int status)
030 throws com.liferay.portal.kernel.exception.SystemException {
031 return getFinder().countByG_C_S(groupId, categoryId, status);
032 }
033
034 public static int countByG_U_A_S(long groupId, long userId,
035 boolean anonymous, int status)
036 throws com.liferay.portal.kernel.exception.SystemException {
037 return getFinder().countByG_U_A_S(groupId, userId, anonymous, status);
038 }
039
040 public static int countByS_G_U_S(long groupId, long userId, int status)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return getFinder().countByS_G_U_S(groupId, userId, status);
043 }
044
045 public static int countByS_G_U_C_S(long groupId, long userId,
046 long[] categoryIds, int status)
047 throws com.liferay.portal.kernel.exception.SystemException {
048 return getFinder().countByS_G_U_C_S(groupId, userId, categoryIds, status);
049 }
050
051 public static int filterCountByG_C(long groupId, long categoryId)
052 throws com.liferay.portal.kernel.exception.SystemException {
053 return getFinder().filterCountByG_C(groupId, categoryId);
054 }
055
056 public static int filterCountByG_C_S(long groupId, long categoryId,
057 int status) throws com.liferay.portal.kernel.exception.SystemException {
058 return getFinder().filterCountByG_C_S(groupId, categoryId, status);
059 }
060
061 public static int filterCountByS_G_U_C_S(long groupId, long userId,
062 long[] categoryIds, int status)
063 throws com.liferay.portal.kernel.exception.SystemException {
064 return getFinder()
065 .filterCountByS_G_U_C_S(groupId, userId, categoryIds, status);
066 }
067
068 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> filterFindByG_C(
069 long groupId, long categoryId, int start, int end)
070 throws com.liferay.portal.kernel.exception.SystemException {
071 return getFinder().filterFindByG_C(groupId, categoryId, start, end);
072 }
073
074 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> filterFindByG_C_S(
075 long groupId, long categoryId, int status, int start, int end)
076 throws com.liferay.portal.kernel.exception.SystemException {
077 return getFinder()
078 .filterFindByG_C_S(groupId, categoryId, status, start, end);
079 }
080
081 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> filterFindByS_G_U_C_S(
082 long groupId, long userId, long[] categoryIds, int status, int start,
083 int end) throws com.liferay.portal.kernel.exception.SystemException {
084 return getFinder()
085 .filterFindByS_G_U_C_S(groupId, userId, categoryIds, status,
086 start, end);
087 }
088
089 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByNoAssets()
090 throws com.liferay.portal.kernel.exception.SystemException {
091 return getFinder().findByNoAssets();
092 }
093
094 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_U_S(
095 long groupId, long userId, int status, int start, int end)
096 throws com.liferay.portal.kernel.exception.SystemException {
097 return getFinder().findByG_U_S(groupId, userId, status, start, end);
098 }
099
100 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C_S(
101 long groupId, long categoryId, int status, int start, int end)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return getFinder().findByG_C_S(groupId, categoryId, status, start, end);
104 }
105
106 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_U_A_S(
107 long groupId, long userId, boolean anonymous, int status, int start,
108 int end) throws com.liferay.portal.kernel.exception.SystemException {
109 return getFinder()
110 .findByG_U_A_S(groupId, userId, anonymous, status, start, end);
111 }
112
113 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByS_G_U_S(
114 long groupId, long userId, int status, int start, int end)
115 throws com.liferay.portal.kernel.exception.SystemException {
116 return getFinder().findByS_G_U_S(groupId, userId, status, start, end);
117 }
118
119 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByS_G_U_C_S(
120 long groupId, long userId, long[] categoryIds, int status, int start,
121 int end) throws com.liferay.portal.kernel.exception.SystemException {
122 return getFinder()
123 .findByS_G_U_C_S(groupId, userId, categoryIds, status,
124 start, end);
125 }
126
127 public static MBThreadFinder getFinder() {
128 if (_finder == null) {
129 _finder = (MBThreadFinder)PortalBeanLocatorUtil.locate(MBThreadFinder.class.getName());
130
131 ReferenceRegistry.registerReference(MBThreadFinderUtil.class,
132 "_finder");
133 }
134
135 return _finder;
136 }
137
138 public void setFinder(MBThreadFinder finder) {
139 _finder = finder;
140
141 ReferenceRegistry.registerReference(MBThreadFinderUtil.class, "_finder");
142 }
143
144 private static MBThreadFinder _finder;
145 }