001
014
015 package com.liferay.portlet.messageboards.service.persistence;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
020 import com.liferay.portal.kernel.util.ReferenceRegistry;
021
022
025 @ProviderType
026 public class MBThreadFinderUtil {
027 public static int countByG_U(long groupId, long userId,
028 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
029 throws com.liferay.portal.kernel.exception.SystemException {
030 return getFinder().countByG_U(groupId, userId, queryDefinition);
031 }
032
033 public static int countByG_C(long groupId, long categoryId,
034 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
035 throws com.liferay.portal.kernel.exception.SystemException {
036 return getFinder().countByG_C(groupId, categoryId, queryDefinition);
037 }
038
039 public static int countByG_U_C(long groupId, long userId,
040 long[] categoryIds,
041 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return getFinder()
044 .countByG_U_C(groupId, userId, categoryIds, queryDefinition);
045 }
046
047 public static int countByG_U_LPD(long groupId, long userId,
048 java.util.Date lastPostDate,
049 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
050 throws com.liferay.portal.kernel.exception.SystemException {
051 return getFinder()
052 .countByG_U_LPD(groupId, userId, lastPostDate,
053 queryDefinition);
054 }
055
056 public static int countByG_U_A(long groupId, long userId,
057 boolean anonymous,
058 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
059 throws com.liferay.portal.kernel.exception.SystemException {
060 return getFinder()
061 .countByG_U_A(groupId, userId, anonymous, queryDefinition);
062 }
063
064 public static int countByS_G_U(long groupId, long userId,
065 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
066 throws com.liferay.portal.kernel.exception.SystemException {
067 return getFinder().countByS_G_U(groupId, userId, queryDefinition);
068 }
069
070 public static int countByG_U_C_A(long groupId, long userId,
071 long[] categoryIds, boolean anonymous,
072 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
073 throws com.liferay.portal.kernel.exception.SystemException {
074 return getFinder()
075 .countByG_U_C_A(groupId, userId, categoryIds, anonymous,
076 queryDefinition);
077 }
078
079 public static int countByS_G_U_C(long groupId, long userId,
080 long[] categoryIds,
081 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
082 throws com.liferay.portal.kernel.exception.SystemException {
083 return getFinder()
084 .countByS_G_U_C(groupId, userId, categoryIds, queryDefinition);
085 }
086
087 public static int filterCountByG_C(long groupId, long categoryId)
088 throws com.liferay.portal.kernel.exception.SystemException {
089 return getFinder().filterCountByG_C(groupId, categoryId);
090 }
091
092 public static int filterCountByG_C(long groupId, long categoryId,
093 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
094 throws com.liferay.portal.kernel.exception.SystemException {
095 return getFinder().filterCountByG_C(groupId, categoryId, queryDefinition);
096 }
097
098 public static int filterCountByS_G_U_C(long groupId, long userId,
099 long[] categoryIds,
100 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return getFinder()
103 .filterCountByS_G_U_C(groupId, userId, categoryIds,
104 queryDefinition);
105 }
106
107 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> filterFindByG_C(
108 long groupId, long categoryId, int start, int end)
109 throws com.liferay.portal.kernel.exception.SystemException {
110 return getFinder().filterFindByG_C(groupId, categoryId, start, end);
111 }
112
113 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> filterFindByG_C(
114 long groupId, long categoryId,
115 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
116 throws com.liferay.portal.kernel.exception.SystemException {
117 return getFinder().filterFindByG_C(groupId, categoryId, queryDefinition);
118 }
119
120 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> filterFindByS_G_U_C(
121 long groupId, long userId, long[] categoryIds,
122 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
123 throws com.liferay.portal.kernel.exception.SystemException {
124 return getFinder()
125 .filterFindByS_G_U_C(groupId, userId, categoryIds,
126 queryDefinition);
127 }
128
129 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByNoAssets()
130 throws com.liferay.portal.kernel.exception.SystemException {
131 return getFinder().findByNoAssets();
132 }
133
134 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_U(
135 long groupId, long userId,
136 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
137 throws com.liferay.portal.kernel.exception.SystemException {
138 return getFinder().findByG_U(groupId, userId, queryDefinition);
139 }
140
141 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C(
142 long groupId, long categoryId,
143 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
144 throws com.liferay.portal.kernel.exception.SystemException {
145 return getFinder().findByG_C(groupId, categoryId, queryDefinition);
146 }
147
148 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_U_C(
149 long groupId, long userId, long[] categoryIds,
150 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
151 throws com.liferay.portal.kernel.exception.SystemException {
152 return getFinder()
153 .findByG_U_C(groupId, userId, categoryIds, queryDefinition);
154 }
155
156 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_U_LPD(
157 long groupId, long userId, java.util.Date lastPostDate,
158 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
159 throws com.liferay.portal.kernel.exception.SystemException {
160 return getFinder()
161 .findByG_U_LPD(groupId, userId, lastPostDate, queryDefinition);
162 }
163
164 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_U_A(
165 long groupId, long userId, boolean anonymous,
166 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
167 throws com.liferay.portal.kernel.exception.SystemException {
168 return getFinder()
169 .findByG_U_A(groupId, userId, anonymous, queryDefinition);
170 }
171
172 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByS_G_U(
173 long groupId, long userId,
174 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
175 throws com.liferay.portal.kernel.exception.SystemException {
176 return getFinder().findByS_G_U(groupId, userId, queryDefinition);
177 }
178
179 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_U_C_A(
180 long groupId, long userId, long[] categoryIds, boolean anonymous,
181 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
182 throws com.liferay.portal.kernel.exception.SystemException {
183 return getFinder()
184 .findByG_U_C_A(groupId, userId, categoryIds, anonymous,
185 queryDefinition);
186 }
187
188 public static java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByS_G_U_C(
189 long groupId, long userId, long[] categoryIds,
190 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
191 throws com.liferay.portal.kernel.exception.SystemException {
192 return getFinder()
193 .findByS_G_U_C(groupId, userId, categoryIds, queryDefinition);
194 }
195
196 public static MBThreadFinder getFinder() {
197 if (_finder == null) {
198 _finder = (MBThreadFinder)PortalBeanLocatorUtil.locate(MBThreadFinder.class.getName());
199
200 ReferenceRegistry.registerReference(MBThreadFinderUtil.class,
201 "_finder");
202 }
203
204 return _finder;
205 }
206
207 public void setFinder(MBThreadFinder finder) {
208 _finder = finder;
209
210 ReferenceRegistry.registerReference(MBThreadFinderUtil.class, "_finder");
211 }
212
213 private static MBThreadFinder _finder;
214 }