1
22
23 package com.liferay.portal.service.persistence;
24
25
26
39 public class GroupUtil {
40 public static void cacheResult(com.liferay.portal.model.Group group) {
41 getPersistence().cacheResult(group);
42 }
43
44 public static void cacheResult(
45 java.util.List<com.liferay.portal.model.Group> groups) {
46 getPersistence().cacheResult(groups);
47 }
48
49 public static void clearCache() {
50 getPersistence().clearCache();
51 }
52
53 public static com.liferay.portal.model.Group create(long groupId) {
54 return getPersistence().create(groupId);
55 }
56
57 public static com.liferay.portal.model.Group remove(long groupId)
58 throws com.liferay.portal.NoSuchGroupException,
59 com.liferay.portal.SystemException {
60 return getPersistence().remove(groupId);
61 }
62
63 public static com.liferay.portal.model.Group remove(
64 com.liferay.portal.model.Group group)
65 throws com.liferay.portal.SystemException {
66 return getPersistence().remove(group);
67 }
68
69
72 public static com.liferay.portal.model.Group update(
73 com.liferay.portal.model.Group group)
74 throws com.liferay.portal.SystemException {
75 return getPersistence().update(group);
76 }
77
78
90 public static com.liferay.portal.model.Group update(
91 com.liferay.portal.model.Group group, boolean merge)
92 throws com.liferay.portal.SystemException {
93 return getPersistence().update(group, merge);
94 }
95
96 public static com.liferay.portal.model.Group updateImpl(
97 com.liferay.portal.model.Group group, boolean merge)
98 throws com.liferay.portal.SystemException {
99 return getPersistence().updateImpl(group, merge);
100 }
101
102 public static com.liferay.portal.model.Group findByPrimaryKey(long groupId)
103 throws com.liferay.portal.NoSuchGroupException,
104 com.liferay.portal.SystemException {
105 return getPersistence().findByPrimaryKey(groupId);
106 }
107
108 public static com.liferay.portal.model.Group fetchByPrimaryKey(long groupId)
109 throws com.liferay.portal.SystemException {
110 return getPersistence().fetchByPrimaryKey(groupId);
111 }
112
113 public static com.liferay.portal.model.Group findByLiveGroupId(
114 long liveGroupId)
115 throws com.liferay.portal.NoSuchGroupException,
116 com.liferay.portal.SystemException {
117 return getPersistence().findByLiveGroupId(liveGroupId);
118 }
119
120 public static com.liferay.portal.model.Group fetchByLiveGroupId(
121 long liveGroupId) throws com.liferay.portal.SystemException {
122 return getPersistence().fetchByLiveGroupId(liveGroupId);
123 }
124
125 public static com.liferay.portal.model.Group fetchByLiveGroupId(
126 long liveGroupId, boolean retrieveFromCache)
127 throws com.liferay.portal.SystemException {
128 return getPersistence()
129 .fetchByLiveGroupId(liveGroupId, retrieveFromCache);
130 }
131
132 public static com.liferay.portal.model.Group findByC_N(long companyId,
133 java.lang.String name)
134 throws com.liferay.portal.NoSuchGroupException,
135 com.liferay.portal.SystemException {
136 return getPersistence().findByC_N(companyId, name);
137 }
138
139 public static com.liferay.portal.model.Group fetchByC_N(long companyId,
140 java.lang.String name) throws com.liferay.portal.SystemException {
141 return getPersistence().fetchByC_N(companyId, name);
142 }
143
144 public static com.liferay.portal.model.Group fetchByC_N(long companyId,
145 java.lang.String name, boolean retrieveFromCache)
146 throws com.liferay.portal.SystemException {
147 return getPersistence().fetchByC_N(companyId, name, retrieveFromCache);
148 }
149
150 public static com.liferay.portal.model.Group findByC_F(long companyId,
151 java.lang.String friendlyURL)
152 throws com.liferay.portal.NoSuchGroupException,
153 com.liferay.portal.SystemException {
154 return getPersistence().findByC_F(companyId, friendlyURL);
155 }
156
157 public static com.liferay.portal.model.Group fetchByC_F(long companyId,
158 java.lang.String friendlyURL) throws com.liferay.portal.SystemException {
159 return getPersistence().fetchByC_F(companyId, friendlyURL);
160 }
161
162 public static com.liferay.portal.model.Group fetchByC_F(long companyId,
163 java.lang.String friendlyURL, boolean retrieveFromCache)
164 throws com.liferay.portal.SystemException {
165 return getPersistence()
166 .fetchByC_F(companyId, friendlyURL, retrieveFromCache);
167 }
168
169 public static java.util.List<com.liferay.portal.model.Group> findByT_A(
170 int type, boolean active) throws com.liferay.portal.SystemException {
171 return getPersistence().findByT_A(type, active);
172 }
173
174 public static java.util.List<com.liferay.portal.model.Group> findByT_A(
175 int type, boolean active, int start, int end)
176 throws com.liferay.portal.SystemException {
177 return getPersistence().findByT_A(type, active, start, end);
178 }
179
180 public static java.util.List<com.liferay.portal.model.Group> findByT_A(
181 int type, boolean active, int start, int end,
182 com.liferay.portal.kernel.util.OrderByComparator obc)
183 throws com.liferay.portal.SystemException {
184 return getPersistence().findByT_A(type, active, start, end, obc);
185 }
186
187 public static com.liferay.portal.model.Group findByT_A_First(int type,
188 boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
189 throws com.liferay.portal.NoSuchGroupException,
190 com.liferay.portal.SystemException {
191 return getPersistence().findByT_A_First(type, active, obc);
192 }
193
194 public static com.liferay.portal.model.Group findByT_A_Last(int type,
195 boolean active, com.liferay.portal.kernel.util.OrderByComparator obc)
196 throws com.liferay.portal.NoSuchGroupException,
197 com.liferay.portal.SystemException {
198 return getPersistence().findByT_A_Last(type, active, obc);
199 }
200
201 public static com.liferay.portal.model.Group[] findByT_A_PrevAndNext(
202 long groupId, int type, boolean active,
203 com.liferay.portal.kernel.util.OrderByComparator obc)
204 throws com.liferay.portal.NoSuchGroupException,
205 com.liferay.portal.SystemException {
206 return getPersistence().findByT_A_PrevAndNext(groupId, type, active, obc);
207 }
208
209 public static com.liferay.portal.model.Group findByC_C_C(long companyId,
210 long classNameId, long classPK)
211 throws com.liferay.portal.NoSuchGroupException,
212 com.liferay.portal.SystemException {
213 return getPersistence().findByC_C_C(companyId, classNameId, classPK);
214 }
215
216 public static com.liferay.portal.model.Group fetchByC_C_C(long companyId,
217 long classNameId, long classPK)
218 throws com.liferay.portal.SystemException {
219 return getPersistence().fetchByC_C_C(companyId, classNameId, classPK);
220 }
221
222 public static com.liferay.portal.model.Group fetchByC_C_C(long companyId,
223 long classNameId, long classPK, boolean retrieveFromCache)
224 throws com.liferay.portal.SystemException {
225 return getPersistence()
226 .fetchByC_C_C(companyId, classNameId, classPK,
227 retrieveFromCache);
228 }
229
230 public static com.liferay.portal.model.Group findByC_L_N(long companyId,
231 long liveGroupId, java.lang.String name)
232 throws com.liferay.portal.NoSuchGroupException,
233 com.liferay.portal.SystemException {
234 return getPersistence().findByC_L_N(companyId, liveGroupId, name);
235 }
236
237 public static com.liferay.portal.model.Group fetchByC_L_N(long companyId,
238 long liveGroupId, java.lang.String name)
239 throws com.liferay.portal.SystemException {
240 return getPersistence().fetchByC_L_N(companyId, liveGroupId, name);
241 }
242
243 public static com.liferay.portal.model.Group fetchByC_L_N(long companyId,
244 long liveGroupId, java.lang.String name, boolean retrieveFromCache)
245 throws com.liferay.portal.SystemException {
246 return getPersistence()
247 .fetchByC_L_N(companyId, liveGroupId, name, retrieveFromCache);
248 }
249
250 public static com.liferay.portal.model.Group findByC_C_L_N(long companyId,
251 long classNameId, long liveGroupId, java.lang.String name)
252 throws com.liferay.portal.NoSuchGroupException,
253 com.liferay.portal.SystemException {
254 return getPersistence()
255 .findByC_C_L_N(companyId, classNameId, liveGroupId, name);
256 }
257
258 public static com.liferay.portal.model.Group fetchByC_C_L_N(
259 long companyId, long classNameId, long liveGroupId,
260 java.lang.String name) throws com.liferay.portal.SystemException {
261 return getPersistence()
262 .fetchByC_C_L_N(companyId, classNameId, liveGroupId, name);
263 }
264
265 public static com.liferay.portal.model.Group fetchByC_C_L_N(
266 long companyId, long classNameId, long liveGroupId,
267 java.lang.String name, boolean retrieveFromCache)
268 throws com.liferay.portal.SystemException {
269 return getPersistence()
270 .fetchByC_C_L_N(companyId, classNameId, liveGroupId, name,
271 retrieveFromCache);
272 }
273
274 public static java.util.List<Object> findWithDynamicQuery(
275 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
276 throws com.liferay.portal.SystemException {
277 return getPersistence().findWithDynamicQuery(dynamicQuery);
278 }
279
280 public static java.util.List<Object> findWithDynamicQuery(
281 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
282 int end) throws com.liferay.portal.SystemException {
283 return getPersistence().findWithDynamicQuery(dynamicQuery, start, end);
284 }
285
286 public static java.util.List<com.liferay.portal.model.Group> findAll()
287 throws com.liferay.portal.SystemException {
288 return getPersistence().findAll();
289 }
290
291 public static java.util.List<com.liferay.portal.model.Group> findAll(
292 int start, int end) throws com.liferay.portal.SystemException {
293 return getPersistence().findAll(start, end);
294 }
295
296 public static java.util.List<com.liferay.portal.model.Group> findAll(
297 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
298 throws com.liferay.portal.SystemException {
299 return getPersistence().findAll(start, end, obc);
300 }
301
302 public static void removeByLiveGroupId(long liveGroupId)
303 throws com.liferay.portal.NoSuchGroupException,
304 com.liferay.portal.SystemException {
305 getPersistence().removeByLiveGroupId(liveGroupId);
306 }
307
308 public static void removeByC_N(long companyId, java.lang.String name)
309 throws com.liferay.portal.NoSuchGroupException,
310 com.liferay.portal.SystemException {
311 getPersistence().removeByC_N(companyId, name);
312 }
313
314 public static void removeByC_F(long companyId, java.lang.String friendlyURL)
315 throws com.liferay.portal.NoSuchGroupException,
316 com.liferay.portal.SystemException {
317 getPersistence().removeByC_F(companyId, friendlyURL);
318 }
319
320 public static void removeByT_A(int type, boolean active)
321 throws com.liferay.portal.SystemException {
322 getPersistence().removeByT_A(type, active);
323 }
324
325 public static void removeByC_C_C(long companyId, long classNameId,
326 long classPK)
327 throws com.liferay.portal.NoSuchGroupException,
328 com.liferay.portal.SystemException {
329 getPersistence().removeByC_C_C(companyId, classNameId, classPK);
330 }
331
332 public static void removeByC_L_N(long companyId, long liveGroupId,
333 java.lang.String name)
334 throws com.liferay.portal.NoSuchGroupException,
335 com.liferay.portal.SystemException {
336 getPersistence().removeByC_L_N(companyId, liveGroupId, name);
337 }
338
339 public static void removeByC_C_L_N(long companyId, long classNameId,
340 long liveGroupId, java.lang.String name)
341 throws com.liferay.portal.NoSuchGroupException,
342 com.liferay.portal.SystemException {
343 getPersistence()
344 .removeByC_C_L_N(companyId, classNameId, liveGroupId, name);
345 }
346
347 public static void removeAll() throws com.liferay.portal.SystemException {
348 getPersistence().removeAll();
349 }
350
351 public static int countByLiveGroupId(long liveGroupId)
352 throws com.liferay.portal.SystemException {
353 return getPersistence().countByLiveGroupId(liveGroupId);
354 }
355
356 public static int countByC_N(long companyId, java.lang.String name)
357 throws com.liferay.portal.SystemException {
358 return getPersistence().countByC_N(companyId, name);
359 }
360
361 public static int countByC_F(long companyId, java.lang.String friendlyURL)
362 throws com.liferay.portal.SystemException {
363 return getPersistence().countByC_F(companyId, friendlyURL);
364 }
365
366 public static int countByT_A(int type, boolean active)
367 throws com.liferay.portal.SystemException {
368 return getPersistence().countByT_A(type, active);
369 }
370
371 public static int countByC_C_C(long companyId, long classNameId,
372 long classPK) throws com.liferay.portal.SystemException {
373 return getPersistence().countByC_C_C(companyId, classNameId, classPK);
374 }
375
376 public static int countByC_L_N(long companyId, long liveGroupId,
377 java.lang.String name) throws com.liferay.portal.SystemException {
378 return getPersistence().countByC_L_N(companyId, liveGroupId, name);
379 }
380
381 public static int countByC_C_L_N(long companyId, long classNameId,
382 long liveGroupId, java.lang.String name)
383 throws com.liferay.portal.SystemException {
384 return getPersistence()
385 .countByC_C_L_N(companyId, classNameId, liveGroupId, name);
386 }
387
388 public static int countAll() throws com.liferay.portal.SystemException {
389 return getPersistence().countAll();
390 }
391
392 public static java.util.List<com.liferay.portal.model.Organization> getOrganizations(
393 long pk) throws com.liferay.portal.SystemException {
394 return getPersistence().getOrganizations(pk);
395 }
396
397 public static java.util.List<com.liferay.portal.model.Organization> getOrganizations(
398 long pk, int start, int end) throws com.liferay.portal.SystemException {
399 return getPersistence().getOrganizations(pk, start, end);
400 }
401
402 public static java.util.List<com.liferay.portal.model.Organization> getOrganizations(
403 long pk, int start, int end,
404 com.liferay.portal.kernel.util.OrderByComparator obc)
405 throws com.liferay.portal.SystemException {
406 return getPersistence().getOrganizations(pk, start, end, obc);
407 }
408
409 public static int getOrganizationsSize(long pk)
410 throws com.liferay.portal.SystemException {
411 return getPersistence().getOrganizationsSize(pk);
412 }
413
414 public static boolean containsOrganization(long pk, long organizationPK)
415 throws com.liferay.portal.SystemException {
416 return getPersistence().containsOrganization(pk, organizationPK);
417 }
418
419 public static boolean containsOrganizations(long pk)
420 throws com.liferay.portal.SystemException {
421 return getPersistence().containsOrganizations(pk);
422 }
423
424 public static void addOrganization(long pk, long organizationPK)
425 throws com.liferay.portal.SystemException {
426 getPersistence().addOrganization(pk, organizationPK);
427 }
428
429 public static void addOrganization(long pk,
430 com.liferay.portal.model.Organization organization)
431 throws com.liferay.portal.SystemException {
432 getPersistence().addOrganization(pk, organization);
433 }
434
435 public static void addOrganizations(long pk, long[] organizationPKs)
436 throws com.liferay.portal.SystemException {
437 getPersistence().addOrganizations(pk, organizationPKs);
438 }
439
440 public static void addOrganizations(long pk,
441 java.util.List<com.liferay.portal.model.Organization> organizations)
442 throws com.liferay.portal.SystemException {
443 getPersistence().addOrganizations(pk, organizations);
444 }
445
446 public static void clearOrganizations(long pk)
447 throws com.liferay.portal.SystemException {
448 getPersistence().clearOrganizations(pk);
449 }
450
451 public static void removeOrganization(long pk, long organizationPK)
452 throws com.liferay.portal.SystemException {
453 getPersistence().removeOrganization(pk, organizationPK);
454 }
455
456 public static void removeOrganization(long pk,
457 com.liferay.portal.model.Organization organization)
458 throws com.liferay.portal.SystemException {
459 getPersistence().removeOrganization(pk, organization);
460 }
461
462 public static void removeOrganizations(long pk, long[] organizationPKs)
463 throws com.liferay.portal.SystemException {
464 getPersistence().removeOrganizations(pk, organizationPKs);
465 }
466
467 public static void removeOrganizations(long pk,
468 java.util.List<com.liferay.portal.model.Organization> organizations)
469 throws com.liferay.portal.SystemException {
470 getPersistence().removeOrganizations(pk, organizations);
471 }
472
473 public static void setOrganizations(long pk, long[] organizationPKs)
474 throws com.liferay.portal.SystemException {
475 getPersistence().setOrganizations(pk, organizationPKs);
476 }
477
478 public static void setOrganizations(long pk,
479 java.util.List<com.liferay.portal.model.Organization> organizations)
480 throws com.liferay.portal.SystemException {
481 getPersistence().setOrganizations(pk, organizations);
482 }
483
484 public static java.util.List<com.liferay.portal.model.Permission> getPermissions(
485 long pk) throws com.liferay.portal.SystemException {
486 return getPersistence().getPermissions(pk);
487 }
488
489 public static java.util.List<com.liferay.portal.model.Permission> getPermissions(
490 long pk, int start, int end) throws com.liferay.portal.SystemException {
491 return getPersistence().getPermissions(pk, start, end);
492 }
493
494 public static java.util.List<com.liferay.portal.model.Permission> getPermissions(
495 long pk, int start, int end,
496 com.liferay.portal.kernel.util.OrderByComparator obc)
497 throws com.liferay.portal.SystemException {
498 return getPersistence().getPermissions(pk, start, end, obc);
499 }
500
501 public static int getPermissionsSize(long pk)
502 throws com.liferay.portal.SystemException {
503 return getPersistence().getPermissionsSize(pk);
504 }
505
506 public static boolean containsPermission(long pk, long permissionPK)
507 throws com.liferay.portal.SystemException {
508 return getPersistence().containsPermission(pk, permissionPK);
509 }
510
511 public static boolean containsPermissions(long pk)
512 throws com.liferay.portal.SystemException {
513 return getPersistence().containsPermissions(pk);
514 }
515
516 public static void addPermission(long pk, long permissionPK)
517 throws com.liferay.portal.SystemException {
518 getPersistence().addPermission(pk, permissionPK);
519 }
520
521 public static void addPermission(long pk,
522 com.liferay.portal.model.Permission permission)
523 throws com.liferay.portal.SystemException {
524 getPersistence().addPermission(pk, permission);
525 }
526
527 public static void addPermissions(long pk, long[] permissionPKs)
528 throws com.liferay.portal.SystemException {
529 getPersistence().addPermissions(pk, permissionPKs);
530 }
531
532 public static void addPermissions(long pk,
533 java.util.List<com.liferay.portal.model.Permission> permissions)
534 throws com.liferay.portal.SystemException {
535 getPersistence().addPermissions(pk, permissions);
536 }
537
538 public static void clearPermissions(long pk)
539 throws com.liferay.portal.SystemException {
540 getPersistence().clearPermissions(pk);
541 }
542
543 public static void removePermission(long pk, long permissionPK)
544 throws com.liferay.portal.SystemException {
545 getPersistence().removePermission(pk, permissionPK);
546 }
547
548 public static void removePermission(long pk,
549 com.liferay.portal.model.Permission permission)
550 throws com.liferay.portal.SystemException {
551 getPersistence().removePermission(pk, permission);
552 }
553
554 public static void removePermissions(long pk, long[] permissionPKs)
555 throws com.liferay.portal.SystemException {
556 getPersistence().removePermissions(pk, permissionPKs);
557 }
558
559 public static void removePermissions(long pk,
560 java.util.List<com.liferay.portal.model.Permission> permissions)
561 throws com.liferay.portal.SystemException {
562 getPersistence().removePermissions(pk, permissions);
563 }
564
565 public static void setPermissions(long pk, long[] permissionPKs)
566 throws com.liferay.portal.SystemException {
567 getPersistence().setPermissions(pk, permissionPKs);
568 }
569
570 public static void setPermissions(long pk,
571 java.util.List<com.liferay.portal.model.Permission> permissions)
572 throws com.liferay.portal.SystemException {
573 getPersistence().setPermissions(pk, permissions);
574 }
575
576 public static java.util.List<com.liferay.portal.model.Role> getRoles(
577 long pk) throws com.liferay.portal.SystemException {
578 return getPersistence().getRoles(pk);
579 }
580
581 public static java.util.List<com.liferay.portal.model.Role> getRoles(
582 long pk, int start, int end) throws com.liferay.portal.SystemException {
583 return getPersistence().getRoles(pk, start, end);
584 }
585
586 public static java.util.List<com.liferay.portal.model.Role> getRoles(
587 long pk, int start, int end,
588 com.liferay.portal.kernel.util.OrderByComparator obc)
589 throws com.liferay.portal.SystemException {
590 return getPersistence().getRoles(pk, start, end, obc);
591 }
592
593 public static int getRolesSize(long pk)
594 throws com.liferay.portal.SystemException {
595 return getPersistence().getRolesSize(pk);
596 }
597
598 public static boolean containsRole(long pk, long rolePK)
599 throws com.liferay.portal.SystemException {
600 return getPersistence().containsRole(pk, rolePK);
601 }
602
603 public static boolean containsRoles(long pk)
604 throws com.liferay.portal.SystemException {
605 return getPersistence().containsRoles(pk);
606 }
607
608 public static void addRole(long pk, long rolePK)
609 throws com.liferay.portal.SystemException {
610 getPersistence().addRole(pk, rolePK);
611 }
612
613 public static void addRole(long pk, com.liferay.portal.model.Role role)
614 throws com.liferay.portal.SystemException {
615 getPersistence().addRole(pk, role);
616 }
617
618 public static void addRoles(long pk, long[] rolePKs)
619 throws com.liferay.portal.SystemException {
620 getPersistence().addRoles(pk, rolePKs);
621 }
622
623 public static void addRoles(long pk,
624 java.util.List<com.liferay.portal.model.Role> roles)
625 throws com.liferay.portal.SystemException {
626 getPersistence().addRoles(pk, roles);
627 }
628
629 public static void clearRoles(long pk)
630 throws com.liferay.portal.SystemException {
631 getPersistence().clearRoles(pk);
632 }
633
634 public static void removeRole(long pk, long rolePK)
635 throws com.liferay.portal.SystemException {
636 getPersistence().removeRole(pk, rolePK);
637 }
638
639 public static void removeRole(long pk, com.liferay.portal.model.Role role)
640 throws com.liferay.portal.SystemException {
641 getPersistence().removeRole(pk, role);
642 }
643
644 public static void removeRoles(long pk, long[] rolePKs)
645 throws com.liferay.portal.SystemException {
646 getPersistence().removeRoles(pk, rolePKs);
647 }
648
649 public static void removeRoles(long pk,
650 java.util.List<com.liferay.portal.model.Role> roles)
651 throws com.liferay.portal.SystemException {
652 getPersistence().removeRoles(pk, roles);
653 }
654
655 public static void setRoles(long pk, long[] rolePKs)
656 throws com.liferay.portal.SystemException {
657 getPersistence().setRoles(pk, rolePKs);
658 }
659
660 public static void setRoles(long pk,
661 java.util.List<com.liferay.portal.model.Role> roles)
662 throws com.liferay.portal.SystemException {
663 getPersistence().setRoles(pk, roles);
664 }
665
666 public static java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
667 long pk) throws com.liferay.portal.SystemException {
668 return getPersistence().getUserGroups(pk);
669 }
670
671 public static java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
672 long pk, int start, int end) throws com.liferay.portal.SystemException {
673 return getPersistence().getUserGroups(pk, start, end);
674 }
675
676 public static java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
677 long pk, int start, int end,
678 com.liferay.portal.kernel.util.OrderByComparator obc)
679 throws com.liferay.portal.SystemException {
680 return getPersistence().getUserGroups(pk, start, end, obc);
681 }
682
683 public static int getUserGroupsSize(long pk)
684 throws com.liferay.portal.SystemException {
685 return getPersistence().getUserGroupsSize(pk);
686 }
687
688 public static boolean containsUserGroup(long pk, long userGroupPK)
689 throws com.liferay.portal.SystemException {
690 return getPersistence().containsUserGroup(pk, userGroupPK);
691 }
692
693 public static boolean containsUserGroups(long pk)
694 throws com.liferay.portal.SystemException {
695 return getPersistence().containsUserGroups(pk);
696 }
697
698 public static void addUserGroup(long pk, long userGroupPK)
699 throws com.liferay.portal.SystemException {
700 getPersistence().addUserGroup(pk, userGroupPK);
701 }
702
703 public static void addUserGroup(long pk,
704 com.liferay.portal.model.UserGroup userGroup)
705 throws com.liferay.portal.SystemException {
706 getPersistence().addUserGroup(pk, userGroup);
707 }
708
709 public static void addUserGroups(long pk, long[] userGroupPKs)
710 throws com.liferay.portal.SystemException {
711 getPersistence().addUserGroups(pk, userGroupPKs);
712 }
713
714 public static void addUserGroups(long pk,
715 java.util.List<com.liferay.portal.model.UserGroup> userGroups)
716 throws com.liferay.portal.SystemException {
717 getPersistence().addUserGroups(pk, userGroups);
718 }
719
720 public static void clearUserGroups(long pk)
721 throws com.liferay.portal.SystemException {
722 getPersistence().clearUserGroups(pk);
723 }
724
725 public static void removeUserGroup(long pk, long userGroupPK)
726 throws com.liferay.portal.SystemException {
727 getPersistence().removeUserGroup(pk, userGroupPK);
728 }
729
730 public static void removeUserGroup(long pk,
731 com.liferay.portal.model.UserGroup userGroup)
732 throws com.liferay.portal.SystemException {
733 getPersistence().removeUserGroup(pk, userGroup);
734 }
735
736 public static void removeUserGroups(long pk, long[] userGroupPKs)
737 throws com.liferay.portal.SystemException {
738 getPersistence().removeUserGroups(pk, userGroupPKs);
739 }
740
741 public static void removeUserGroups(long pk,
742 java.util.List<com.liferay.portal.model.UserGroup> userGroups)
743 throws com.liferay.portal.SystemException {
744 getPersistence().removeUserGroups(pk, userGroups);
745 }
746
747 public static void setUserGroups(long pk, long[] userGroupPKs)
748 throws com.liferay.portal.SystemException {
749 getPersistence().setUserGroups(pk, userGroupPKs);
750 }
751
752 public static void setUserGroups(long pk,
753 java.util.List<com.liferay.portal.model.UserGroup> userGroups)
754 throws com.liferay.portal.SystemException {
755 getPersistence().setUserGroups(pk, userGroups);
756 }
757
758 public static java.util.List<com.liferay.portal.model.User> getUsers(
759 long pk) throws com.liferay.portal.SystemException {
760 return getPersistence().getUsers(pk);
761 }
762
763 public static java.util.List<com.liferay.portal.model.User> getUsers(
764 long pk, int start, int end) throws com.liferay.portal.SystemException {
765 return getPersistence().getUsers(pk, start, end);
766 }
767
768 public static java.util.List<com.liferay.portal.model.User> getUsers(
769 long pk, int start, int end,
770 com.liferay.portal.kernel.util.OrderByComparator obc)
771 throws com.liferay.portal.SystemException {
772 return getPersistence().getUsers(pk, start, end, obc);
773 }
774
775 public static int getUsersSize(long pk)
776 throws com.liferay.portal.SystemException {
777 return getPersistence().getUsersSize(pk);
778 }
779
780 public static boolean containsUser(long pk, long userPK)
781 throws com.liferay.portal.SystemException {
782 return getPersistence().containsUser(pk, userPK);
783 }
784
785 public static boolean containsUsers(long pk)
786 throws com.liferay.portal.SystemException {
787 return getPersistence().containsUsers(pk);
788 }
789
790 public static void addUser(long pk, long userPK)
791 throws com.liferay.portal.SystemException {
792 getPersistence().addUser(pk, userPK);
793 }
794
795 public static void addUser(long pk, com.liferay.portal.model.User user)
796 throws com.liferay.portal.SystemException {
797 getPersistence().addUser(pk, user);
798 }
799
800 public static void addUsers(long pk, long[] userPKs)
801 throws com.liferay.portal.SystemException {
802 getPersistence().addUsers(pk, userPKs);
803 }
804
805 public static void addUsers(long pk,
806 java.util.List<com.liferay.portal.model.User> users)
807 throws com.liferay.portal.SystemException {
808 getPersistence().addUsers(pk, users);
809 }
810
811 public static void clearUsers(long pk)
812 throws com.liferay.portal.SystemException {
813 getPersistence().clearUsers(pk);
814 }
815
816 public static void removeUser(long pk, long userPK)
817 throws com.liferay.portal.SystemException {
818 getPersistence().removeUser(pk, userPK);
819 }
820
821 public static void removeUser(long pk, com.liferay.portal.model.User user)
822 throws com.liferay.portal.SystemException {
823 getPersistence().removeUser(pk, user);
824 }
825
826 public static void removeUsers(long pk, long[] userPKs)
827 throws com.liferay.portal.SystemException {
828 getPersistence().removeUsers(pk, userPKs);
829 }
830
831 public static void removeUsers(long pk,
832 java.util.List<com.liferay.portal.model.User> users)
833 throws com.liferay.portal.SystemException {
834 getPersistence().removeUsers(pk, users);
835 }
836
837 public static void setUsers(long pk, long[] userPKs)
838 throws com.liferay.portal.SystemException {
839 getPersistence().setUsers(pk, userPKs);
840 }
841
842 public static void setUsers(long pk,
843 java.util.List<com.liferay.portal.model.User> users)
844 throws com.liferay.portal.SystemException {
845 getPersistence().setUsers(pk, users);
846 }
847
848 public static GroupPersistence getPersistence() {
849 return _persistence;
850 }
851
852 public void setPersistence(GroupPersistence persistence) {
853 _persistence = persistence;
854 }
855
856 private static GroupPersistence _persistence;
857 }