1
14
15 package com.liferay.portlet.social.service.persistence;
16
17 import com.liferay.portal.SystemException;
18 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
19 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
20 import com.liferay.portal.kernel.util.ReferenceRegistry;
21
22 import com.liferay.portlet.social.model.SocialRelation;
23
24 import java.util.List;
25
26
39 public class SocialRelationUtil {
40
43 public static void clearCache() {
44 getPersistence().clearCache();
45 }
46
47
50 public static void clearCache(SocialRelation socialRelation) {
51 getPersistence().clearCache(socialRelation);
52 }
53
54
57 public int countWithDynamicQuery(DynamicQuery dynamicQuery)
58 throws SystemException {
59 return getPersistence().countWithDynamicQuery(dynamicQuery);
60 }
61
62
65 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery)
66 throws SystemException {
67 return getPersistence().findWithDynamicQuery(dynamicQuery);
68 }
69
70
73 public static List<Object> findWithDynamicQuery(DynamicQuery dynamicQuery,
74 int start, int end) throws SystemException {
75 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
76 }
77
78
81 public static SocialRelation remove(SocialRelation socialRelation)
82 throws SystemException {
83 return getPersistence().remove(socialRelation);
84 }
85
86
89 public static SocialRelation update(SocialRelation socialRelation,
90 boolean merge) throws SystemException {
91 return getPersistence().update(socialRelation, merge);
92 }
93
94 public static void cacheResult(
95 com.liferay.portlet.social.model.SocialRelation socialRelation) {
96 getPersistence().cacheResult(socialRelation);
97 }
98
99 public static void cacheResult(
100 java.util.List<com.liferay.portlet.social.model.SocialRelation> socialRelations) {
101 getPersistence().cacheResult(socialRelations);
102 }
103
104 public static com.liferay.portlet.social.model.SocialRelation create(
105 long relationId) {
106 return getPersistence().create(relationId);
107 }
108
109 public static com.liferay.portlet.social.model.SocialRelation remove(
110 long relationId)
111 throws com.liferay.portal.SystemException,
112 com.liferay.portlet.social.NoSuchRelationException {
113 return getPersistence().remove(relationId);
114 }
115
116
119 public static com.liferay.portlet.social.model.SocialRelation update(
120 com.liferay.portlet.social.model.SocialRelation socialRelation)
121 throws com.liferay.portal.SystemException {
122 return getPersistence().update(socialRelation);
123 }
124
125 public static com.liferay.portlet.social.model.SocialRelation updateImpl(
126 com.liferay.portlet.social.model.SocialRelation socialRelation,
127 boolean merge) throws com.liferay.portal.SystemException {
128 return getPersistence().updateImpl(socialRelation, merge);
129 }
130
131 public static com.liferay.portlet.social.model.SocialRelation findByPrimaryKey(
132 long relationId)
133 throws com.liferay.portal.SystemException,
134 com.liferay.portlet.social.NoSuchRelationException {
135 return getPersistence().findByPrimaryKey(relationId);
136 }
137
138 public static com.liferay.portlet.social.model.SocialRelation fetchByPrimaryKey(
139 long relationId) throws com.liferay.portal.SystemException {
140 return getPersistence().fetchByPrimaryKey(relationId);
141 }
142
143 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByUuid(
144 java.lang.String uuid) throws com.liferay.portal.SystemException {
145 return getPersistence().findByUuid(uuid);
146 }
147
148 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByUuid(
149 java.lang.String uuid, int start, int end)
150 throws com.liferay.portal.SystemException {
151 return getPersistence().findByUuid(uuid, start, end);
152 }
153
154 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByUuid(
155 java.lang.String uuid, int start, int end,
156 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
157 throws com.liferay.portal.SystemException {
158 return getPersistence().findByUuid(uuid, start, end, orderByComparator);
159 }
160
161 public static com.liferay.portlet.social.model.SocialRelation findByUuid_First(
162 java.lang.String uuid,
163 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
164 throws com.liferay.portal.SystemException,
165 com.liferay.portlet.social.NoSuchRelationException {
166 return getPersistence().findByUuid_First(uuid, orderByComparator);
167 }
168
169 public static com.liferay.portlet.social.model.SocialRelation findByUuid_Last(
170 java.lang.String uuid,
171 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
172 throws com.liferay.portal.SystemException,
173 com.liferay.portlet.social.NoSuchRelationException {
174 return getPersistence().findByUuid_Last(uuid, orderByComparator);
175 }
176
177 public static com.liferay.portlet.social.model.SocialRelation[] findByUuid_PrevAndNext(
178 long relationId, java.lang.String uuid,
179 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
180 throws com.liferay.portal.SystemException,
181 com.liferay.portlet.social.NoSuchRelationException {
182 return getPersistence()
183 .findByUuid_PrevAndNext(relationId, uuid, orderByComparator);
184 }
185
186 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByCompanyId(
187 long companyId) throws com.liferay.portal.SystemException {
188 return getPersistence().findByCompanyId(companyId);
189 }
190
191 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByCompanyId(
192 long companyId, int start, int end)
193 throws com.liferay.portal.SystemException {
194 return getPersistence().findByCompanyId(companyId, start, end);
195 }
196
197 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByCompanyId(
198 long companyId, int start, int end,
199 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
200 throws com.liferay.portal.SystemException {
201 return getPersistence()
202 .findByCompanyId(companyId, start, end, orderByComparator);
203 }
204
205 public static com.liferay.portlet.social.model.SocialRelation findByCompanyId_First(
206 long companyId,
207 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
208 throws com.liferay.portal.SystemException,
209 com.liferay.portlet.social.NoSuchRelationException {
210 return getPersistence()
211 .findByCompanyId_First(companyId, orderByComparator);
212 }
213
214 public static com.liferay.portlet.social.model.SocialRelation findByCompanyId_Last(
215 long companyId,
216 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
217 throws com.liferay.portal.SystemException,
218 com.liferay.portlet.social.NoSuchRelationException {
219 return getPersistence()
220 .findByCompanyId_Last(companyId, orderByComparator);
221 }
222
223 public static com.liferay.portlet.social.model.SocialRelation[] findByCompanyId_PrevAndNext(
224 long relationId, long companyId,
225 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
226 throws com.liferay.portal.SystemException,
227 com.liferay.portlet.social.NoSuchRelationException {
228 return getPersistence()
229 .findByCompanyId_PrevAndNext(relationId, companyId,
230 orderByComparator);
231 }
232
233 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByUserId1(
234 long userId1) throws com.liferay.portal.SystemException {
235 return getPersistence().findByUserId1(userId1);
236 }
237
238 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByUserId1(
239 long userId1, int start, int end)
240 throws com.liferay.portal.SystemException {
241 return getPersistence().findByUserId1(userId1, start, end);
242 }
243
244 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByUserId1(
245 long userId1, int start, int end,
246 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
247 throws com.liferay.portal.SystemException {
248 return getPersistence()
249 .findByUserId1(userId1, start, end, orderByComparator);
250 }
251
252 public static com.liferay.portlet.social.model.SocialRelation findByUserId1_First(
253 long userId1,
254 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
255 throws com.liferay.portal.SystemException,
256 com.liferay.portlet.social.NoSuchRelationException {
257 return getPersistence().findByUserId1_First(userId1, orderByComparator);
258 }
259
260 public static com.liferay.portlet.social.model.SocialRelation findByUserId1_Last(
261 long userId1,
262 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
263 throws com.liferay.portal.SystemException,
264 com.liferay.portlet.social.NoSuchRelationException {
265 return getPersistence().findByUserId1_Last(userId1, orderByComparator);
266 }
267
268 public static com.liferay.portlet.social.model.SocialRelation[] findByUserId1_PrevAndNext(
269 long relationId, long userId1,
270 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
271 throws com.liferay.portal.SystemException,
272 com.liferay.portlet.social.NoSuchRelationException {
273 return getPersistence()
274 .findByUserId1_PrevAndNext(relationId, userId1,
275 orderByComparator);
276 }
277
278 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByUserId2(
279 long userId2) throws com.liferay.portal.SystemException {
280 return getPersistence().findByUserId2(userId2);
281 }
282
283 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByUserId2(
284 long userId2, int start, int end)
285 throws com.liferay.portal.SystemException {
286 return getPersistence().findByUserId2(userId2, start, end);
287 }
288
289 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByUserId2(
290 long userId2, int start, int end,
291 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
292 throws com.liferay.portal.SystemException {
293 return getPersistence()
294 .findByUserId2(userId2, start, end, orderByComparator);
295 }
296
297 public static com.liferay.portlet.social.model.SocialRelation findByUserId2_First(
298 long userId2,
299 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
300 throws com.liferay.portal.SystemException,
301 com.liferay.portlet.social.NoSuchRelationException {
302 return getPersistence().findByUserId2_First(userId2, orderByComparator);
303 }
304
305 public static com.liferay.portlet.social.model.SocialRelation findByUserId2_Last(
306 long userId2,
307 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
308 throws com.liferay.portal.SystemException,
309 com.liferay.portlet.social.NoSuchRelationException {
310 return getPersistence().findByUserId2_Last(userId2, orderByComparator);
311 }
312
313 public static com.liferay.portlet.social.model.SocialRelation[] findByUserId2_PrevAndNext(
314 long relationId, long userId2,
315 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
316 throws com.liferay.portal.SystemException,
317 com.liferay.portlet.social.NoSuchRelationException {
318 return getPersistence()
319 .findByUserId2_PrevAndNext(relationId, userId2,
320 orderByComparator);
321 }
322
323 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByType(
324 int type) throws com.liferay.portal.SystemException {
325 return getPersistence().findByType(type);
326 }
327
328 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByType(
329 int type, int start, int end) throws com.liferay.portal.SystemException {
330 return getPersistence().findByType(type, start, end);
331 }
332
333 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByType(
334 int type, int start, int end,
335 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
336 throws com.liferay.portal.SystemException {
337 return getPersistence().findByType(type, start, end, orderByComparator);
338 }
339
340 public static com.liferay.portlet.social.model.SocialRelation findByType_First(
341 int type,
342 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
343 throws com.liferay.portal.SystemException,
344 com.liferay.portlet.social.NoSuchRelationException {
345 return getPersistence().findByType_First(type, orderByComparator);
346 }
347
348 public static com.liferay.portlet.social.model.SocialRelation findByType_Last(
349 int type,
350 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
351 throws com.liferay.portal.SystemException,
352 com.liferay.portlet.social.NoSuchRelationException {
353 return getPersistence().findByType_Last(type, orderByComparator);
354 }
355
356 public static com.liferay.portlet.social.model.SocialRelation[] findByType_PrevAndNext(
357 long relationId, int type,
358 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
359 throws com.liferay.portal.SystemException,
360 com.liferay.portlet.social.NoSuchRelationException {
361 return getPersistence()
362 .findByType_PrevAndNext(relationId, type, orderByComparator);
363 }
364
365 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByC_T(
366 long companyId, int type) throws com.liferay.portal.SystemException {
367 return getPersistence().findByC_T(companyId, type);
368 }
369
370 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByC_T(
371 long companyId, int type, int start, int end)
372 throws com.liferay.portal.SystemException {
373 return getPersistence().findByC_T(companyId, type, start, end);
374 }
375
376 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByC_T(
377 long companyId, int type, int start, int end,
378 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
379 throws com.liferay.portal.SystemException {
380 return getPersistence()
381 .findByC_T(companyId, type, start, end, orderByComparator);
382 }
383
384 public static com.liferay.portlet.social.model.SocialRelation findByC_T_First(
385 long companyId, int type,
386 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
387 throws com.liferay.portal.SystemException,
388 com.liferay.portlet.social.NoSuchRelationException {
389 return getPersistence()
390 .findByC_T_First(companyId, type, orderByComparator);
391 }
392
393 public static com.liferay.portlet.social.model.SocialRelation findByC_T_Last(
394 long companyId, int type,
395 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
396 throws com.liferay.portal.SystemException,
397 com.liferay.portlet.social.NoSuchRelationException {
398 return getPersistence()
399 .findByC_T_Last(companyId, type, orderByComparator);
400 }
401
402 public static com.liferay.portlet.social.model.SocialRelation[] findByC_T_PrevAndNext(
403 long relationId, long companyId, int type,
404 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
405 throws com.liferay.portal.SystemException,
406 com.liferay.portlet.social.NoSuchRelationException {
407 return getPersistence()
408 .findByC_T_PrevAndNext(relationId, companyId, type,
409 orderByComparator);
410 }
411
412 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByU1_T(
413 long userId1, int type) throws com.liferay.portal.SystemException {
414 return getPersistence().findByU1_T(userId1, type);
415 }
416
417 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByU1_T(
418 long userId1, int type, int start, int end)
419 throws com.liferay.portal.SystemException {
420 return getPersistence().findByU1_T(userId1, type, start, end);
421 }
422
423 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByU1_T(
424 long userId1, int type, int start, int end,
425 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
426 throws com.liferay.portal.SystemException {
427 return getPersistence()
428 .findByU1_T(userId1, type, start, end, orderByComparator);
429 }
430
431 public static com.liferay.portlet.social.model.SocialRelation findByU1_T_First(
432 long userId1, int type,
433 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
434 throws com.liferay.portal.SystemException,
435 com.liferay.portlet.social.NoSuchRelationException {
436 return getPersistence()
437 .findByU1_T_First(userId1, type, orderByComparator);
438 }
439
440 public static com.liferay.portlet.social.model.SocialRelation findByU1_T_Last(
441 long userId1, int type,
442 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
443 throws com.liferay.portal.SystemException,
444 com.liferay.portlet.social.NoSuchRelationException {
445 return getPersistence().findByU1_T_Last(userId1, type, orderByComparator);
446 }
447
448 public static com.liferay.portlet.social.model.SocialRelation[] findByU1_T_PrevAndNext(
449 long relationId, long userId1, int type,
450 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
451 throws com.liferay.portal.SystemException,
452 com.liferay.portlet.social.NoSuchRelationException {
453 return getPersistence()
454 .findByU1_T_PrevAndNext(relationId, userId1, type,
455 orderByComparator);
456 }
457
458 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByU2_T(
459 long userId2, int type) throws com.liferay.portal.SystemException {
460 return getPersistence().findByU2_T(userId2, type);
461 }
462
463 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByU2_T(
464 long userId2, int type, int start, int end)
465 throws com.liferay.portal.SystemException {
466 return getPersistence().findByU2_T(userId2, type, start, end);
467 }
468
469 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findByU2_T(
470 long userId2, int type, int start, int end,
471 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
472 throws com.liferay.portal.SystemException {
473 return getPersistence()
474 .findByU2_T(userId2, type, start, end, orderByComparator);
475 }
476
477 public static com.liferay.portlet.social.model.SocialRelation findByU2_T_First(
478 long userId2, int type,
479 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
480 throws com.liferay.portal.SystemException,
481 com.liferay.portlet.social.NoSuchRelationException {
482 return getPersistence()
483 .findByU2_T_First(userId2, type, orderByComparator);
484 }
485
486 public static com.liferay.portlet.social.model.SocialRelation findByU2_T_Last(
487 long userId2, int type,
488 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
489 throws com.liferay.portal.SystemException,
490 com.liferay.portlet.social.NoSuchRelationException {
491 return getPersistence().findByU2_T_Last(userId2, type, orderByComparator);
492 }
493
494 public static com.liferay.portlet.social.model.SocialRelation[] findByU2_T_PrevAndNext(
495 long relationId, long userId2, int type,
496 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
497 throws com.liferay.portal.SystemException,
498 com.liferay.portlet.social.NoSuchRelationException {
499 return getPersistence()
500 .findByU2_T_PrevAndNext(relationId, userId2, type,
501 orderByComparator);
502 }
503
504 public static com.liferay.portlet.social.model.SocialRelation findByU1_U2_T(
505 long userId1, long userId2, int type)
506 throws com.liferay.portal.SystemException,
507 com.liferay.portlet.social.NoSuchRelationException {
508 return getPersistence().findByU1_U2_T(userId1, userId2, type);
509 }
510
511 public static com.liferay.portlet.social.model.SocialRelation fetchByU1_U2_T(
512 long userId1, long userId2, int type)
513 throws com.liferay.portal.SystemException {
514 return getPersistence().fetchByU1_U2_T(userId1, userId2, type);
515 }
516
517 public static com.liferay.portlet.social.model.SocialRelation fetchByU1_U2_T(
518 long userId1, long userId2, int type, boolean retrieveFromCache)
519 throws com.liferay.portal.SystemException {
520 return getPersistence()
521 .fetchByU1_U2_T(userId1, userId2, type, retrieveFromCache);
522 }
523
524 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findAll()
525 throws com.liferay.portal.SystemException {
526 return getPersistence().findAll();
527 }
528
529 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findAll(
530 int start, int end) throws com.liferay.portal.SystemException {
531 return getPersistence().findAll(start, end);
532 }
533
534 public static java.util.List<com.liferay.portlet.social.model.SocialRelation> findAll(
535 int start, int end,
536 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
537 throws com.liferay.portal.SystemException {
538 return getPersistence().findAll(start, end, orderByComparator);
539 }
540
541 public static void removeByUuid(java.lang.String uuid)
542 throws com.liferay.portal.SystemException {
543 getPersistence().removeByUuid(uuid);
544 }
545
546 public static void removeByCompanyId(long companyId)
547 throws com.liferay.portal.SystemException {
548 getPersistence().removeByCompanyId(companyId);
549 }
550
551 public static void removeByUserId1(long userId1)
552 throws com.liferay.portal.SystemException {
553 getPersistence().removeByUserId1(userId1);
554 }
555
556 public static void removeByUserId2(long userId2)
557 throws com.liferay.portal.SystemException {
558 getPersistence().removeByUserId2(userId2);
559 }
560
561 public static void removeByType(int type)
562 throws com.liferay.portal.SystemException {
563 getPersistence().removeByType(type);
564 }
565
566 public static void removeByC_T(long companyId, int type)
567 throws com.liferay.portal.SystemException {
568 getPersistence().removeByC_T(companyId, type);
569 }
570
571 public static void removeByU1_T(long userId1, int type)
572 throws com.liferay.portal.SystemException {
573 getPersistence().removeByU1_T(userId1, type);
574 }
575
576 public static void removeByU2_T(long userId2, int type)
577 throws com.liferay.portal.SystemException {
578 getPersistence().removeByU2_T(userId2, type);
579 }
580
581 public static void removeByU1_U2_T(long userId1, long userId2, int type)
582 throws com.liferay.portal.SystemException,
583 com.liferay.portlet.social.NoSuchRelationException {
584 getPersistence().removeByU1_U2_T(userId1, userId2, type);
585 }
586
587 public static void removeAll() throws com.liferay.portal.SystemException {
588 getPersistence().removeAll();
589 }
590
591 public static int countByUuid(java.lang.String uuid)
592 throws com.liferay.portal.SystemException {
593 return getPersistence().countByUuid(uuid);
594 }
595
596 public static int countByCompanyId(long companyId)
597 throws com.liferay.portal.SystemException {
598 return getPersistence().countByCompanyId(companyId);
599 }
600
601 public static int countByUserId1(long userId1)
602 throws com.liferay.portal.SystemException {
603 return getPersistence().countByUserId1(userId1);
604 }
605
606 public static int countByUserId2(long userId2)
607 throws com.liferay.portal.SystemException {
608 return getPersistence().countByUserId2(userId2);
609 }
610
611 public static int countByType(int type)
612 throws com.liferay.portal.SystemException {
613 return getPersistence().countByType(type);
614 }
615
616 public static int countByC_T(long companyId, int type)
617 throws com.liferay.portal.SystemException {
618 return getPersistence().countByC_T(companyId, type);
619 }
620
621 public static int countByU1_T(long userId1, int type)
622 throws com.liferay.portal.SystemException {
623 return getPersistence().countByU1_T(userId1, type);
624 }
625
626 public static int countByU2_T(long userId2, int type)
627 throws com.liferay.portal.SystemException {
628 return getPersistence().countByU2_T(userId2, type);
629 }
630
631 public static int countByU1_U2_T(long userId1, long userId2, int type)
632 throws com.liferay.portal.SystemException {
633 return getPersistence().countByU1_U2_T(userId1, userId2, type);
634 }
635
636 public static int countAll() throws com.liferay.portal.SystemException {
637 return getPersistence().countAll();
638 }
639
640 public static SocialRelationPersistence getPersistence() {
641 if (_persistence == null) {
642 _persistence = (SocialRelationPersistence)PortalBeanLocatorUtil.locate(SocialRelationPersistence.class.getName());
643
644 ReferenceRegistry.registerReference(SocialRelationUtil.class,
645 "_persistence");
646 }
647
648 return _persistence;
649 }
650
651 public void setPersistence(SocialRelationPersistence persistence) {
652 _persistence = persistence;
653
654 ReferenceRegistry.registerReference(SocialRelationUtil.class,
655 "_persistence");
656 }
657
658 private static SocialRelationPersistence _persistence;
659 }