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