001: /**
002: * Copyright (c) 2000-2008 Liferay, Inc. All rights reserved.
003: *
004: * Permission is hereby granted, free of charge, to any person obtaining a copy
005: * of this software and associated documentation files (the "Software"), to deal
006: * in the Software without restriction, including without limitation the rights
007: * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
008: * copies of the Software, and to permit persons to whom the Software is
009: * furnished to do so, subject to the following conditions:
010: *
011: * The above copyright notice and this permission notice shall be included in
012: * all copies or substantial portions of the Software.
013: *
014: * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
015: * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
016: * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
017: * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
018: * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
019: * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
020: * SOFTWARE.
021: */package com.liferay.portal.service.persistence;
022:
023: /**
024: * <a href="UserPersistence.java.html"><b><i>View Source</i></b></a>
025: *
026: * @author Brian Wing Shun Chan
027: *
028: */
029: public interface UserPersistence {
030: public com.liferay.portal.model.User create(long userId);
031:
032: public com.liferay.portal.model.User remove(long userId)
033: throws com.liferay.portal.SystemException,
034: com.liferay.portal.NoSuchUserException;
035:
036: public com.liferay.portal.model.User remove(
037: com.liferay.portal.model.User user)
038: throws com.liferay.portal.SystemException;
039:
040: public com.liferay.portal.model.User update(
041: com.liferay.portal.model.User user)
042: throws com.liferay.portal.SystemException;
043:
044: public com.liferay.portal.model.User update(
045: com.liferay.portal.model.User user, boolean merge)
046: throws com.liferay.portal.SystemException;
047:
048: public com.liferay.portal.model.User updateImpl(
049: com.liferay.portal.model.User user, boolean merge)
050: throws com.liferay.portal.SystemException;
051:
052: public com.liferay.portal.model.User findByPrimaryKey(long userId)
053: throws com.liferay.portal.SystemException,
054: com.liferay.portal.NoSuchUserException;
055:
056: public com.liferay.portal.model.User fetchByPrimaryKey(long userId)
057: throws com.liferay.portal.SystemException;
058:
059: public java.util.List findByUuid(java.lang.String uuid)
060: throws com.liferay.portal.SystemException;
061:
062: public java.util.List findByUuid(java.lang.String uuid, int begin,
063: int end) throws com.liferay.portal.SystemException;
064:
065: public java.util.List findByUuid(java.lang.String uuid, int begin,
066: int end,
067: com.liferay.portal.kernel.util.OrderByComparator obc)
068: throws com.liferay.portal.SystemException;
069:
070: public com.liferay.portal.model.User findByUuid_First(
071: java.lang.String uuid,
072: com.liferay.portal.kernel.util.OrderByComparator obc)
073: throws com.liferay.portal.SystemException,
074: com.liferay.portal.NoSuchUserException;
075:
076: public com.liferay.portal.model.User findByUuid_Last(
077: java.lang.String uuid,
078: com.liferay.portal.kernel.util.OrderByComparator obc)
079: throws com.liferay.portal.SystemException,
080: com.liferay.portal.NoSuchUserException;
081:
082: public com.liferay.portal.model.User[] findByUuid_PrevAndNext(
083: long userId, java.lang.String uuid,
084: com.liferay.portal.kernel.util.OrderByComparator obc)
085: throws com.liferay.portal.SystemException,
086: com.liferay.portal.NoSuchUserException;
087:
088: public java.util.List findByCompanyId(long companyId)
089: throws com.liferay.portal.SystemException;
090:
091: public java.util.List findByCompanyId(long companyId, int begin,
092: int end) throws com.liferay.portal.SystemException;
093:
094: public java.util.List findByCompanyId(long companyId, int begin,
095: int end,
096: com.liferay.portal.kernel.util.OrderByComparator obc)
097: throws com.liferay.portal.SystemException;
098:
099: public com.liferay.portal.model.User findByCompanyId_First(
100: long companyId,
101: com.liferay.portal.kernel.util.OrderByComparator obc)
102: throws com.liferay.portal.SystemException,
103: com.liferay.portal.NoSuchUserException;
104:
105: public com.liferay.portal.model.User findByCompanyId_Last(
106: long companyId,
107: com.liferay.portal.kernel.util.OrderByComparator obc)
108: throws com.liferay.portal.SystemException,
109: com.liferay.portal.NoSuchUserException;
110:
111: public com.liferay.portal.model.User[] findByCompanyId_PrevAndNext(
112: long userId, long companyId,
113: com.liferay.portal.kernel.util.OrderByComparator obc)
114: throws com.liferay.portal.SystemException,
115: com.liferay.portal.NoSuchUserException;
116:
117: public com.liferay.portal.model.User findByContactId(long contactId)
118: throws com.liferay.portal.SystemException,
119: com.liferay.portal.NoSuchUserException;
120:
121: public com.liferay.portal.model.User fetchByContactId(long contactId)
122: throws com.liferay.portal.SystemException;
123:
124: public com.liferay.portal.model.User findByPortraitId(
125: long portraitId) throws com.liferay.portal.SystemException,
126: com.liferay.portal.NoSuchUserException;
127:
128: public com.liferay.portal.model.User fetchByPortraitId(
129: long portraitId) throws com.liferay.portal.SystemException;
130:
131: public com.liferay.portal.model.User findByC_U(long companyId,
132: long userId) throws com.liferay.portal.SystemException,
133: com.liferay.portal.NoSuchUserException;
134:
135: public com.liferay.portal.model.User fetchByC_U(long companyId,
136: long userId) throws com.liferay.portal.SystemException;
137:
138: public com.liferay.portal.model.User findByC_DU(long companyId,
139: boolean defaultUser)
140: throws com.liferay.portal.SystemException,
141: com.liferay.portal.NoSuchUserException;
142:
143: public com.liferay.portal.model.User fetchByC_DU(long companyId,
144: boolean defaultUser)
145: throws com.liferay.portal.SystemException;
146:
147: public java.util.List findByC_P(long companyId,
148: java.lang.String password)
149: throws com.liferay.portal.SystemException;
150:
151: public java.util.List findByC_P(long companyId,
152: java.lang.String password, int begin, int end)
153: throws com.liferay.portal.SystemException;
154:
155: public java.util.List findByC_P(long companyId,
156: java.lang.String password, int begin, int end,
157: com.liferay.portal.kernel.util.OrderByComparator obc)
158: throws com.liferay.portal.SystemException;
159:
160: public com.liferay.portal.model.User findByC_P_First(
161: long companyId, java.lang.String password,
162: com.liferay.portal.kernel.util.OrderByComparator obc)
163: throws com.liferay.portal.SystemException,
164: com.liferay.portal.NoSuchUserException;
165:
166: public com.liferay.portal.model.User findByC_P_Last(long companyId,
167: java.lang.String password,
168: com.liferay.portal.kernel.util.OrderByComparator obc)
169: throws com.liferay.portal.SystemException,
170: com.liferay.portal.NoSuchUserException;
171:
172: public com.liferay.portal.model.User[] findByC_P_PrevAndNext(
173: long userId, long companyId, java.lang.String password,
174: com.liferay.portal.kernel.util.OrderByComparator obc)
175: throws com.liferay.portal.SystemException,
176: com.liferay.portal.NoSuchUserException;
177:
178: public com.liferay.portal.model.User findByC_SN(long companyId,
179: java.lang.String screenName)
180: throws com.liferay.portal.SystemException,
181: com.liferay.portal.NoSuchUserException;
182:
183: public com.liferay.portal.model.User fetchByC_SN(long companyId,
184: java.lang.String screenName)
185: throws com.liferay.portal.SystemException;
186:
187: public com.liferay.portal.model.User findByC_EA(long companyId,
188: java.lang.String emailAddress)
189: throws com.liferay.portal.SystemException,
190: com.liferay.portal.NoSuchUserException;
191:
192: public com.liferay.portal.model.User fetchByC_EA(long companyId,
193: java.lang.String emailAddress)
194: throws com.liferay.portal.SystemException;
195:
196: public java.util.List findWithDynamicQuery(
197: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
198: throws com.liferay.portal.SystemException;
199:
200: public java.util.List findWithDynamicQuery(
201: com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
202: int begin, int end)
203: throws com.liferay.portal.SystemException;
204:
205: public java.util.List findAll()
206: throws com.liferay.portal.SystemException;
207:
208: public java.util.List findAll(int begin, int end)
209: throws com.liferay.portal.SystemException;
210:
211: public java.util.List findAll(int begin, int end,
212: com.liferay.portal.kernel.util.OrderByComparator obc)
213: throws com.liferay.portal.SystemException;
214:
215: public void removeByUuid(java.lang.String uuid)
216: throws com.liferay.portal.SystemException;
217:
218: public void removeByCompanyId(long companyId)
219: throws com.liferay.portal.SystemException;
220:
221: public void removeByContactId(long contactId)
222: throws com.liferay.portal.SystemException,
223: com.liferay.portal.NoSuchUserException;
224:
225: public void removeByPortraitId(long portraitId)
226: throws com.liferay.portal.SystemException,
227: com.liferay.portal.NoSuchUserException;
228:
229: public void removeByC_U(long companyId, long userId)
230: throws com.liferay.portal.SystemException,
231: com.liferay.portal.NoSuchUserException;
232:
233: public void removeByC_DU(long companyId, boolean defaultUser)
234: throws com.liferay.portal.SystemException,
235: com.liferay.portal.NoSuchUserException;
236:
237: public void removeByC_P(long companyId, java.lang.String password)
238: throws com.liferay.portal.SystemException;
239:
240: public void removeByC_SN(long companyId, java.lang.String screenName)
241: throws com.liferay.portal.SystemException,
242: com.liferay.portal.NoSuchUserException;
243:
244: public void removeByC_EA(long companyId,
245: java.lang.String emailAddress)
246: throws com.liferay.portal.SystemException,
247: com.liferay.portal.NoSuchUserException;
248:
249: public void removeAll() throws com.liferay.portal.SystemException;
250:
251: public int countByUuid(java.lang.String uuid)
252: throws com.liferay.portal.SystemException;
253:
254: public int countByCompanyId(long companyId)
255: throws com.liferay.portal.SystemException;
256:
257: public int countByContactId(long contactId)
258: throws com.liferay.portal.SystemException;
259:
260: public int countByPortraitId(long portraitId)
261: throws com.liferay.portal.SystemException;
262:
263: public int countByC_U(long companyId, long userId)
264: throws com.liferay.portal.SystemException;
265:
266: public int countByC_DU(long companyId, boolean defaultUser)
267: throws com.liferay.portal.SystemException;
268:
269: public int countByC_P(long companyId, java.lang.String password)
270: throws com.liferay.portal.SystemException;
271:
272: public int countByC_SN(long companyId, java.lang.String screenName)
273: throws com.liferay.portal.SystemException;
274:
275: public int countByC_EA(long companyId, java.lang.String emailAddress)
276: throws com.liferay.portal.SystemException;
277:
278: public int countAll() throws com.liferay.portal.SystemException;
279:
280: public java.util.List getGroups(long pk)
281: throws com.liferay.portal.SystemException,
282: com.liferay.portal.NoSuchUserException;
283:
284: public java.util.List getGroups(long pk, int begin, int end)
285: throws com.liferay.portal.SystemException,
286: com.liferay.portal.NoSuchUserException;
287:
288: public java.util.List getGroups(long pk, int begin, int end,
289: com.liferay.portal.kernel.util.OrderByComparator obc)
290: throws com.liferay.portal.SystemException,
291: com.liferay.portal.NoSuchUserException;
292:
293: public int getGroupsSize(long pk)
294: throws com.liferay.portal.SystemException;
295:
296: public boolean containsGroup(long pk, long groupPK)
297: throws com.liferay.portal.SystemException;
298:
299: public boolean containsGroups(long pk)
300: throws com.liferay.portal.SystemException;
301:
302: public void addGroup(long pk, long groupPK)
303: throws com.liferay.portal.SystemException,
304: com.liferay.portal.NoSuchGroupException,
305: com.liferay.portal.NoSuchUserException;
306:
307: public void addGroup(long pk, com.liferay.portal.model.Group group)
308: throws com.liferay.portal.SystemException,
309: com.liferay.portal.NoSuchGroupException,
310: com.liferay.portal.NoSuchUserException;
311:
312: public void addGroups(long pk, long[] groupPKs)
313: throws com.liferay.portal.SystemException,
314: com.liferay.portal.NoSuchGroupException,
315: com.liferay.portal.NoSuchUserException;
316:
317: public void addGroups(long pk, java.util.List groups)
318: throws com.liferay.portal.SystemException,
319: com.liferay.portal.NoSuchGroupException,
320: com.liferay.portal.NoSuchUserException;
321:
322: public void clearGroups(long pk)
323: throws com.liferay.portal.SystemException,
324: com.liferay.portal.NoSuchUserException;
325:
326: public void removeGroup(long pk, long groupPK)
327: throws com.liferay.portal.SystemException,
328: com.liferay.portal.NoSuchGroupException,
329: com.liferay.portal.NoSuchUserException;
330:
331: public void removeGroup(long pk,
332: com.liferay.portal.model.Group group)
333: throws com.liferay.portal.SystemException,
334: com.liferay.portal.NoSuchGroupException,
335: com.liferay.portal.NoSuchUserException;
336:
337: public void removeGroups(long pk, long[] groupPKs)
338: throws com.liferay.portal.SystemException,
339: com.liferay.portal.NoSuchGroupException,
340: com.liferay.portal.NoSuchUserException;
341:
342: public void removeGroups(long pk, java.util.List groups)
343: throws com.liferay.portal.SystemException,
344: com.liferay.portal.NoSuchGroupException,
345: com.liferay.portal.NoSuchUserException;
346:
347: public void setGroups(long pk, long[] groupPKs)
348: throws com.liferay.portal.SystemException,
349: com.liferay.portal.NoSuchGroupException,
350: com.liferay.portal.NoSuchUserException;
351:
352: public void setGroups(long pk, java.util.List groups)
353: throws com.liferay.portal.SystemException,
354: com.liferay.portal.NoSuchGroupException,
355: com.liferay.portal.NoSuchUserException;
356:
357: public java.util.List getOrganizations(long pk)
358: throws com.liferay.portal.SystemException,
359: com.liferay.portal.NoSuchUserException;
360:
361: public java.util.List getOrganizations(long pk, int begin, int end)
362: throws com.liferay.portal.SystemException,
363: com.liferay.portal.NoSuchUserException;
364:
365: public java.util.List getOrganizations(long pk, int begin, int end,
366: com.liferay.portal.kernel.util.OrderByComparator obc)
367: throws com.liferay.portal.SystemException,
368: com.liferay.portal.NoSuchUserException;
369:
370: public int getOrganizationsSize(long pk)
371: throws com.liferay.portal.SystemException;
372:
373: public boolean containsOrganization(long pk, long organizationPK)
374: throws com.liferay.portal.SystemException;
375:
376: public boolean containsOrganizations(long pk)
377: throws com.liferay.portal.SystemException;
378:
379: public void addOrganization(long pk, long organizationPK)
380: throws com.liferay.portal.SystemException,
381: com.liferay.portal.NoSuchOrganizationException,
382: com.liferay.portal.NoSuchUserException;
383:
384: public void addOrganization(long pk,
385: com.liferay.portal.model.Organization organization)
386: throws com.liferay.portal.SystemException,
387: com.liferay.portal.NoSuchOrganizationException,
388: com.liferay.portal.NoSuchUserException;
389:
390: public void addOrganizations(long pk, long[] organizationPKs)
391: throws com.liferay.portal.SystemException,
392: com.liferay.portal.NoSuchOrganizationException,
393: com.liferay.portal.NoSuchUserException;
394:
395: public void addOrganizations(long pk, java.util.List organizations)
396: throws com.liferay.portal.SystemException,
397: com.liferay.portal.NoSuchOrganizationException,
398: com.liferay.portal.NoSuchUserException;
399:
400: public void clearOrganizations(long pk)
401: throws com.liferay.portal.SystemException,
402: com.liferay.portal.NoSuchUserException;
403:
404: public void removeOrganization(long pk, long organizationPK)
405: throws com.liferay.portal.SystemException,
406: com.liferay.portal.NoSuchOrganizationException,
407: com.liferay.portal.NoSuchUserException;
408:
409: public void removeOrganization(long pk,
410: com.liferay.portal.model.Organization organization)
411: throws com.liferay.portal.SystemException,
412: com.liferay.portal.NoSuchOrganizationException,
413: com.liferay.portal.NoSuchUserException;
414:
415: public void removeOrganizations(long pk, long[] organizationPKs)
416: throws com.liferay.portal.SystemException,
417: com.liferay.portal.NoSuchOrganizationException,
418: com.liferay.portal.NoSuchUserException;
419:
420: public void removeOrganizations(long pk,
421: java.util.List organizations)
422: throws com.liferay.portal.SystemException,
423: com.liferay.portal.NoSuchOrganizationException,
424: com.liferay.portal.NoSuchUserException;
425:
426: public void setOrganizations(long pk, long[] organizationPKs)
427: throws com.liferay.portal.SystemException,
428: com.liferay.portal.NoSuchOrganizationException,
429: com.liferay.portal.NoSuchUserException;
430:
431: public void setOrganizations(long pk, java.util.List organizations)
432: throws com.liferay.portal.SystemException,
433: com.liferay.portal.NoSuchOrganizationException,
434: com.liferay.portal.NoSuchUserException;
435:
436: public java.util.List getPermissions(long pk)
437: throws com.liferay.portal.SystemException,
438: com.liferay.portal.NoSuchUserException;
439:
440: public java.util.List getPermissions(long pk, int begin, int end)
441: throws com.liferay.portal.SystemException,
442: com.liferay.portal.NoSuchUserException;
443:
444: public java.util.List getPermissions(long pk, int begin, int end,
445: com.liferay.portal.kernel.util.OrderByComparator obc)
446: throws com.liferay.portal.SystemException,
447: com.liferay.portal.NoSuchUserException;
448:
449: public int getPermissionsSize(long pk)
450: throws com.liferay.portal.SystemException;
451:
452: public boolean containsPermission(long pk, long permissionPK)
453: throws com.liferay.portal.SystemException;
454:
455: public boolean containsPermissions(long pk)
456: throws com.liferay.portal.SystemException;
457:
458: public void addPermission(long pk, long permissionPK)
459: throws com.liferay.portal.SystemException,
460: com.liferay.portal.NoSuchPermissionException,
461: com.liferay.portal.NoSuchUserException;
462:
463: public void addPermission(long pk,
464: com.liferay.portal.model.Permission permission)
465: throws com.liferay.portal.SystemException,
466: com.liferay.portal.NoSuchPermissionException,
467: com.liferay.portal.NoSuchUserException;
468:
469: public void addPermissions(long pk, long[] permissionPKs)
470: throws com.liferay.portal.SystemException,
471: com.liferay.portal.NoSuchPermissionException,
472: com.liferay.portal.NoSuchUserException;
473:
474: public void addPermissions(long pk, java.util.List permissions)
475: throws com.liferay.portal.SystemException,
476: com.liferay.portal.NoSuchPermissionException,
477: com.liferay.portal.NoSuchUserException;
478:
479: public void clearPermissions(long pk)
480: throws com.liferay.portal.SystemException,
481: com.liferay.portal.NoSuchUserException;
482:
483: public void removePermission(long pk, long permissionPK)
484: throws com.liferay.portal.SystemException,
485: com.liferay.portal.NoSuchPermissionException,
486: com.liferay.portal.NoSuchUserException;
487:
488: public void removePermission(long pk,
489: com.liferay.portal.model.Permission permission)
490: throws com.liferay.portal.SystemException,
491: com.liferay.portal.NoSuchPermissionException,
492: com.liferay.portal.NoSuchUserException;
493:
494: public void removePermissions(long pk, long[] permissionPKs)
495: throws com.liferay.portal.SystemException,
496: com.liferay.portal.NoSuchPermissionException,
497: com.liferay.portal.NoSuchUserException;
498:
499: public void removePermissions(long pk, java.util.List permissions)
500: throws com.liferay.portal.SystemException,
501: com.liferay.portal.NoSuchPermissionException,
502: com.liferay.portal.NoSuchUserException;
503:
504: public void setPermissions(long pk, long[] permissionPKs)
505: throws com.liferay.portal.SystemException,
506: com.liferay.portal.NoSuchPermissionException,
507: com.liferay.portal.NoSuchUserException;
508:
509: public void setPermissions(long pk, java.util.List permissions)
510: throws com.liferay.portal.SystemException,
511: com.liferay.portal.NoSuchPermissionException,
512: com.liferay.portal.NoSuchUserException;
513:
514: public java.util.List getRoles(long pk)
515: throws com.liferay.portal.SystemException,
516: com.liferay.portal.NoSuchUserException;
517:
518: public java.util.List getRoles(long pk, int begin, int end)
519: throws com.liferay.portal.SystemException,
520: com.liferay.portal.NoSuchUserException;
521:
522: public java.util.List getRoles(long pk, int begin, int end,
523: com.liferay.portal.kernel.util.OrderByComparator obc)
524: throws com.liferay.portal.SystemException,
525: com.liferay.portal.NoSuchUserException;
526:
527: public int getRolesSize(long pk)
528: throws com.liferay.portal.SystemException;
529:
530: public boolean containsRole(long pk, long rolePK)
531: throws com.liferay.portal.SystemException;
532:
533: public boolean containsRoles(long pk)
534: throws com.liferay.portal.SystemException;
535:
536: public void addRole(long pk, long rolePK)
537: throws com.liferay.portal.SystemException,
538: com.liferay.portal.NoSuchRoleException,
539: com.liferay.portal.NoSuchUserException;
540:
541: public void addRole(long pk, com.liferay.portal.model.Role role)
542: throws com.liferay.portal.SystemException,
543: com.liferay.portal.NoSuchRoleException,
544: com.liferay.portal.NoSuchUserException;
545:
546: public void addRoles(long pk, long[] rolePKs)
547: throws com.liferay.portal.SystemException,
548: com.liferay.portal.NoSuchRoleException,
549: com.liferay.portal.NoSuchUserException;
550:
551: public void addRoles(long pk, java.util.List roles)
552: throws com.liferay.portal.SystemException,
553: com.liferay.portal.NoSuchRoleException,
554: com.liferay.portal.NoSuchUserException;
555:
556: public void clearRoles(long pk)
557: throws com.liferay.portal.SystemException,
558: com.liferay.portal.NoSuchUserException;
559:
560: public void removeRole(long pk, long rolePK)
561: throws com.liferay.portal.SystemException,
562: com.liferay.portal.NoSuchRoleException,
563: com.liferay.portal.NoSuchUserException;
564:
565: public void removeRole(long pk, com.liferay.portal.model.Role role)
566: throws com.liferay.portal.SystemException,
567: com.liferay.portal.NoSuchRoleException,
568: com.liferay.portal.NoSuchUserException;
569:
570: public void removeRoles(long pk, long[] rolePKs)
571: throws com.liferay.portal.SystemException,
572: com.liferay.portal.NoSuchRoleException,
573: com.liferay.portal.NoSuchUserException;
574:
575: public void removeRoles(long pk, java.util.List roles)
576: throws com.liferay.portal.SystemException,
577: com.liferay.portal.NoSuchRoleException,
578: com.liferay.portal.NoSuchUserException;
579:
580: public void setRoles(long pk, long[] rolePKs)
581: throws com.liferay.portal.SystemException,
582: com.liferay.portal.NoSuchRoleException,
583: com.liferay.portal.NoSuchUserException;
584:
585: public void setRoles(long pk, java.util.List roles)
586: throws com.liferay.portal.SystemException,
587: com.liferay.portal.NoSuchRoleException,
588: com.liferay.portal.NoSuchUserException;
589:
590: public java.util.List getUserGroups(long pk)
591: throws com.liferay.portal.SystemException,
592: com.liferay.portal.NoSuchUserException;
593:
594: public java.util.List getUserGroups(long pk, int begin, int end)
595: throws com.liferay.portal.SystemException,
596: com.liferay.portal.NoSuchUserException;
597:
598: public java.util.List getUserGroups(long pk, int begin, int end,
599: com.liferay.portal.kernel.util.OrderByComparator obc)
600: throws com.liferay.portal.SystemException,
601: com.liferay.portal.NoSuchUserException;
602:
603: public int getUserGroupsSize(long pk)
604: throws com.liferay.portal.SystemException;
605:
606: public boolean containsUserGroup(long pk, long userGroupPK)
607: throws com.liferay.portal.SystemException;
608:
609: public boolean containsUserGroups(long pk)
610: throws com.liferay.portal.SystemException;
611:
612: public void addUserGroup(long pk, long userGroupPK)
613: throws com.liferay.portal.SystemException,
614: com.liferay.portal.NoSuchUserException,
615: com.liferay.portal.NoSuchUserGroupException;
616:
617: public void addUserGroup(long pk,
618: com.liferay.portal.model.UserGroup userGroup)
619: throws com.liferay.portal.SystemException,
620: com.liferay.portal.NoSuchUserException,
621: com.liferay.portal.NoSuchUserGroupException;
622:
623: public void addUserGroups(long pk, long[] userGroupPKs)
624: throws com.liferay.portal.SystemException,
625: com.liferay.portal.NoSuchUserException,
626: com.liferay.portal.NoSuchUserGroupException;
627:
628: public void addUserGroups(long pk, java.util.List userGroups)
629: throws com.liferay.portal.SystemException,
630: com.liferay.portal.NoSuchUserException,
631: com.liferay.portal.NoSuchUserGroupException;
632:
633: public void clearUserGroups(long pk)
634: throws com.liferay.portal.SystemException,
635: com.liferay.portal.NoSuchUserException;
636:
637: public void removeUserGroup(long pk, long userGroupPK)
638: throws com.liferay.portal.SystemException,
639: com.liferay.portal.NoSuchUserException,
640: com.liferay.portal.NoSuchUserGroupException;
641:
642: public void removeUserGroup(long pk,
643: com.liferay.portal.model.UserGroup userGroup)
644: throws com.liferay.portal.SystemException,
645: com.liferay.portal.NoSuchUserException,
646: com.liferay.portal.NoSuchUserGroupException;
647:
648: public void removeUserGroups(long pk, long[] userGroupPKs)
649: throws com.liferay.portal.SystemException,
650: com.liferay.portal.NoSuchUserException,
651: com.liferay.portal.NoSuchUserGroupException;
652:
653: public void removeUserGroups(long pk, java.util.List userGroups)
654: throws com.liferay.portal.SystemException,
655: com.liferay.portal.NoSuchUserException,
656: com.liferay.portal.NoSuchUserGroupException;
657:
658: public void setUserGroups(long pk, long[] userGroupPKs)
659: throws com.liferay.portal.SystemException,
660: com.liferay.portal.NoSuchUserException,
661: com.liferay.portal.NoSuchUserGroupException;
662:
663: public void setUserGroups(long pk, java.util.List userGroups)
664: throws com.liferay.portal.SystemException,
665: com.liferay.portal.NoSuchUserException,
666: com.liferay.portal.NoSuchUserGroupException;
667: }
|