1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portal.service.persistence;
16  
17  import com.liferay.portal.model.User;
18  
19  /**
20   * <a href="UserPersistence.java.html"><b><i>View Source</i></b></a>
21   *
22   * <p>
23   * ServiceBuilder generated this class. Modifications in this class will be
24   * overwritten the next time is generated.
25   * </p>
26   *
27   * @author    Brian Wing Shun Chan
28   * @see       UserPersistenceImpl
29   * @see       UserUtil
30   * @generated
31   */
32  public interface UserPersistence extends BasePersistence<User> {
33      public void cacheResult(com.liferay.portal.model.User user);
34  
35      public void cacheResult(java.util.List<com.liferay.portal.model.User> users);
36  
37      public com.liferay.portal.model.User create(long userId);
38  
39      public com.liferay.portal.model.User remove(long userId)
40          throws com.liferay.portal.NoSuchUserException,
41              com.liferay.portal.kernel.exception.SystemException;
42  
43      public com.liferay.portal.model.User updateImpl(
44          com.liferay.portal.model.User user, boolean merge)
45          throws com.liferay.portal.kernel.exception.SystemException;
46  
47      public com.liferay.portal.model.User findByPrimaryKey(long userId)
48          throws com.liferay.portal.NoSuchUserException,
49              com.liferay.portal.kernel.exception.SystemException;
50  
51      public com.liferay.portal.model.User fetchByPrimaryKey(long userId)
52          throws com.liferay.portal.kernel.exception.SystemException;
53  
54      public java.util.List<com.liferay.portal.model.User> findByUuid(
55          java.lang.String uuid)
56          throws com.liferay.portal.kernel.exception.SystemException;
57  
58      public java.util.List<com.liferay.portal.model.User> findByUuid(
59          java.lang.String uuid, int start, int end)
60          throws com.liferay.portal.kernel.exception.SystemException;
61  
62      public java.util.List<com.liferay.portal.model.User> findByUuid(
63          java.lang.String uuid, int start, int end,
64          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
65          throws com.liferay.portal.kernel.exception.SystemException;
66  
67      public com.liferay.portal.model.User findByUuid_First(
68          java.lang.String uuid,
69          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
70          throws com.liferay.portal.NoSuchUserException,
71              com.liferay.portal.kernel.exception.SystemException;
72  
73      public com.liferay.portal.model.User findByUuid_Last(
74          java.lang.String uuid,
75          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
76          throws com.liferay.portal.NoSuchUserException,
77              com.liferay.portal.kernel.exception.SystemException;
78  
79      public com.liferay.portal.model.User[] findByUuid_PrevAndNext(long userId,
80          java.lang.String uuid,
81          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
82          throws com.liferay.portal.NoSuchUserException,
83              com.liferay.portal.kernel.exception.SystemException;
84  
85      public java.util.List<com.liferay.portal.model.User> findByCompanyId(
86          long companyId)
87          throws com.liferay.portal.kernel.exception.SystemException;
88  
89      public java.util.List<com.liferay.portal.model.User> findByCompanyId(
90          long companyId, int start, int end)
91          throws com.liferay.portal.kernel.exception.SystemException;
92  
93      public java.util.List<com.liferay.portal.model.User> findByCompanyId(
94          long companyId, int start, int end,
95          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
96          throws com.liferay.portal.kernel.exception.SystemException;
97  
98      public com.liferay.portal.model.User findByCompanyId_First(long companyId,
99          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
100         throws com.liferay.portal.NoSuchUserException,
101             com.liferay.portal.kernel.exception.SystemException;
102 
103     public com.liferay.portal.model.User findByCompanyId_Last(long companyId,
104         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
105         throws com.liferay.portal.NoSuchUserException,
106             com.liferay.portal.kernel.exception.SystemException;
107 
108     public com.liferay.portal.model.User[] findByCompanyId_PrevAndNext(
109         long userId, long companyId,
110         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
111         throws com.liferay.portal.NoSuchUserException,
112             com.liferay.portal.kernel.exception.SystemException;
113 
114     public com.liferay.portal.model.User findByContactId(long contactId)
115         throws com.liferay.portal.NoSuchUserException,
116             com.liferay.portal.kernel.exception.SystemException;
117 
118     public com.liferay.portal.model.User fetchByContactId(long contactId)
119         throws com.liferay.portal.kernel.exception.SystemException;
120 
121     public com.liferay.portal.model.User fetchByContactId(long contactId,
122         boolean retrieveFromCache)
123         throws com.liferay.portal.kernel.exception.SystemException;
124 
125     public java.util.List<com.liferay.portal.model.User> findByEmailAddress(
126         java.lang.String emailAddress)
127         throws com.liferay.portal.kernel.exception.SystemException;
128 
129     public java.util.List<com.liferay.portal.model.User> findByEmailAddress(
130         java.lang.String emailAddress, int start, int end)
131         throws com.liferay.portal.kernel.exception.SystemException;
132 
133     public java.util.List<com.liferay.portal.model.User> findByEmailAddress(
134         java.lang.String emailAddress, int start, int end,
135         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
136         throws com.liferay.portal.kernel.exception.SystemException;
137 
138     public com.liferay.portal.model.User findByEmailAddress_First(
139         java.lang.String emailAddress,
140         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
141         throws com.liferay.portal.NoSuchUserException,
142             com.liferay.portal.kernel.exception.SystemException;
143 
144     public com.liferay.portal.model.User findByEmailAddress_Last(
145         java.lang.String emailAddress,
146         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
147         throws com.liferay.portal.NoSuchUserException,
148             com.liferay.portal.kernel.exception.SystemException;
149 
150     public com.liferay.portal.model.User[] findByEmailAddress_PrevAndNext(
151         long userId, java.lang.String emailAddress,
152         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
153         throws com.liferay.portal.NoSuchUserException,
154             com.liferay.portal.kernel.exception.SystemException;
155 
156     public com.liferay.portal.model.User findByOpenId(java.lang.String openId)
157         throws com.liferay.portal.NoSuchUserException,
158             com.liferay.portal.kernel.exception.SystemException;
159 
160     public com.liferay.portal.model.User fetchByOpenId(java.lang.String openId)
161         throws com.liferay.portal.kernel.exception.SystemException;
162 
163     public com.liferay.portal.model.User fetchByOpenId(
164         java.lang.String openId, boolean retrieveFromCache)
165         throws com.liferay.portal.kernel.exception.SystemException;
166 
167     public com.liferay.portal.model.User findByPortraitId(long portraitId)
168         throws com.liferay.portal.NoSuchUserException,
169             com.liferay.portal.kernel.exception.SystemException;
170 
171     public com.liferay.portal.model.User fetchByPortraitId(long portraitId)
172         throws com.liferay.portal.kernel.exception.SystemException;
173 
174     public com.liferay.portal.model.User fetchByPortraitId(long portraitId,
175         boolean retrieveFromCache)
176         throws com.liferay.portal.kernel.exception.SystemException;
177 
178     public com.liferay.portal.model.User findByC_U(long companyId, long userId)
179         throws com.liferay.portal.NoSuchUserException,
180             com.liferay.portal.kernel.exception.SystemException;
181 
182     public com.liferay.portal.model.User fetchByC_U(long companyId, long userId)
183         throws com.liferay.portal.kernel.exception.SystemException;
184 
185     public com.liferay.portal.model.User fetchByC_U(long companyId,
186         long userId, boolean retrieveFromCache)
187         throws com.liferay.portal.kernel.exception.SystemException;
188 
189     public com.liferay.portal.model.User findByC_DU(long companyId,
190         boolean defaultUser)
191         throws com.liferay.portal.NoSuchUserException,
192             com.liferay.portal.kernel.exception.SystemException;
193 
194     public com.liferay.portal.model.User fetchByC_DU(long companyId,
195         boolean defaultUser)
196         throws com.liferay.portal.kernel.exception.SystemException;
197 
198     public com.liferay.portal.model.User fetchByC_DU(long companyId,
199         boolean defaultUser, boolean retrieveFromCache)
200         throws com.liferay.portal.kernel.exception.SystemException;
201 
202     public com.liferay.portal.model.User findByC_SN(long companyId,
203         java.lang.String screenName)
204         throws com.liferay.portal.NoSuchUserException,
205             com.liferay.portal.kernel.exception.SystemException;
206 
207     public com.liferay.portal.model.User fetchByC_SN(long companyId,
208         java.lang.String screenName)
209         throws com.liferay.portal.kernel.exception.SystemException;
210 
211     public com.liferay.portal.model.User fetchByC_SN(long companyId,
212         java.lang.String screenName, boolean retrieveFromCache)
213         throws com.liferay.portal.kernel.exception.SystemException;
214 
215     public com.liferay.portal.model.User findByC_EA(long companyId,
216         java.lang.String emailAddress)
217         throws com.liferay.portal.NoSuchUserException,
218             com.liferay.portal.kernel.exception.SystemException;
219 
220     public com.liferay.portal.model.User fetchByC_EA(long companyId,
221         java.lang.String emailAddress)
222         throws com.liferay.portal.kernel.exception.SystemException;
223 
224     public com.liferay.portal.model.User fetchByC_EA(long companyId,
225         java.lang.String emailAddress, boolean retrieveFromCache)
226         throws com.liferay.portal.kernel.exception.SystemException;
227 
228     public java.util.List<com.liferay.portal.model.User> findByC_A(
229         long companyId, boolean active)
230         throws com.liferay.portal.kernel.exception.SystemException;
231 
232     public java.util.List<com.liferay.portal.model.User> findByC_A(
233         long companyId, boolean active, int start, int end)
234         throws com.liferay.portal.kernel.exception.SystemException;
235 
236     public java.util.List<com.liferay.portal.model.User> findByC_A(
237         long companyId, boolean active, int start, int end,
238         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
239         throws com.liferay.portal.kernel.exception.SystemException;
240 
241     public com.liferay.portal.model.User findByC_A_First(long companyId,
242         boolean active,
243         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
244         throws com.liferay.portal.NoSuchUserException,
245             com.liferay.portal.kernel.exception.SystemException;
246 
247     public com.liferay.portal.model.User findByC_A_Last(long companyId,
248         boolean active,
249         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
250         throws com.liferay.portal.NoSuchUserException,
251             com.liferay.portal.kernel.exception.SystemException;
252 
253     public com.liferay.portal.model.User[] findByC_A_PrevAndNext(long userId,
254         long companyId, boolean active,
255         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
256         throws com.liferay.portal.NoSuchUserException,
257             com.liferay.portal.kernel.exception.SystemException;
258 
259     public java.util.List<com.liferay.portal.model.User> findAll()
260         throws com.liferay.portal.kernel.exception.SystemException;
261 
262     public java.util.List<com.liferay.portal.model.User> findAll(int start,
263         int end) throws com.liferay.portal.kernel.exception.SystemException;
264 
265     public java.util.List<com.liferay.portal.model.User> findAll(int start,
266         int end,
267         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
268         throws com.liferay.portal.kernel.exception.SystemException;
269 
270     public void removeByUuid(java.lang.String uuid)
271         throws com.liferay.portal.kernel.exception.SystemException;
272 
273     public void removeByCompanyId(long companyId)
274         throws com.liferay.portal.kernel.exception.SystemException;
275 
276     public void removeByContactId(long contactId)
277         throws com.liferay.portal.NoSuchUserException,
278             com.liferay.portal.kernel.exception.SystemException;
279 
280     public void removeByEmailAddress(java.lang.String emailAddress)
281         throws com.liferay.portal.kernel.exception.SystemException;
282 
283     public void removeByOpenId(java.lang.String openId)
284         throws com.liferay.portal.NoSuchUserException,
285             com.liferay.portal.kernel.exception.SystemException;
286 
287     public void removeByPortraitId(long portraitId)
288         throws com.liferay.portal.NoSuchUserException,
289             com.liferay.portal.kernel.exception.SystemException;
290 
291     public void removeByC_U(long companyId, long userId)
292         throws com.liferay.portal.NoSuchUserException,
293             com.liferay.portal.kernel.exception.SystemException;
294 
295     public void removeByC_DU(long companyId, boolean defaultUser)
296         throws com.liferay.portal.NoSuchUserException,
297             com.liferay.portal.kernel.exception.SystemException;
298 
299     public void removeByC_SN(long companyId, java.lang.String screenName)
300         throws com.liferay.portal.NoSuchUserException,
301             com.liferay.portal.kernel.exception.SystemException;
302 
303     public void removeByC_EA(long companyId, java.lang.String emailAddress)
304         throws com.liferay.portal.NoSuchUserException,
305             com.liferay.portal.kernel.exception.SystemException;
306 
307     public void removeByC_A(long companyId, boolean active)
308         throws com.liferay.portal.kernel.exception.SystemException;
309 
310     public void removeAll()
311         throws com.liferay.portal.kernel.exception.SystemException;
312 
313     public int countByUuid(java.lang.String uuid)
314         throws com.liferay.portal.kernel.exception.SystemException;
315 
316     public int countByCompanyId(long companyId)
317         throws com.liferay.portal.kernel.exception.SystemException;
318 
319     public int countByContactId(long contactId)
320         throws com.liferay.portal.kernel.exception.SystemException;
321 
322     public int countByEmailAddress(java.lang.String emailAddress)
323         throws com.liferay.portal.kernel.exception.SystemException;
324 
325     public int countByOpenId(java.lang.String openId)
326         throws com.liferay.portal.kernel.exception.SystemException;
327 
328     public int countByPortraitId(long portraitId)
329         throws com.liferay.portal.kernel.exception.SystemException;
330 
331     public int countByC_U(long companyId, long userId)
332         throws com.liferay.portal.kernel.exception.SystemException;
333 
334     public int countByC_DU(long companyId, boolean defaultUser)
335         throws com.liferay.portal.kernel.exception.SystemException;
336 
337     public int countByC_SN(long companyId, java.lang.String screenName)
338         throws com.liferay.portal.kernel.exception.SystemException;
339 
340     public int countByC_EA(long companyId, java.lang.String emailAddress)
341         throws com.liferay.portal.kernel.exception.SystemException;
342 
343     public int countByC_A(long companyId, boolean active)
344         throws com.liferay.portal.kernel.exception.SystemException;
345 
346     public int countAll()
347         throws com.liferay.portal.kernel.exception.SystemException;
348 
349     public java.util.List<com.liferay.portal.model.Group> getGroups(long pk)
350         throws com.liferay.portal.kernel.exception.SystemException;
351 
352     public java.util.List<com.liferay.portal.model.Group> getGroups(long pk,
353         int start, int end)
354         throws com.liferay.portal.kernel.exception.SystemException;
355 
356     public java.util.List<com.liferay.portal.model.Group> getGroups(long pk,
357         int start, int end,
358         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
359         throws com.liferay.portal.kernel.exception.SystemException;
360 
361     public int getGroupsSize(long pk)
362         throws com.liferay.portal.kernel.exception.SystemException;
363 
364     public boolean containsGroup(long pk, long groupPK)
365         throws com.liferay.portal.kernel.exception.SystemException;
366 
367     public boolean containsGroups(long pk)
368         throws com.liferay.portal.kernel.exception.SystemException;
369 
370     public void addGroup(long pk, long groupPK)
371         throws com.liferay.portal.kernel.exception.SystemException;
372 
373     public void addGroup(long pk, com.liferay.portal.model.Group group)
374         throws com.liferay.portal.kernel.exception.SystemException;
375 
376     public void addGroups(long pk, long[] groupPKs)
377         throws com.liferay.portal.kernel.exception.SystemException;
378 
379     public void addGroups(long pk,
380         java.util.List<com.liferay.portal.model.Group> groups)
381         throws com.liferay.portal.kernel.exception.SystemException;
382 
383     public void clearGroups(long pk)
384         throws com.liferay.portal.kernel.exception.SystemException;
385 
386     public void removeGroup(long pk, long groupPK)
387         throws com.liferay.portal.kernel.exception.SystemException;
388 
389     public void removeGroup(long pk, com.liferay.portal.model.Group group)
390         throws com.liferay.portal.kernel.exception.SystemException;
391 
392     public void removeGroups(long pk, long[] groupPKs)
393         throws com.liferay.portal.kernel.exception.SystemException;
394 
395     public void removeGroups(long pk,
396         java.util.List<com.liferay.portal.model.Group> groups)
397         throws com.liferay.portal.kernel.exception.SystemException;
398 
399     public void setGroups(long pk, long[] groupPKs)
400         throws com.liferay.portal.kernel.exception.SystemException;
401 
402     public void setGroups(long pk,
403         java.util.List<com.liferay.portal.model.Group> groups)
404         throws com.liferay.portal.kernel.exception.SystemException;
405 
406     public java.util.List<com.liferay.portal.model.Organization> getOrganizations(
407         long pk) throws com.liferay.portal.kernel.exception.SystemException;
408 
409     public java.util.List<com.liferay.portal.model.Organization> getOrganizations(
410         long pk, int start, int end)
411         throws com.liferay.portal.kernel.exception.SystemException;
412 
413     public java.util.List<com.liferay.portal.model.Organization> getOrganizations(
414         long pk, int start, int end,
415         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
416         throws com.liferay.portal.kernel.exception.SystemException;
417 
418     public int getOrganizationsSize(long pk)
419         throws com.liferay.portal.kernel.exception.SystemException;
420 
421     public boolean containsOrganization(long pk, long organizationPK)
422         throws com.liferay.portal.kernel.exception.SystemException;
423 
424     public boolean containsOrganizations(long pk)
425         throws com.liferay.portal.kernel.exception.SystemException;
426 
427     public void addOrganization(long pk, long organizationPK)
428         throws com.liferay.portal.kernel.exception.SystemException;
429 
430     public void addOrganization(long pk,
431         com.liferay.portal.model.Organization organization)
432         throws com.liferay.portal.kernel.exception.SystemException;
433 
434     public void addOrganizations(long pk, long[] organizationPKs)
435         throws com.liferay.portal.kernel.exception.SystemException;
436 
437     public void addOrganizations(long pk,
438         java.util.List<com.liferay.portal.model.Organization> organizations)
439         throws com.liferay.portal.kernel.exception.SystemException;
440 
441     public void clearOrganizations(long pk)
442         throws com.liferay.portal.kernel.exception.SystemException;
443 
444     public void removeOrganization(long pk, long organizationPK)
445         throws com.liferay.portal.kernel.exception.SystemException;
446 
447     public void removeOrganization(long pk,
448         com.liferay.portal.model.Organization organization)
449         throws com.liferay.portal.kernel.exception.SystemException;
450 
451     public void removeOrganizations(long pk, long[] organizationPKs)
452         throws com.liferay.portal.kernel.exception.SystemException;
453 
454     public void removeOrganizations(long pk,
455         java.util.List<com.liferay.portal.model.Organization> organizations)
456         throws com.liferay.portal.kernel.exception.SystemException;
457 
458     public void setOrganizations(long pk, long[] organizationPKs)
459         throws com.liferay.portal.kernel.exception.SystemException;
460 
461     public void setOrganizations(long pk,
462         java.util.List<com.liferay.portal.model.Organization> organizations)
463         throws com.liferay.portal.kernel.exception.SystemException;
464 
465     public java.util.List<com.liferay.portal.model.Permission> getPermissions(
466         long pk) throws com.liferay.portal.kernel.exception.SystemException;
467 
468     public java.util.List<com.liferay.portal.model.Permission> getPermissions(
469         long pk, int start, int end)
470         throws com.liferay.portal.kernel.exception.SystemException;
471 
472     public java.util.List<com.liferay.portal.model.Permission> getPermissions(
473         long pk, int start, int end,
474         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
475         throws com.liferay.portal.kernel.exception.SystemException;
476 
477     public int getPermissionsSize(long pk)
478         throws com.liferay.portal.kernel.exception.SystemException;
479 
480     public boolean containsPermission(long pk, long permissionPK)
481         throws com.liferay.portal.kernel.exception.SystemException;
482 
483     public boolean containsPermissions(long pk)
484         throws com.liferay.portal.kernel.exception.SystemException;
485 
486     public void addPermission(long pk, long permissionPK)
487         throws com.liferay.portal.kernel.exception.SystemException;
488 
489     public void addPermission(long pk,
490         com.liferay.portal.model.Permission permission)
491         throws com.liferay.portal.kernel.exception.SystemException;
492 
493     public void addPermissions(long pk, long[] permissionPKs)
494         throws com.liferay.portal.kernel.exception.SystemException;
495 
496     public void addPermissions(long pk,
497         java.util.List<com.liferay.portal.model.Permission> permissions)
498         throws com.liferay.portal.kernel.exception.SystemException;
499 
500     public void clearPermissions(long pk)
501         throws com.liferay.portal.kernel.exception.SystemException;
502 
503     public void removePermission(long pk, long permissionPK)
504         throws com.liferay.portal.kernel.exception.SystemException;
505 
506     public void removePermission(long pk,
507         com.liferay.portal.model.Permission permission)
508         throws com.liferay.portal.kernel.exception.SystemException;
509 
510     public void removePermissions(long pk, long[] permissionPKs)
511         throws com.liferay.portal.kernel.exception.SystemException;
512 
513     public void removePermissions(long pk,
514         java.util.List<com.liferay.portal.model.Permission> permissions)
515         throws com.liferay.portal.kernel.exception.SystemException;
516 
517     public void setPermissions(long pk, long[] permissionPKs)
518         throws com.liferay.portal.kernel.exception.SystemException;
519 
520     public void setPermissions(long pk,
521         java.util.List<com.liferay.portal.model.Permission> permissions)
522         throws com.liferay.portal.kernel.exception.SystemException;
523 
524     public java.util.List<com.liferay.portal.model.Role> getRoles(long pk)
525         throws com.liferay.portal.kernel.exception.SystemException;
526 
527     public java.util.List<com.liferay.portal.model.Role> getRoles(long pk,
528         int start, int end)
529         throws com.liferay.portal.kernel.exception.SystemException;
530 
531     public java.util.List<com.liferay.portal.model.Role> getRoles(long pk,
532         int start, int end,
533         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
534         throws com.liferay.portal.kernel.exception.SystemException;
535 
536     public int getRolesSize(long pk)
537         throws com.liferay.portal.kernel.exception.SystemException;
538 
539     public boolean containsRole(long pk, long rolePK)
540         throws com.liferay.portal.kernel.exception.SystemException;
541 
542     public boolean containsRoles(long pk)
543         throws com.liferay.portal.kernel.exception.SystemException;
544 
545     public void addRole(long pk, long rolePK)
546         throws com.liferay.portal.kernel.exception.SystemException;
547 
548     public void addRole(long pk, com.liferay.portal.model.Role role)
549         throws com.liferay.portal.kernel.exception.SystemException;
550 
551     public void addRoles(long pk, long[] rolePKs)
552         throws com.liferay.portal.kernel.exception.SystemException;
553 
554     public void addRoles(long pk,
555         java.util.List<com.liferay.portal.model.Role> roles)
556         throws com.liferay.portal.kernel.exception.SystemException;
557 
558     public void clearRoles(long pk)
559         throws com.liferay.portal.kernel.exception.SystemException;
560 
561     public void removeRole(long pk, long rolePK)
562         throws com.liferay.portal.kernel.exception.SystemException;
563 
564     public void removeRole(long pk, com.liferay.portal.model.Role role)
565         throws com.liferay.portal.kernel.exception.SystemException;
566 
567     public void removeRoles(long pk, long[] rolePKs)
568         throws com.liferay.portal.kernel.exception.SystemException;
569 
570     public void removeRoles(long pk,
571         java.util.List<com.liferay.portal.model.Role> roles)
572         throws com.liferay.portal.kernel.exception.SystemException;
573 
574     public void setRoles(long pk, long[] rolePKs)
575         throws com.liferay.portal.kernel.exception.SystemException;
576 
577     public void setRoles(long pk,
578         java.util.List<com.liferay.portal.model.Role> roles)
579         throws com.liferay.portal.kernel.exception.SystemException;
580 
581     public java.util.List<com.liferay.portal.model.Team> getTeams(long pk)
582         throws com.liferay.portal.kernel.exception.SystemException;
583 
584     public java.util.List<com.liferay.portal.model.Team> getTeams(long pk,
585         int start, int end)
586         throws com.liferay.portal.kernel.exception.SystemException;
587 
588     public java.util.List<com.liferay.portal.model.Team> getTeams(long pk,
589         int start, int end,
590         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
591         throws com.liferay.portal.kernel.exception.SystemException;
592 
593     public int getTeamsSize(long pk)
594         throws com.liferay.portal.kernel.exception.SystemException;
595 
596     public boolean containsTeam(long pk, long teamPK)
597         throws com.liferay.portal.kernel.exception.SystemException;
598 
599     public boolean containsTeams(long pk)
600         throws com.liferay.portal.kernel.exception.SystemException;
601 
602     public void addTeam(long pk, long teamPK)
603         throws com.liferay.portal.kernel.exception.SystemException;
604 
605     public void addTeam(long pk, com.liferay.portal.model.Team team)
606         throws com.liferay.portal.kernel.exception.SystemException;
607 
608     public void addTeams(long pk, long[] teamPKs)
609         throws com.liferay.portal.kernel.exception.SystemException;
610 
611     public void addTeams(long pk,
612         java.util.List<com.liferay.portal.model.Team> teams)
613         throws com.liferay.portal.kernel.exception.SystemException;
614 
615     public void clearTeams(long pk)
616         throws com.liferay.portal.kernel.exception.SystemException;
617 
618     public void removeTeam(long pk, long teamPK)
619         throws com.liferay.portal.kernel.exception.SystemException;
620 
621     public void removeTeam(long pk, com.liferay.portal.model.Team team)
622         throws com.liferay.portal.kernel.exception.SystemException;
623 
624     public void removeTeams(long pk, long[] teamPKs)
625         throws com.liferay.portal.kernel.exception.SystemException;
626 
627     public void removeTeams(long pk,
628         java.util.List<com.liferay.portal.model.Team> teams)
629         throws com.liferay.portal.kernel.exception.SystemException;
630 
631     public void setTeams(long pk, long[] teamPKs)
632         throws com.liferay.portal.kernel.exception.SystemException;
633 
634     public void setTeams(long pk,
635         java.util.List<com.liferay.portal.model.Team> teams)
636         throws com.liferay.portal.kernel.exception.SystemException;
637 
638     public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
639         long pk) throws com.liferay.portal.kernel.exception.SystemException;
640 
641     public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
642         long pk, int start, int end)
643         throws com.liferay.portal.kernel.exception.SystemException;
644 
645     public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
646         long pk, int start, int end,
647         com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
648         throws com.liferay.portal.kernel.exception.SystemException;
649 
650     public int getUserGroupsSize(long pk)
651         throws com.liferay.portal.kernel.exception.SystemException;
652 
653     public boolean containsUserGroup(long pk, long userGroupPK)
654         throws com.liferay.portal.kernel.exception.SystemException;
655 
656     public boolean containsUserGroups(long pk)
657         throws com.liferay.portal.kernel.exception.SystemException;
658 
659     public void addUserGroup(long pk, long userGroupPK)
660         throws com.liferay.portal.kernel.exception.SystemException;
661 
662     public void addUserGroup(long pk,
663         com.liferay.portal.model.UserGroup userGroup)
664         throws com.liferay.portal.kernel.exception.SystemException;
665 
666     public void addUserGroups(long pk, long[] userGroupPKs)
667         throws com.liferay.portal.kernel.exception.SystemException;
668 
669     public void addUserGroups(long pk,
670         java.util.List<com.liferay.portal.model.UserGroup> userGroups)
671         throws com.liferay.portal.kernel.exception.SystemException;
672 
673     public void clearUserGroups(long pk)
674         throws com.liferay.portal.kernel.exception.SystemException;
675 
676     public void removeUserGroup(long pk, long userGroupPK)
677         throws com.liferay.portal.kernel.exception.SystemException;
678 
679     public void removeUserGroup(long pk,
680         com.liferay.portal.model.UserGroup userGroup)
681         throws com.liferay.portal.kernel.exception.SystemException;
682 
683     public void removeUserGroups(long pk, long[] userGroupPKs)
684         throws com.liferay.portal.kernel.exception.SystemException;
685 
686     public void removeUserGroups(long pk,
687         java.util.List<com.liferay.portal.model.UserGroup> userGroups)
688         throws com.liferay.portal.kernel.exception.SystemException;
689 
690     public void setUserGroups(long pk, long[] userGroupPKs)
691         throws com.liferay.portal.kernel.exception.SystemException;
692 
693     public void setUserGroups(long pk,
694         java.util.List<com.liferay.portal.model.UserGroup> userGroups)
695         throws com.liferay.portal.kernel.exception.SystemException;
696 }