1
22
23 package com.liferay.portlet.social.service.persistence;
24
25 import com.liferay.portal.service.persistence.BasePersistence;
26
27
40 public interface SocialRequestPersistence extends BasePersistence {
41 public void cacheResult(
42 com.liferay.portlet.social.model.SocialRequest socialRequest);
43
44 public void cacheResult(
45 java.util.List<com.liferay.portlet.social.model.SocialRequest> socialRequests);
46
47 public void clearCache();
48
49 public com.liferay.portlet.social.model.SocialRequest create(long requestId);
50
51 public com.liferay.portlet.social.model.SocialRequest remove(long requestId)
52 throws com.liferay.portal.SystemException,
53 com.liferay.portlet.social.NoSuchRequestException;
54
55 public com.liferay.portlet.social.model.SocialRequest remove(
56 com.liferay.portlet.social.model.SocialRequest socialRequest)
57 throws com.liferay.portal.SystemException;
58
59
62 public com.liferay.portlet.social.model.SocialRequest update(
63 com.liferay.portlet.social.model.SocialRequest socialRequest)
64 throws com.liferay.portal.SystemException;
65
66
78 public com.liferay.portlet.social.model.SocialRequest update(
79 com.liferay.portlet.social.model.SocialRequest socialRequest,
80 boolean merge) throws com.liferay.portal.SystemException;
81
82 public com.liferay.portlet.social.model.SocialRequest updateImpl(
83 com.liferay.portlet.social.model.SocialRequest socialRequest,
84 boolean merge) throws com.liferay.portal.SystemException;
85
86 public com.liferay.portlet.social.model.SocialRequest findByPrimaryKey(
87 long requestId)
88 throws com.liferay.portal.SystemException,
89 com.liferay.portlet.social.NoSuchRequestException;
90
91 public com.liferay.portlet.social.model.SocialRequest fetchByPrimaryKey(
92 long requestId) throws com.liferay.portal.SystemException;
93
94 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByUuid(
95 java.lang.String uuid) throws com.liferay.portal.SystemException;
96
97 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByUuid(
98 java.lang.String uuid, int start, int end)
99 throws com.liferay.portal.SystemException;
100
101 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByUuid(
102 java.lang.String uuid, int start, int end,
103 com.liferay.portal.kernel.util.OrderByComparator obc)
104 throws com.liferay.portal.SystemException;
105
106 public com.liferay.portlet.social.model.SocialRequest findByUuid_First(
107 java.lang.String uuid,
108 com.liferay.portal.kernel.util.OrderByComparator obc)
109 throws com.liferay.portal.SystemException,
110 com.liferay.portlet.social.NoSuchRequestException;
111
112 public com.liferay.portlet.social.model.SocialRequest findByUuid_Last(
113 java.lang.String uuid,
114 com.liferay.portal.kernel.util.OrderByComparator obc)
115 throws com.liferay.portal.SystemException,
116 com.liferay.portlet.social.NoSuchRequestException;
117
118 public com.liferay.portlet.social.model.SocialRequest[] findByUuid_PrevAndNext(
119 long requestId, java.lang.String uuid,
120 com.liferay.portal.kernel.util.OrderByComparator obc)
121 throws com.liferay.portal.SystemException,
122 com.liferay.portlet.social.NoSuchRequestException;
123
124 public com.liferay.portlet.social.model.SocialRequest findByUUID_G(
125 java.lang.String uuid, long groupId)
126 throws com.liferay.portal.SystemException,
127 com.liferay.portlet.social.NoSuchRequestException;
128
129 public com.liferay.portlet.social.model.SocialRequest fetchByUUID_G(
130 java.lang.String uuid, long groupId)
131 throws com.liferay.portal.SystemException;
132
133 public com.liferay.portlet.social.model.SocialRequest fetchByUUID_G(
134 java.lang.String uuid, long groupId, boolean retrieveFromCache)
135 throws com.liferay.portal.SystemException;
136
137 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByCompanyId(
138 long companyId) throws com.liferay.portal.SystemException;
139
140 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByCompanyId(
141 long companyId, int start, int end)
142 throws com.liferay.portal.SystemException;
143
144 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByCompanyId(
145 long companyId, int start, int end,
146 com.liferay.portal.kernel.util.OrderByComparator obc)
147 throws com.liferay.portal.SystemException;
148
149 public com.liferay.portlet.social.model.SocialRequest findByCompanyId_First(
150 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
151 throws com.liferay.portal.SystemException,
152 com.liferay.portlet.social.NoSuchRequestException;
153
154 public com.liferay.portlet.social.model.SocialRequest findByCompanyId_Last(
155 long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
156 throws com.liferay.portal.SystemException,
157 com.liferay.portlet.social.NoSuchRequestException;
158
159 public com.liferay.portlet.social.model.SocialRequest[] findByCompanyId_PrevAndNext(
160 long requestId, long companyId,
161 com.liferay.portal.kernel.util.OrderByComparator obc)
162 throws com.liferay.portal.SystemException,
163 com.liferay.portlet.social.NoSuchRequestException;
164
165 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByUserId(
166 long userId) throws com.liferay.portal.SystemException;
167
168 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByUserId(
169 long userId, int start, int end)
170 throws com.liferay.portal.SystemException;
171
172 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByUserId(
173 long userId, int start, int end,
174 com.liferay.portal.kernel.util.OrderByComparator obc)
175 throws com.liferay.portal.SystemException;
176
177 public com.liferay.portlet.social.model.SocialRequest findByUserId_First(
178 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
179 throws com.liferay.portal.SystemException,
180 com.liferay.portlet.social.NoSuchRequestException;
181
182 public com.liferay.portlet.social.model.SocialRequest findByUserId_Last(
183 long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
184 throws com.liferay.portal.SystemException,
185 com.liferay.portlet.social.NoSuchRequestException;
186
187 public com.liferay.portlet.social.model.SocialRequest[] findByUserId_PrevAndNext(
188 long requestId, long userId,
189 com.liferay.portal.kernel.util.OrderByComparator obc)
190 throws com.liferay.portal.SystemException,
191 com.liferay.portlet.social.NoSuchRequestException;
192
193 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByReceiverUserId(
194 long receiverUserId) throws com.liferay.portal.SystemException;
195
196 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByReceiverUserId(
197 long receiverUserId, int start, int end)
198 throws com.liferay.portal.SystemException;
199
200 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByReceiverUserId(
201 long receiverUserId, int start, int end,
202 com.liferay.portal.kernel.util.OrderByComparator obc)
203 throws com.liferay.portal.SystemException;
204
205 public com.liferay.portlet.social.model.SocialRequest findByReceiverUserId_First(
206 long receiverUserId,
207 com.liferay.portal.kernel.util.OrderByComparator obc)
208 throws com.liferay.portal.SystemException,
209 com.liferay.portlet.social.NoSuchRequestException;
210
211 public com.liferay.portlet.social.model.SocialRequest findByReceiverUserId_Last(
212 long receiverUserId,
213 com.liferay.portal.kernel.util.OrderByComparator obc)
214 throws com.liferay.portal.SystemException,
215 com.liferay.portlet.social.NoSuchRequestException;
216
217 public com.liferay.portlet.social.model.SocialRequest[] findByReceiverUserId_PrevAndNext(
218 long requestId, long receiverUserId,
219 com.liferay.portal.kernel.util.OrderByComparator obc)
220 throws com.liferay.portal.SystemException,
221 com.liferay.portlet.social.NoSuchRequestException;
222
223 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByU_S(
224 long userId, int status) throws com.liferay.portal.SystemException;
225
226 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByU_S(
227 long userId, int status, int start, int end)
228 throws com.liferay.portal.SystemException;
229
230 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByU_S(
231 long userId, int status, int start, int end,
232 com.liferay.portal.kernel.util.OrderByComparator obc)
233 throws com.liferay.portal.SystemException;
234
235 public com.liferay.portlet.social.model.SocialRequest findByU_S_First(
236 long userId, int status,
237 com.liferay.portal.kernel.util.OrderByComparator obc)
238 throws com.liferay.portal.SystemException,
239 com.liferay.portlet.social.NoSuchRequestException;
240
241 public com.liferay.portlet.social.model.SocialRequest findByU_S_Last(
242 long userId, int status,
243 com.liferay.portal.kernel.util.OrderByComparator obc)
244 throws com.liferay.portal.SystemException,
245 com.liferay.portlet.social.NoSuchRequestException;
246
247 public com.liferay.portlet.social.model.SocialRequest[] findByU_S_PrevAndNext(
248 long requestId, long userId, int status,
249 com.liferay.portal.kernel.util.OrderByComparator obc)
250 throws com.liferay.portal.SystemException,
251 com.liferay.portlet.social.NoSuchRequestException;
252
253 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByR_S(
254 long receiverUserId, int status)
255 throws com.liferay.portal.SystemException;
256
257 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByR_S(
258 long receiverUserId, int status, int start, int end)
259 throws com.liferay.portal.SystemException;
260
261 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByR_S(
262 long receiverUserId, int status, int start, int end,
263 com.liferay.portal.kernel.util.OrderByComparator obc)
264 throws com.liferay.portal.SystemException;
265
266 public com.liferay.portlet.social.model.SocialRequest findByR_S_First(
267 long receiverUserId, int status,
268 com.liferay.portal.kernel.util.OrderByComparator obc)
269 throws com.liferay.portal.SystemException,
270 com.liferay.portlet.social.NoSuchRequestException;
271
272 public com.liferay.portlet.social.model.SocialRequest findByR_S_Last(
273 long receiverUserId, int status,
274 com.liferay.portal.kernel.util.OrderByComparator obc)
275 throws com.liferay.portal.SystemException,
276 com.liferay.portlet.social.NoSuchRequestException;
277
278 public com.liferay.portlet.social.model.SocialRequest[] findByR_S_PrevAndNext(
279 long requestId, long receiverUserId, int status,
280 com.liferay.portal.kernel.util.OrderByComparator obc)
281 throws com.liferay.portal.SystemException,
282 com.liferay.portlet.social.NoSuchRequestException;
283
284 public com.liferay.portlet.social.model.SocialRequest findByU_C_C_T_R(
285 long userId, long classNameId, long classPK, int type,
286 long receiverUserId)
287 throws com.liferay.portal.SystemException,
288 com.liferay.portlet.social.NoSuchRequestException;
289
290 public com.liferay.portlet.social.model.SocialRequest fetchByU_C_C_T_R(
291 long userId, long classNameId, long classPK, int type,
292 long receiverUserId) throws com.liferay.portal.SystemException;
293
294 public com.liferay.portlet.social.model.SocialRequest fetchByU_C_C_T_R(
295 long userId, long classNameId, long classPK, int type,
296 long receiverUserId, boolean retrieveFromCache)
297 throws com.liferay.portal.SystemException;
298
299 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByU_C_C_T_S(
300 long userId, long classNameId, long classPK, int type, int status)
301 throws com.liferay.portal.SystemException;
302
303 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByU_C_C_T_S(
304 long userId, long classNameId, long classPK, int type, int status,
305 int start, int end) throws com.liferay.portal.SystemException;
306
307 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByU_C_C_T_S(
308 long userId, long classNameId, long classPK, int type, int status,
309 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
310 throws com.liferay.portal.SystemException;
311
312 public com.liferay.portlet.social.model.SocialRequest findByU_C_C_T_S_First(
313 long userId, long classNameId, long classPK, int type, int status,
314 com.liferay.portal.kernel.util.OrderByComparator obc)
315 throws com.liferay.portal.SystemException,
316 com.liferay.portlet.social.NoSuchRequestException;
317
318 public com.liferay.portlet.social.model.SocialRequest findByU_C_C_T_S_Last(
319 long userId, long classNameId, long classPK, int type, int status,
320 com.liferay.portal.kernel.util.OrderByComparator obc)
321 throws com.liferay.portal.SystemException,
322 com.liferay.portlet.social.NoSuchRequestException;
323
324 public com.liferay.portlet.social.model.SocialRequest[] findByU_C_C_T_S_PrevAndNext(
325 long requestId, long userId, long classNameId, long classPK, int type,
326 int status, com.liferay.portal.kernel.util.OrderByComparator obc)
327 throws com.liferay.portal.SystemException,
328 com.liferay.portlet.social.NoSuchRequestException;
329
330 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByC_C_T_R_S(
331 long classNameId, long classPK, int type, long receiverUserId,
332 int status) throws com.liferay.portal.SystemException;
333
334 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByC_C_T_R_S(
335 long classNameId, long classPK, int type, long receiverUserId,
336 int status, int start, int end)
337 throws com.liferay.portal.SystemException;
338
339 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findByC_C_T_R_S(
340 long classNameId, long classPK, int type, long receiverUserId,
341 int status, int start, int end,
342 com.liferay.portal.kernel.util.OrderByComparator obc)
343 throws com.liferay.portal.SystemException;
344
345 public com.liferay.portlet.social.model.SocialRequest findByC_C_T_R_S_First(
346 long classNameId, long classPK, int type, long receiverUserId,
347 int status, com.liferay.portal.kernel.util.OrderByComparator obc)
348 throws com.liferay.portal.SystemException,
349 com.liferay.portlet.social.NoSuchRequestException;
350
351 public com.liferay.portlet.social.model.SocialRequest findByC_C_T_R_S_Last(
352 long classNameId, long classPK, int type, long receiverUserId,
353 int status, com.liferay.portal.kernel.util.OrderByComparator obc)
354 throws com.liferay.portal.SystemException,
355 com.liferay.portlet.social.NoSuchRequestException;
356
357 public com.liferay.portlet.social.model.SocialRequest[] findByC_C_T_R_S_PrevAndNext(
358 long requestId, long classNameId, long classPK, int type,
359 long receiverUserId, int status,
360 com.liferay.portal.kernel.util.OrderByComparator obc)
361 throws com.liferay.portal.SystemException,
362 com.liferay.portlet.social.NoSuchRequestException;
363
364 public java.util.List<Object> findWithDynamicQuery(
365 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
366 throws com.liferay.portal.SystemException;
367
368 public java.util.List<Object> findWithDynamicQuery(
369 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
370 int end) throws com.liferay.portal.SystemException;
371
372 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findAll()
373 throws com.liferay.portal.SystemException;
374
375 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findAll(
376 int start, int end) throws com.liferay.portal.SystemException;
377
378 public java.util.List<com.liferay.portlet.social.model.SocialRequest> findAll(
379 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
380 throws com.liferay.portal.SystemException;
381
382 public void removeByUuid(java.lang.String uuid)
383 throws com.liferay.portal.SystemException;
384
385 public void removeByUUID_G(java.lang.String uuid, long groupId)
386 throws com.liferay.portal.SystemException,
387 com.liferay.portlet.social.NoSuchRequestException;
388
389 public void removeByCompanyId(long companyId)
390 throws com.liferay.portal.SystemException;
391
392 public void removeByUserId(long userId)
393 throws com.liferay.portal.SystemException;
394
395 public void removeByReceiverUserId(long receiverUserId)
396 throws com.liferay.portal.SystemException;
397
398 public void removeByU_S(long userId, int status)
399 throws com.liferay.portal.SystemException;
400
401 public void removeByR_S(long receiverUserId, int status)
402 throws com.liferay.portal.SystemException;
403
404 public void removeByU_C_C_T_R(long userId, long classNameId, long classPK,
405 int type, long receiverUserId)
406 throws com.liferay.portal.SystemException,
407 com.liferay.portlet.social.NoSuchRequestException;
408
409 public void removeByU_C_C_T_S(long userId, long classNameId, long classPK,
410 int type, int status) throws com.liferay.portal.SystemException;
411
412 public void removeByC_C_T_R_S(long classNameId, long classPK, int type,
413 long receiverUserId, int status)
414 throws com.liferay.portal.SystemException;
415
416 public void removeAll() throws com.liferay.portal.SystemException;
417
418 public int countByUuid(java.lang.String uuid)
419 throws com.liferay.portal.SystemException;
420
421 public int countByUUID_G(java.lang.String uuid, long groupId)
422 throws com.liferay.portal.SystemException;
423
424 public int countByCompanyId(long companyId)
425 throws com.liferay.portal.SystemException;
426
427 public int countByUserId(long userId)
428 throws com.liferay.portal.SystemException;
429
430 public int countByReceiverUserId(long receiverUserId)
431 throws com.liferay.portal.SystemException;
432
433 public int countByU_S(long userId, int status)
434 throws com.liferay.portal.SystemException;
435
436 public int countByR_S(long receiverUserId, int status)
437 throws com.liferay.portal.SystemException;
438
439 public int countByU_C_C_T_R(long userId, long classNameId, long classPK,
440 int type, long receiverUserId)
441 throws com.liferay.portal.SystemException;
442
443 public int countByU_C_C_T_S(long userId, long classNameId, long classPK,
444 int type, int status) throws com.liferay.portal.SystemException;
445
446 public int countByC_C_T_R_S(long classNameId, long classPK, int type,
447 long receiverUserId, int status)
448 throws com.liferay.portal.SystemException;
449
450 public int countAll() throws com.liferay.portal.SystemException;
451 }