1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    *
5    *
6    *
7    * The contents of this file are subject to the terms of the Liferay Enterprise
8    * Subscription License ("License"). You may not use this file except in
9    * compliance with the License. You can obtain a copy of the License by
10   * contacting Liferay, Inc. See the License for the specific language governing
11   * permissions and limitations under the License, including but not limited to
12   * distribution rights of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.social.service.persistence;
24  
25  
26  /**
27   * <a href="SocialRequestUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * @author    Brian Wing Shun Chan
35   * @see       SocialRequestPersistence
36   * @see       SocialRequestPersistenceImpl
37   * @generated
38   */
39  public class SocialRequestUtil {
40      public static void cacheResult(
41          com.liferay.portlet.social.model.SocialRequest socialRequest) {
42          getPersistence().cacheResult(socialRequest);
43      }
44  
45      public static void cacheResult(
46          java.util.List<com.liferay.portlet.social.model.SocialRequest> socialRequests) {
47          getPersistence().cacheResult(socialRequests);
48      }
49  
50      public static void clearCache() {
51          getPersistence().clearCache();
52      }
53  
54      public static com.liferay.portlet.social.model.SocialRequest create(
55          long requestId) {
56          return getPersistence().create(requestId);
57      }
58  
59      public static com.liferay.portlet.social.model.SocialRequest remove(
60          long requestId)
61          throws com.liferay.portal.SystemException,
62              com.liferay.portlet.social.NoSuchRequestException {
63          return getPersistence().remove(requestId);
64      }
65  
66      public static com.liferay.portlet.social.model.SocialRequest remove(
67          com.liferay.portlet.social.model.SocialRequest socialRequest)
68          throws com.liferay.portal.SystemException {
69          return getPersistence().remove(socialRequest);
70      }
71  
72      /**
73       * @deprecated Use {@link #update(SocialRequest, boolean merge)}.
74       */
75      public static com.liferay.portlet.social.model.SocialRequest update(
76          com.liferay.portlet.social.model.SocialRequest socialRequest)
77          throws com.liferay.portal.SystemException {
78          return getPersistence().update(socialRequest);
79      }
80  
81      /**
82       * Add, update, or merge, the entity. This method also calls the model
83       * listeners to trigger the proper events associated with adding, deleting,
84       * or updating an entity.
85       *
86       * @param  socialRequest the entity to add, update, or merge
87       * @param  merge boolean value for whether to merge the entity. The default
88       *         value is false. Setting merge to true is more expensive and
89       *         should only be true when socialRequest is transient. See
90       *         LEP-5473 for a detailed discussion of this method.
91       * @return the entity that was added, updated, or merged
92       */
93      public static com.liferay.portlet.social.model.SocialRequest update(
94          com.liferay.portlet.social.model.SocialRequest socialRequest,
95          boolean merge) throws com.liferay.portal.SystemException {
96          return getPersistence().update(socialRequest, merge);
97      }
98  
99      public static com.liferay.portlet.social.model.SocialRequest updateImpl(
100         com.liferay.portlet.social.model.SocialRequest socialRequest,
101         boolean merge) throws com.liferay.portal.SystemException {
102         return getPersistence().updateImpl(socialRequest, merge);
103     }
104 
105     public static com.liferay.portlet.social.model.SocialRequest findByPrimaryKey(
106         long requestId)
107         throws com.liferay.portal.SystemException,
108             com.liferay.portlet.social.NoSuchRequestException {
109         return getPersistence().findByPrimaryKey(requestId);
110     }
111 
112     public static com.liferay.portlet.social.model.SocialRequest fetchByPrimaryKey(
113         long requestId) throws com.liferay.portal.SystemException {
114         return getPersistence().fetchByPrimaryKey(requestId);
115     }
116 
117     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByUuid(
118         java.lang.String uuid) throws com.liferay.portal.SystemException {
119         return getPersistence().findByUuid(uuid);
120     }
121 
122     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByUuid(
123         java.lang.String uuid, int start, int end)
124         throws com.liferay.portal.SystemException {
125         return getPersistence().findByUuid(uuid, start, end);
126     }
127 
128     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByUuid(
129         java.lang.String uuid, int start, int end,
130         com.liferay.portal.kernel.util.OrderByComparator obc)
131         throws com.liferay.portal.SystemException {
132         return getPersistence().findByUuid(uuid, start, end, obc);
133     }
134 
135     public static com.liferay.portlet.social.model.SocialRequest findByUuid_First(
136         java.lang.String uuid,
137         com.liferay.portal.kernel.util.OrderByComparator obc)
138         throws com.liferay.portal.SystemException,
139             com.liferay.portlet.social.NoSuchRequestException {
140         return getPersistence().findByUuid_First(uuid, obc);
141     }
142 
143     public static com.liferay.portlet.social.model.SocialRequest findByUuid_Last(
144         java.lang.String uuid,
145         com.liferay.portal.kernel.util.OrderByComparator obc)
146         throws com.liferay.portal.SystemException,
147             com.liferay.portlet.social.NoSuchRequestException {
148         return getPersistence().findByUuid_Last(uuid, obc);
149     }
150 
151     public static com.liferay.portlet.social.model.SocialRequest[] findByUuid_PrevAndNext(
152         long requestId, java.lang.String uuid,
153         com.liferay.portal.kernel.util.OrderByComparator obc)
154         throws com.liferay.portal.SystemException,
155             com.liferay.portlet.social.NoSuchRequestException {
156         return getPersistence().findByUuid_PrevAndNext(requestId, uuid, obc);
157     }
158 
159     public static com.liferay.portlet.social.model.SocialRequest findByUUID_G(
160         java.lang.String uuid, long groupId)
161         throws com.liferay.portal.SystemException,
162             com.liferay.portlet.social.NoSuchRequestException {
163         return getPersistence().findByUUID_G(uuid, groupId);
164     }
165 
166     public static com.liferay.portlet.social.model.SocialRequest fetchByUUID_G(
167         java.lang.String uuid, long groupId)
168         throws com.liferay.portal.SystemException {
169         return getPersistence().fetchByUUID_G(uuid, groupId);
170     }
171 
172     public static com.liferay.portlet.social.model.SocialRequest fetchByUUID_G(
173         java.lang.String uuid, long groupId, boolean retrieveFromCache)
174         throws com.liferay.portal.SystemException {
175         return getPersistence().fetchByUUID_G(uuid, groupId, retrieveFromCache);
176     }
177 
178     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByCompanyId(
179         long companyId) throws com.liferay.portal.SystemException {
180         return getPersistence().findByCompanyId(companyId);
181     }
182 
183     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByCompanyId(
184         long companyId, int start, int end)
185         throws com.liferay.portal.SystemException {
186         return getPersistence().findByCompanyId(companyId, start, end);
187     }
188 
189     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByCompanyId(
190         long companyId, int start, int end,
191         com.liferay.portal.kernel.util.OrderByComparator obc)
192         throws com.liferay.portal.SystemException {
193         return getPersistence().findByCompanyId(companyId, start, end, obc);
194     }
195 
196     public static com.liferay.portlet.social.model.SocialRequest findByCompanyId_First(
197         long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
198         throws com.liferay.portal.SystemException,
199             com.liferay.portlet.social.NoSuchRequestException {
200         return getPersistence().findByCompanyId_First(companyId, obc);
201     }
202 
203     public static com.liferay.portlet.social.model.SocialRequest findByCompanyId_Last(
204         long companyId, com.liferay.portal.kernel.util.OrderByComparator obc)
205         throws com.liferay.portal.SystemException,
206             com.liferay.portlet.social.NoSuchRequestException {
207         return getPersistence().findByCompanyId_Last(companyId, obc);
208     }
209 
210     public static com.liferay.portlet.social.model.SocialRequest[] findByCompanyId_PrevAndNext(
211         long requestId, long companyId,
212         com.liferay.portal.kernel.util.OrderByComparator obc)
213         throws com.liferay.portal.SystemException,
214             com.liferay.portlet.social.NoSuchRequestException {
215         return getPersistence()
216                    .findByCompanyId_PrevAndNext(requestId, companyId, obc);
217     }
218 
219     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByUserId(
220         long userId) throws com.liferay.portal.SystemException {
221         return getPersistence().findByUserId(userId);
222     }
223 
224     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByUserId(
225         long userId, int start, int end)
226         throws com.liferay.portal.SystemException {
227         return getPersistence().findByUserId(userId, start, end);
228     }
229 
230     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByUserId(
231         long userId, int start, int end,
232         com.liferay.portal.kernel.util.OrderByComparator obc)
233         throws com.liferay.portal.SystemException {
234         return getPersistence().findByUserId(userId, start, end, obc);
235     }
236 
237     public static com.liferay.portlet.social.model.SocialRequest findByUserId_First(
238         long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
239         throws com.liferay.portal.SystemException,
240             com.liferay.portlet.social.NoSuchRequestException {
241         return getPersistence().findByUserId_First(userId, obc);
242     }
243 
244     public static com.liferay.portlet.social.model.SocialRequest findByUserId_Last(
245         long userId, com.liferay.portal.kernel.util.OrderByComparator obc)
246         throws com.liferay.portal.SystemException,
247             com.liferay.portlet.social.NoSuchRequestException {
248         return getPersistence().findByUserId_Last(userId, obc);
249     }
250 
251     public static com.liferay.portlet.social.model.SocialRequest[] findByUserId_PrevAndNext(
252         long requestId, long userId,
253         com.liferay.portal.kernel.util.OrderByComparator obc)
254         throws com.liferay.portal.SystemException,
255             com.liferay.portlet.social.NoSuchRequestException {
256         return getPersistence().findByUserId_PrevAndNext(requestId, userId, obc);
257     }
258 
259     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByReceiverUserId(
260         long receiverUserId) throws com.liferay.portal.SystemException {
261         return getPersistence().findByReceiverUserId(receiverUserId);
262     }
263 
264     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByReceiverUserId(
265         long receiverUserId, int start, int end)
266         throws com.liferay.portal.SystemException {
267         return getPersistence().findByReceiverUserId(receiverUserId, start, end);
268     }
269 
270     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByReceiverUserId(
271         long receiverUserId, int start, int end,
272         com.liferay.portal.kernel.util.OrderByComparator obc)
273         throws com.liferay.portal.SystemException {
274         return getPersistence()
275                    .findByReceiverUserId(receiverUserId, start, end, obc);
276     }
277 
278     public static com.liferay.portlet.social.model.SocialRequest findByReceiverUserId_First(
279         long receiverUserId,
280         com.liferay.portal.kernel.util.OrderByComparator obc)
281         throws com.liferay.portal.SystemException,
282             com.liferay.portlet.social.NoSuchRequestException {
283         return getPersistence().findByReceiverUserId_First(receiverUserId, obc);
284     }
285 
286     public static com.liferay.portlet.social.model.SocialRequest findByReceiverUserId_Last(
287         long receiverUserId,
288         com.liferay.portal.kernel.util.OrderByComparator obc)
289         throws com.liferay.portal.SystemException,
290             com.liferay.portlet.social.NoSuchRequestException {
291         return getPersistence().findByReceiverUserId_Last(receiverUserId, obc);
292     }
293 
294     public static com.liferay.portlet.social.model.SocialRequest[] findByReceiverUserId_PrevAndNext(
295         long requestId, long receiverUserId,
296         com.liferay.portal.kernel.util.OrderByComparator obc)
297         throws com.liferay.portal.SystemException,
298             com.liferay.portlet.social.NoSuchRequestException {
299         return getPersistence()
300                    .findByReceiverUserId_PrevAndNext(requestId, receiverUserId,
301             obc);
302     }
303 
304     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByU_S(
305         long userId, int status) throws com.liferay.portal.SystemException {
306         return getPersistence().findByU_S(userId, status);
307     }
308 
309     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByU_S(
310         long userId, int status, int start, int end)
311         throws com.liferay.portal.SystemException {
312         return getPersistence().findByU_S(userId, status, start, end);
313     }
314 
315     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByU_S(
316         long userId, int status, int start, int end,
317         com.liferay.portal.kernel.util.OrderByComparator obc)
318         throws com.liferay.portal.SystemException {
319         return getPersistence().findByU_S(userId, status, start, end, obc);
320     }
321 
322     public static com.liferay.portlet.social.model.SocialRequest findByU_S_First(
323         long userId, int status,
324         com.liferay.portal.kernel.util.OrderByComparator obc)
325         throws com.liferay.portal.SystemException,
326             com.liferay.portlet.social.NoSuchRequestException {
327         return getPersistence().findByU_S_First(userId, status, obc);
328     }
329 
330     public static com.liferay.portlet.social.model.SocialRequest findByU_S_Last(
331         long userId, int status,
332         com.liferay.portal.kernel.util.OrderByComparator obc)
333         throws com.liferay.portal.SystemException,
334             com.liferay.portlet.social.NoSuchRequestException {
335         return getPersistence().findByU_S_Last(userId, status, obc);
336     }
337 
338     public static com.liferay.portlet.social.model.SocialRequest[] findByU_S_PrevAndNext(
339         long requestId, long userId, int status,
340         com.liferay.portal.kernel.util.OrderByComparator obc)
341         throws com.liferay.portal.SystemException,
342             com.liferay.portlet.social.NoSuchRequestException {
343         return getPersistence()
344                    .findByU_S_PrevAndNext(requestId, userId, status, obc);
345     }
346 
347     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByR_S(
348         long receiverUserId, int status)
349         throws com.liferay.portal.SystemException {
350         return getPersistence().findByR_S(receiverUserId, status);
351     }
352 
353     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByR_S(
354         long receiverUserId, int status, int start, int end)
355         throws com.liferay.portal.SystemException {
356         return getPersistence().findByR_S(receiverUserId, status, start, end);
357     }
358 
359     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByR_S(
360         long receiverUserId, int status, int start, int end,
361         com.liferay.portal.kernel.util.OrderByComparator obc)
362         throws com.liferay.portal.SystemException {
363         return getPersistence()
364                    .findByR_S(receiverUserId, status, start, end, obc);
365     }
366 
367     public static com.liferay.portlet.social.model.SocialRequest findByR_S_First(
368         long receiverUserId, int status,
369         com.liferay.portal.kernel.util.OrderByComparator obc)
370         throws com.liferay.portal.SystemException,
371             com.liferay.portlet.social.NoSuchRequestException {
372         return getPersistence().findByR_S_First(receiverUserId, status, obc);
373     }
374 
375     public static com.liferay.portlet.social.model.SocialRequest findByR_S_Last(
376         long receiverUserId, int status,
377         com.liferay.portal.kernel.util.OrderByComparator obc)
378         throws com.liferay.portal.SystemException,
379             com.liferay.portlet.social.NoSuchRequestException {
380         return getPersistence().findByR_S_Last(receiverUserId, status, obc);
381     }
382 
383     public static com.liferay.portlet.social.model.SocialRequest[] findByR_S_PrevAndNext(
384         long requestId, long receiverUserId, int status,
385         com.liferay.portal.kernel.util.OrderByComparator obc)
386         throws com.liferay.portal.SystemException,
387             com.liferay.portlet.social.NoSuchRequestException {
388         return getPersistence()
389                    .findByR_S_PrevAndNext(requestId, receiverUserId, status, obc);
390     }
391 
392     public static com.liferay.portlet.social.model.SocialRequest findByU_C_C_T_R(
393         long userId, long classNameId, long classPK, int type,
394         long receiverUserId)
395         throws com.liferay.portal.SystemException,
396             com.liferay.portlet.social.NoSuchRequestException {
397         return getPersistence()
398                    .findByU_C_C_T_R(userId, classNameId, classPK, type,
399             receiverUserId);
400     }
401 
402     public static com.liferay.portlet.social.model.SocialRequest fetchByU_C_C_T_R(
403         long userId, long classNameId, long classPK, int type,
404         long receiverUserId) throws com.liferay.portal.SystemException {
405         return getPersistence()
406                    .fetchByU_C_C_T_R(userId, classNameId, classPK, type,
407             receiverUserId);
408     }
409 
410     public static com.liferay.portlet.social.model.SocialRequest fetchByU_C_C_T_R(
411         long userId, long classNameId, long classPK, int type,
412         long receiverUserId, boolean retrieveFromCache)
413         throws com.liferay.portal.SystemException {
414         return getPersistence()
415                    .fetchByU_C_C_T_R(userId, classNameId, classPK, type,
416             receiverUserId, retrieveFromCache);
417     }
418 
419     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByU_C_C_T_S(
420         long userId, long classNameId, long classPK, int type, int status)
421         throws com.liferay.portal.SystemException {
422         return getPersistence()
423                    .findByU_C_C_T_S(userId, classNameId, classPK, type, status);
424     }
425 
426     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByU_C_C_T_S(
427         long userId, long classNameId, long classPK, int type, int status,
428         int start, int end) throws com.liferay.portal.SystemException {
429         return getPersistence()
430                    .findByU_C_C_T_S(userId, classNameId, classPK, type, status,
431             start, end);
432     }
433 
434     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByU_C_C_T_S(
435         long userId, long classNameId, long classPK, int type, int status,
436         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
437         throws com.liferay.portal.SystemException {
438         return getPersistence()
439                    .findByU_C_C_T_S(userId, classNameId, classPK, type, status,
440             start, end, obc);
441     }
442 
443     public static com.liferay.portlet.social.model.SocialRequest findByU_C_C_T_S_First(
444         long userId, long classNameId, long classPK, int type, int status,
445         com.liferay.portal.kernel.util.OrderByComparator obc)
446         throws com.liferay.portal.SystemException,
447             com.liferay.portlet.social.NoSuchRequestException {
448         return getPersistence()
449                    .findByU_C_C_T_S_First(userId, classNameId, classPK, type,
450             status, obc);
451     }
452 
453     public static com.liferay.portlet.social.model.SocialRequest findByU_C_C_T_S_Last(
454         long userId, long classNameId, long classPK, int type, int status,
455         com.liferay.portal.kernel.util.OrderByComparator obc)
456         throws com.liferay.portal.SystemException,
457             com.liferay.portlet.social.NoSuchRequestException {
458         return getPersistence()
459                    .findByU_C_C_T_S_Last(userId, classNameId, classPK, type,
460             status, obc);
461     }
462 
463     public static com.liferay.portlet.social.model.SocialRequest[] findByU_C_C_T_S_PrevAndNext(
464         long requestId, long userId, long classNameId, long classPK, int type,
465         int status, com.liferay.portal.kernel.util.OrderByComparator obc)
466         throws com.liferay.portal.SystemException,
467             com.liferay.portlet.social.NoSuchRequestException {
468         return getPersistence()
469                    .findByU_C_C_T_S_PrevAndNext(requestId, userId, classNameId,
470             classPK, type, status, obc);
471     }
472 
473     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByC_C_T_R_S(
474         long classNameId, long classPK, int type, long receiverUserId,
475         int status) throws com.liferay.portal.SystemException {
476         return getPersistence()
477                    .findByC_C_T_R_S(classNameId, classPK, type, receiverUserId,
478             status);
479     }
480 
481     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByC_C_T_R_S(
482         long classNameId, long classPK, int type, long receiverUserId,
483         int status, int start, int end)
484         throws com.liferay.portal.SystemException {
485         return getPersistence()
486                    .findByC_C_T_R_S(classNameId, classPK, type, receiverUserId,
487             status, start, end);
488     }
489 
490     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findByC_C_T_R_S(
491         long classNameId, long classPK, int type, long receiverUserId,
492         int status, int start, int end,
493         com.liferay.portal.kernel.util.OrderByComparator obc)
494         throws com.liferay.portal.SystemException {
495         return getPersistence()
496                    .findByC_C_T_R_S(classNameId, classPK, type, receiverUserId,
497             status, start, end, obc);
498     }
499 
500     public static com.liferay.portlet.social.model.SocialRequest findByC_C_T_R_S_First(
501         long classNameId, long classPK, int type, long receiverUserId,
502         int status, com.liferay.portal.kernel.util.OrderByComparator obc)
503         throws com.liferay.portal.SystemException,
504             com.liferay.portlet.social.NoSuchRequestException {
505         return getPersistence()
506                    .findByC_C_T_R_S_First(classNameId, classPK, type,
507             receiverUserId, status, obc);
508     }
509 
510     public static com.liferay.portlet.social.model.SocialRequest findByC_C_T_R_S_Last(
511         long classNameId, long classPK, int type, long receiverUserId,
512         int status, com.liferay.portal.kernel.util.OrderByComparator obc)
513         throws com.liferay.portal.SystemException,
514             com.liferay.portlet.social.NoSuchRequestException {
515         return getPersistence()
516                    .findByC_C_T_R_S_Last(classNameId, classPK, type,
517             receiverUserId, status, obc);
518     }
519 
520     public static com.liferay.portlet.social.model.SocialRequest[] findByC_C_T_R_S_PrevAndNext(
521         long requestId, long classNameId, long classPK, int type,
522         long receiverUserId, int status,
523         com.liferay.portal.kernel.util.OrderByComparator obc)
524         throws com.liferay.portal.SystemException,
525             com.liferay.portlet.social.NoSuchRequestException {
526         return getPersistence()
527                    .findByC_C_T_R_S_PrevAndNext(requestId, classNameId,
528             classPK, type, receiverUserId, status, obc);
529     }
530 
531     public static java.util.List<Object> findWithDynamicQuery(
532         com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
533         throws com.liferay.portal.SystemException {
534         return getPersistence().findWithDynamicQuery(dynamicQuery);
535     }
536 
537     public static java.util.List<Object> findWithDynamicQuery(
538         com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
539         int end) throws com.liferay.portal.SystemException {
540         return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
541     }
542 
543     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findAll()
544         throws com.liferay.portal.SystemException {
545         return getPersistence().findAll();
546     }
547 
548     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findAll(
549         int start, int end) throws com.liferay.portal.SystemException {
550         return getPersistence().findAll(start, end);
551     }
552 
553     public static java.util.List<com.liferay.portlet.social.model.SocialRequest> findAll(
554         int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
555         throws com.liferay.portal.SystemException {
556         return getPersistence().findAll(start, end, obc);
557     }
558 
559     public static void removeByUuid(java.lang.String uuid)
560         throws com.liferay.portal.SystemException {
561         getPersistence().removeByUuid(uuid);
562     }
563 
564     public static void removeByUUID_G(java.lang.String uuid, long groupId)
565         throws com.liferay.portal.SystemException,
566             com.liferay.portlet.social.NoSuchRequestException {
567         getPersistence().removeByUUID_G(uuid, groupId);
568     }
569 
570     public static void removeByCompanyId(long companyId)
571         throws com.liferay.portal.SystemException {
572         getPersistence().removeByCompanyId(companyId);
573     }
574 
575     public static void removeByUserId(long userId)
576         throws com.liferay.portal.SystemException {
577         getPersistence().removeByUserId(userId);
578     }
579 
580     public static void removeByReceiverUserId(long receiverUserId)
581         throws com.liferay.portal.SystemException {
582         getPersistence().removeByReceiverUserId(receiverUserId);
583     }
584 
585     public static void removeByU_S(long userId, int status)
586         throws com.liferay.portal.SystemException {
587         getPersistence().removeByU_S(userId, status);
588     }
589 
590     public static void removeByR_S(long receiverUserId, int status)
591         throws com.liferay.portal.SystemException {
592         getPersistence().removeByR_S(receiverUserId, status);
593     }
594 
595     public static void removeByU_C_C_T_R(long userId, long classNameId,
596         long classPK, int type, long receiverUserId)
597         throws com.liferay.portal.SystemException,
598             com.liferay.portlet.social.NoSuchRequestException {
599         getPersistence()
600             .removeByU_C_C_T_R(userId, classNameId, classPK, type,
601             receiverUserId);
602     }
603 
604     public static void removeByU_C_C_T_S(long userId, long classNameId,
605         long classPK, int type, int status)
606         throws com.liferay.portal.SystemException {
607         getPersistence()
608             .removeByU_C_C_T_S(userId, classNameId, classPK, type, status);
609     }
610 
611     public static void removeByC_C_T_R_S(long classNameId, long classPK,
612         int type, long receiverUserId, int status)
613         throws com.liferay.portal.SystemException {
614         getPersistence()
615             .removeByC_C_T_R_S(classNameId, classPK, type, receiverUserId,
616             status);
617     }
618 
619     public static void removeAll() throws com.liferay.portal.SystemException {
620         getPersistence().removeAll();
621     }
622 
623     public static int countByUuid(java.lang.String uuid)
624         throws com.liferay.portal.SystemException {
625         return getPersistence().countByUuid(uuid);
626     }
627 
628     public static int countByUUID_G(java.lang.String uuid, long groupId)
629         throws com.liferay.portal.SystemException {
630         return getPersistence().countByUUID_G(uuid, groupId);
631     }
632 
633     public static int countByCompanyId(long companyId)
634         throws com.liferay.portal.SystemException {
635         return getPersistence().countByCompanyId(companyId);
636     }
637 
638     public static int countByUserId(long userId)
639         throws com.liferay.portal.SystemException {
640         return getPersistence().countByUserId(userId);
641     }
642 
643     public static int countByReceiverUserId(long receiverUserId)
644         throws com.liferay.portal.SystemException {
645         return getPersistence().countByReceiverUserId(receiverUserId);
646     }
647 
648     public static int countByU_S(long userId, int status)
649         throws com.liferay.portal.SystemException {
650         return getPersistence().countByU_S(userId, status);
651     }
652 
653     public static int countByR_S(long receiverUserId, int status)
654         throws com.liferay.portal.SystemException {
655         return getPersistence().countByR_S(receiverUserId, status);
656     }
657 
658     public static int countByU_C_C_T_R(long userId, long classNameId,
659         long classPK, int type, long receiverUserId)
660         throws com.liferay.portal.SystemException {
661         return getPersistence()
662                    .countByU_C_C_T_R(userId, classNameId, classPK, type,
663             receiverUserId);
664     }
665 
666     public static int countByU_C_C_T_S(long userId, long classNameId,
667         long classPK, int type, int status)
668         throws com.liferay.portal.SystemException {
669         return getPersistence()
670                    .countByU_C_C_T_S(userId, classNameId, classPK, type, status);
671     }
672 
673     public static int countByC_C_T_R_S(long classNameId, long classPK,
674         int type, long receiverUserId, int status)
675         throws com.liferay.portal.SystemException {
676         return getPersistence()
677                    .countByC_C_T_R_S(classNameId, classPK, type,
678             receiverUserId, status);
679     }
680 
681     public static int countAll() throws com.liferay.portal.SystemException {
682         return getPersistence().countAll();
683     }
684 
685     public static SocialRequestPersistence getPersistence() {
686         return _persistence;
687     }
688 
689     public void setPersistence(SocialRequestPersistence persistence) {
690         _persistence = persistence;
691     }
692 
693     private static SocialRequestPersistence _persistence;
694 }