001
014
015 package com.liferay.portlet.messageboards.service.persistence;
016
017 import com.liferay.portal.service.persistence.BasePersistence;
018
019 import com.liferay.portlet.messageboards.model.MBThread;
020
021
027 public interface MBThreadPersistence extends BasePersistence<MBThread> {
028 public void cacheResult(
029 com.liferay.portlet.messageboards.model.MBThread mbThread);
030
031 public void cacheResult(
032 java.util.List<com.liferay.portlet.messageboards.model.MBThread> mbThreads);
033
034 public com.liferay.portlet.messageboards.model.MBThread create(
035 long threadId);
036
037 public com.liferay.portlet.messageboards.model.MBThread remove(
038 long threadId)
039 throws com.liferay.portal.kernel.exception.SystemException,
040 com.liferay.portlet.messageboards.NoSuchThreadException;
041
042 public com.liferay.portlet.messageboards.model.MBThread updateImpl(
043 com.liferay.portlet.messageboards.model.MBThread mbThread, boolean merge)
044 throws com.liferay.portal.kernel.exception.SystemException;
045
046 public com.liferay.portlet.messageboards.model.MBThread findByPrimaryKey(
047 long threadId)
048 throws com.liferay.portal.kernel.exception.SystemException,
049 com.liferay.portlet.messageboards.NoSuchThreadException;
050
051 public com.liferay.portlet.messageboards.model.MBThread fetchByPrimaryKey(
052 long threadId)
053 throws com.liferay.portal.kernel.exception.SystemException;
054
055 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByGroupId(
056 long groupId)
057 throws com.liferay.portal.kernel.exception.SystemException;
058
059 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByGroupId(
060 long groupId, int start, int end)
061 throws com.liferay.portal.kernel.exception.SystemException;
062
063 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByGroupId(
064 long groupId, int start, int end,
065 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
066 throws com.liferay.portal.kernel.exception.SystemException;
067
068 public com.liferay.portlet.messageboards.model.MBThread findByGroupId_First(
069 long groupId,
070 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
071 throws com.liferay.portal.kernel.exception.SystemException,
072 com.liferay.portlet.messageboards.NoSuchThreadException;
073
074 public com.liferay.portlet.messageboards.model.MBThread findByGroupId_Last(
075 long groupId,
076 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
077 throws com.liferay.portal.kernel.exception.SystemException,
078 com.liferay.portlet.messageboards.NoSuchThreadException;
079
080 public com.liferay.portlet.messageboards.model.MBThread[] findByGroupId_PrevAndNext(
081 long threadId, long groupId,
082 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
083 throws com.liferay.portal.kernel.exception.SystemException,
084 com.liferay.portlet.messageboards.NoSuchThreadException;
085
086 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C(
087 long groupId, long categoryId)
088 throws com.liferay.portal.kernel.exception.SystemException;
089
090 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C(
091 long groupId, long categoryId, int start, int end)
092 throws com.liferay.portal.kernel.exception.SystemException;
093
094 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C(
095 long groupId, long categoryId, int start, int end,
096 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
097 throws com.liferay.portal.kernel.exception.SystemException;
098
099 public com.liferay.portlet.messageboards.model.MBThread findByG_C_First(
100 long groupId, long categoryId,
101 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
102 throws com.liferay.portal.kernel.exception.SystemException,
103 com.liferay.portlet.messageboards.NoSuchThreadException;
104
105 public com.liferay.portlet.messageboards.model.MBThread findByG_C_Last(
106 long groupId, long categoryId,
107 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
108 throws com.liferay.portal.kernel.exception.SystemException,
109 com.liferay.portlet.messageboards.NoSuchThreadException;
110
111 public com.liferay.portlet.messageboards.model.MBThread[] findByG_C_PrevAndNext(
112 long threadId, long groupId, long categoryId,
113 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
114 throws com.liferay.portal.kernel.exception.SystemException,
115 com.liferay.portlet.messageboards.NoSuchThreadException;
116
117 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C(
118 long groupId, long[] categoryIds)
119 throws com.liferay.portal.kernel.exception.SystemException;
120
121 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C(
122 long groupId, long[] categoryIds, int start, int end)
123 throws com.liferay.portal.kernel.exception.SystemException;
124
125 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C(
126 long groupId, long[] categoryIds, int start, int end,
127 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
128 throws com.liferay.portal.kernel.exception.SystemException;
129
130 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_NotC(
131 long groupId, long categoryId)
132 throws com.liferay.portal.kernel.exception.SystemException;
133
134 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_NotC(
135 long groupId, long categoryId, int start, int end)
136 throws com.liferay.portal.kernel.exception.SystemException;
137
138 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_NotC(
139 long groupId, long categoryId, int start, int end,
140 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
141 throws com.liferay.portal.kernel.exception.SystemException;
142
143 public com.liferay.portlet.messageboards.model.MBThread findByG_NotC_First(
144 long groupId, long categoryId,
145 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
146 throws com.liferay.portal.kernel.exception.SystemException,
147 com.liferay.portlet.messageboards.NoSuchThreadException;
148
149 public com.liferay.portlet.messageboards.model.MBThread findByG_NotC_Last(
150 long groupId, long categoryId,
151 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
152 throws com.liferay.portal.kernel.exception.SystemException,
153 com.liferay.portlet.messageboards.NoSuchThreadException;
154
155 public com.liferay.portlet.messageboards.model.MBThread[] findByG_NotC_PrevAndNext(
156 long threadId, long groupId, long categoryId,
157 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
158 throws com.liferay.portal.kernel.exception.SystemException,
159 com.liferay.portlet.messageboards.NoSuchThreadException;
160
161 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_S(
162 long groupId, int status)
163 throws com.liferay.portal.kernel.exception.SystemException;
164
165 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_S(
166 long groupId, int status, int start, int end)
167 throws com.liferay.portal.kernel.exception.SystemException;
168
169 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_S(
170 long groupId, int status, int start, int end,
171 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
172 throws com.liferay.portal.kernel.exception.SystemException;
173
174 public com.liferay.portlet.messageboards.model.MBThread findByG_S_First(
175 long groupId, int status,
176 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
177 throws com.liferay.portal.kernel.exception.SystemException,
178 com.liferay.portlet.messageboards.NoSuchThreadException;
179
180 public com.liferay.portlet.messageboards.model.MBThread findByG_S_Last(
181 long groupId, int status,
182 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
183 throws com.liferay.portal.kernel.exception.SystemException,
184 com.liferay.portlet.messageboards.NoSuchThreadException;
185
186 public com.liferay.portlet.messageboards.model.MBThread[] findByG_S_PrevAndNext(
187 long threadId, long groupId, int status,
188 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
189 throws com.liferay.portal.kernel.exception.SystemException,
190 com.liferay.portlet.messageboards.NoSuchThreadException;
191
192 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByC_P(
193 long categoryId, double priority)
194 throws com.liferay.portal.kernel.exception.SystemException;
195
196 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByC_P(
197 long categoryId, double priority, int start, int end)
198 throws com.liferay.portal.kernel.exception.SystemException;
199
200 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByC_P(
201 long categoryId, double priority, int start, int end,
202 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
203 throws com.liferay.portal.kernel.exception.SystemException;
204
205 public com.liferay.portlet.messageboards.model.MBThread findByC_P_First(
206 long categoryId, double priority,
207 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
208 throws com.liferay.portal.kernel.exception.SystemException,
209 com.liferay.portlet.messageboards.NoSuchThreadException;
210
211 public com.liferay.portlet.messageboards.model.MBThread findByC_P_Last(
212 long categoryId, double priority,
213 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
214 throws com.liferay.portal.kernel.exception.SystemException,
215 com.liferay.portlet.messageboards.NoSuchThreadException;
216
217 public com.liferay.portlet.messageboards.model.MBThread[] findByC_P_PrevAndNext(
218 long threadId, long categoryId, double priority,
219 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
220 throws com.liferay.portal.kernel.exception.SystemException,
221 com.liferay.portlet.messageboards.NoSuchThreadException;
222
223 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C_L(
224 long groupId, long categoryId, java.util.Date lastPostDate)
225 throws com.liferay.portal.kernel.exception.SystemException;
226
227 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C_L(
228 long groupId, long categoryId, java.util.Date lastPostDate, int start,
229 int end) throws com.liferay.portal.kernel.exception.SystemException;
230
231 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C_L(
232 long groupId, long categoryId, java.util.Date lastPostDate, int start,
233 int end,
234 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
235 throws com.liferay.portal.kernel.exception.SystemException;
236
237 public com.liferay.portlet.messageboards.model.MBThread findByG_C_L_First(
238 long groupId, long categoryId, java.util.Date lastPostDate,
239 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
240 throws com.liferay.portal.kernel.exception.SystemException,
241 com.liferay.portlet.messageboards.NoSuchThreadException;
242
243 public com.liferay.portlet.messageboards.model.MBThread findByG_C_L_Last(
244 long groupId, long categoryId, java.util.Date lastPostDate,
245 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
246 throws com.liferay.portal.kernel.exception.SystemException,
247 com.liferay.portlet.messageboards.NoSuchThreadException;
248
249 public com.liferay.portlet.messageboards.model.MBThread[] findByG_C_L_PrevAndNext(
250 long threadId, long groupId, long categoryId,
251 java.util.Date lastPostDate,
252 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
253 throws com.liferay.portal.kernel.exception.SystemException,
254 com.liferay.portlet.messageboards.NoSuchThreadException;
255
256 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C_S(
257 long groupId, long categoryId, int status)
258 throws com.liferay.portal.kernel.exception.SystemException;
259
260 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C_S(
261 long groupId, long categoryId, int status, int start, int end)
262 throws com.liferay.portal.kernel.exception.SystemException;
263
264 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C_S(
265 long groupId, long categoryId, int status, int start, int end,
266 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
267 throws com.liferay.portal.kernel.exception.SystemException;
268
269 public com.liferay.portlet.messageboards.model.MBThread findByG_C_S_First(
270 long groupId, long categoryId, int status,
271 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
272 throws com.liferay.portal.kernel.exception.SystemException,
273 com.liferay.portlet.messageboards.NoSuchThreadException;
274
275 public com.liferay.portlet.messageboards.model.MBThread findByG_C_S_Last(
276 long groupId, long categoryId, int status,
277 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
278 throws com.liferay.portal.kernel.exception.SystemException,
279 com.liferay.portlet.messageboards.NoSuchThreadException;
280
281 public com.liferay.portlet.messageboards.model.MBThread[] findByG_C_S_PrevAndNext(
282 long threadId, long groupId, long categoryId, int status,
283 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
284 throws com.liferay.portal.kernel.exception.SystemException,
285 com.liferay.portlet.messageboards.NoSuchThreadException;
286
287 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C_S(
288 long groupId, long[] categoryIds, int status)
289 throws com.liferay.portal.kernel.exception.SystemException;
290
291 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C_S(
292 long groupId, long[] categoryIds, int status, int start, int end)
293 throws com.liferay.portal.kernel.exception.SystemException;
294
295 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_C_S(
296 long groupId, long[] categoryIds, int status, int start, int end,
297 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
298 throws com.liferay.portal.kernel.exception.SystemException;
299
300 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_NotC_S(
301 long groupId, long categoryId, int status)
302 throws com.liferay.portal.kernel.exception.SystemException;
303
304 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_NotC_S(
305 long groupId, long categoryId, int status, int start, int end)
306 throws com.liferay.portal.kernel.exception.SystemException;
307
308 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findByG_NotC_S(
309 long groupId, long categoryId, int status, int start, int end,
310 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
311 throws com.liferay.portal.kernel.exception.SystemException;
312
313 public com.liferay.portlet.messageboards.model.MBThread findByG_NotC_S_First(
314 long groupId, long categoryId, int status,
315 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
316 throws com.liferay.portal.kernel.exception.SystemException,
317 com.liferay.portlet.messageboards.NoSuchThreadException;
318
319 public com.liferay.portlet.messageboards.model.MBThread findByG_NotC_S_Last(
320 long groupId, long categoryId, int status,
321 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
322 throws com.liferay.portal.kernel.exception.SystemException,
323 com.liferay.portlet.messageboards.NoSuchThreadException;
324
325 public com.liferay.portlet.messageboards.model.MBThread[] findByG_NotC_S_PrevAndNext(
326 long threadId, long groupId, long categoryId, int status,
327 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
328 throws com.liferay.portal.kernel.exception.SystemException,
329 com.liferay.portlet.messageboards.NoSuchThreadException;
330
331 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findAll()
332 throws com.liferay.portal.kernel.exception.SystemException;
333
334 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findAll(
335 int start, int end)
336 throws com.liferay.portal.kernel.exception.SystemException;
337
338 public java.util.List<com.liferay.portlet.messageboards.model.MBThread> findAll(
339 int start, int end,
340 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
341 throws com.liferay.portal.kernel.exception.SystemException;
342
343 public void removeByGroupId(long groupId)
344 throws com.liferay.portal.kernel.exception.SystemException;
345
346 public void removeByG_C(long groupId, long categoryId)
347 throws com.liferay.portal.kernel.exception.SystemException;
348
349 public void removeByG_NotC(long groupId, long categoryId)
350 throws com.liferay.portal.kernel.exception.SystemException;
351
352 public void removeByG_S(long groupId, int status)
353 throws com.liferay.portal.kernel.exception.SystemException;
354
355 public void removeByC_P(long categoryId, double priority)
356 throws com.liferay.portal.kernel.exception.SystemException;
357
358 public void removeByG_C_L(long groupId, long categoryId,
359 java.util.Date lastPostDate)
360 throws com.liferay.portal.kernel.exception.SystemException;
361
362 public void removeByG_C_S(long groupId, long categoryId, int status)
363 throws com.liferay.portal.kernel.exception.SystemException;
364
365 public void removeByG_NotC_S(long groupId, long categoryId, int status)
366 throws com.liferay.portal.kernel.exception.SystemException;
367
368 public void removeAll()
369 throws com.liferay.portal.kernel.exception.SystemException;
370
371 public int countByGroupId(long groupId)
372 throws com.liferay.portal.kernel.exception.SystemException;
373
374 public int countByG_C(long groupId, long categoryId)
375 throws com.liferay.portal.kernel.exception.SystemException;
376
377 public int countByG_C(long groupId, long[] categoryIds)
378 throws com.liferay.portal.kernel.exception.SystemException;
379
380 public int countByG_NotC(long groupId, long categoryId)
381 throws com.liferay.portal.kernel.exception.SystemException;
382
383 public int countByG_S(long groupId, int status)
384 throws com.liferay.portal.kernel.exception.SystemException;
385
386 public int countByC_P(long categoryId, double priority)
387 throws com.liferay.portal.kernel.exception.SystemException;
388
389 public int countByG_C_L(long groupId, long categoryId,
390 java.util.Date lastPostDate)
391 throws com.liferay.portal.kernel.exception.SystemException;
392
393 public int countByG_C_S(long groupId, long categoryId, int status)
394 throws com.liferay.portal.kernel.exception.SystemException;
395
396 public int countByG_C_S(long groupId, long[] categoryIds, int status)
397 throws com.liferay.portal.kernel.exception.SystemException;
398
399 public int countByG_NotC_S(long groupId, long categoryId, int status)
400 throws com.liferay.portal.kernel.exception.SystemException;
401
402 public int countAll()
403 throws com.liferay.portal.kernel.exception.SystemException;
404 }