1
22
23 package com.liferay.portal.service;
24
25
26
42 public class UserGroupServiceWrapper implements UserGroupService {
43 public UserGroupServiceWrapper(UserGroupService userGroupService) {
44 _userGroupService = userGroupService;
45 }
46
47 public void addGroupUserGroups(long groupId, long[] userGroupIds)
48 throws com.liferay.portal.PortalException,
49 com.liferay.portal.SystemException {
50 _userGroupService.addGroupUserGroups(groupId, userGroupIds);
51 }
52
53 public com.liferay.portal.model.UserGroup addUserGroup(
54 java.lang.String name, java.lang.String description)
55 throws com.liferay.portal.PortalException,
56 com.liferay.portal.SystemException {
57 return _userGroupService.addUserGroup(name, description);
58 }
59
60 public void deleteUserGroup(long userGroupId)
61 throws com.liferay.portal.PortalException,
62 com.liferay.portal.SystemException {
63 _userGroupService.deleteUserGroup(userGroupId);
64 }
65
66 public com.liferay.portal.model.UserGroup getUserGroup(long userGroupId)
67 throws com.liferay.portal.PortalException,
68 com.liferay.portal.SystemException {
69 return _userGroupService.getUserGroup(userGroupId);
70 }
71
72 public com.liferay.portal.model.UserGroup getUserGroup(
73 java.lang.String name)
74 throws com.liferay.portal.PortalException,
75 com.liferay.portal.SystemException {
76 return _userGroupService.getUserGroup(name);
77 }
78
79 public java.util.List<com.liferay.portal.model.UserGroup> getUserUserGroups(
80 long userId) throws com.liferay.portal.SystemException {
81 return _userGroupService.getUserUserGroups(userId);
82 }
83
84 public void unsetGroupUserGroups(long groupId, long[] userGroupIds)
85 throws com.liferay.portal.PortalException,
86 com.liferay.portal.SystemException {
87 _userGroupService.unsetGroupUserGroups(groupId, userGroupIds);
88 }
89
90 public com.liferay.portal.model.UserGroup updateUserGroup(
91 long userGroupId, java.lang.String name, java.lang.String description)
92 throws com.liferay.portal.PortalException,
93 com.liferay.portal.SystemException {
94 return _userGroupService.updateUserGroup(userGroupId, name, description);
95 }
96
97 public UserGroupService getWrappedUserGroupService() {
98 return _userGroupService;
99 }
100
101 private UserGroupService _userGroupService;
102 }