1
14
15 package com.liferay.portal.service;
16
17
33 public class UserGroupServiceWrapper implements UserGroupService {
34 public UserGroupServiceWrapper(UserGroupService userGroupService) {
35 _userGroupService = userGroupService;
36 }
37
38 public void addGroupUserGroups(long groupId, long[] userGroupIds)
39 throws com.liferay.portal.PortalException,
40 com.liferay.portal.SystemException {
41 _userGroupService.addGroupUserGroups(groupId, userGroupIds);
42 }
43
44 public com.liferay.portal.model.UserGroup addUserGroup(
45 java.lang.String name, java.lang.String description)
46 throws com.liferay.portal.PortalException,
47 com.liferay.portal.SystemException {
48 return _userGroupService.addUserGroup(name, description);
49 }
50
51 public void deleteUserGroup(long userGroupId)
52 throws com.liferay.portal.PortalException,
53 com.liferay.portal.SystemException {
54 _userGroupService.deleteUserGroup(userGroupId);
55 }
56
57 public com.liferay.portal.model.UserGroup getUserGroup(long userGroupId)
58 throws com.liferay.portal.PortalException,
59 com.liferay.portal.SystemException {
60 return _userGroupService.getUserGroup(userGroupId);
61 }
62
63 public com.liferay.portal.model.UserGroup getUserGroup(
64 java.lang.String name)
65 throws com.liferay.portal.PortalException,
66 com.liferay.portal.SystemException {
67 return _userGroupService.getUserGroup(name);
68 }
69
70 public java.util.List<com.liferay.portal.model.UserGroup> getUserUserGroups(
71 long userId) throws com.liferay.portal.SystemException {
72 return _userGroupService.getUserUserGroups(userId);
73 }
74
75 public void unsetGroupUserGroups(long groupId, long[] userGroupIds)
76 throws com.liferay.portal.PortalException,
77 com.liferay.portal.SystemException {
78 _userGroupService.unsetGroupUserGroups(groupId, userGroupIds);
79 }
80
81 public com.liferay.portal.model.UserGroup updateUserGroup(
82 long userGroupId, java.lang.String name, java.lang.String description)
83 throws com.liferay.portal.PortalException,
84 com.liferay.portal.SystemException {
85 return _userGroupService.updateUserGroup(userGroupId, name, description);
86 }
87
88 public UserGroupService getWrappedUserGroupService() {
89 return _userGroupService;
90 }
91
92 private UserGroupService _userGroupService;
93 }