001
014
015 package com.liferay.portal.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019
026 @ProviderType
027 public class UserGroupServiceWrapper implements UserGroupService,
028 ServiceWrapper<UserGroupService> {
029 public UserGroupServiceWrapper(UserGroupService userGroupService) {
030 _userGroupService = userGroupService;
031 }
032
033
039 @Override
040 public void addGroupUserGroups(long groupId, long[] userGroupIds)
041 throws com.liferay.portal.kernel.exception.PortalException {
042 _userGroupService.addGroupUserGroups(groupId, userGroupIds);
043 }
044
045
051 @Override
052 public void addTeamUserGroups(long teamId, long[] userGroupIds)
053 throws com.liferay.portal.kernel.exception.PortalException {
054 _userGroupService.addTeamUserGroups(teamId, userGroupIds);
055 }
056
057
071 @Deprecated
072 @Override
073 public com.liferay.portal.model.UserGroup addUserGroup(
074 java.lang.String name, java.lang.String description)
075 throws com.liferay.portal.kernel.exception.PortalException {
076 return _userGroupService.addUserGroup(name, description);
077 }
078
079
094 @Override
095 public com.liferay.portal.model.UserGroup addUserGroup(
096 java.lang.String name, java.lang.String description,
097 com.liferay.portal.service.ServiceContext serviceContext)
098 throws com.liferay.portal.kernel.exception.PortalException {
099 return _userGroupService.addUserGroup(name, description, serviceContext);
100 }
101
102
107 @Override
108 public void deleteUserGroup(long userGroupId)
109 throws com.liferay.portal.kernel.exception.PortalException {
110 _userGroupService.deleteUserGroup(userGroupId);
111 }
112
113
119 @Override
120 public com.liferay.portal.model.UserGroup fetchUserGroup(long userGroupId)
121 throws com.liferay.portal.kernel.exception.PortalException {
122 return _userGroupService.fetchUserGroup(userGroupId);
123 }
124
125
130 @Override
131 public java.lang.String getOSGiServiceIdentifier() {
132 return _userGroupService.getOSGiServiceIdentifier();
133 }
134
135
141 @Override
142 public com.liferay.portal.model.UserGroup getUserGroup(
143 java.lang.String name)
144 throws com.liferay.portal.kernel.exception.PortalException {
145 return _userGroupService.getUserGroup(name);
146 }
147
148
154 @Override
155 public com.liferay.portal.model.UserGroup getUserGroup(long userGroupId)
156 throws com.liferay.portal.kernel.exception.PortalException {
157 return _userGroupService.getUserGroup(userGroupId);
158 }
159
160 @Override
161 public java.util.List<com.liferay.portal.model.UserGroup> getUserGroups(
162 long companyId)
163 throws com.liferay.portal.kernel.exception.PortalException {
164 return _userGroupService.getUserGroups(companyId);
165 }
166
167
173 @Override
174 public java.util.List<com.liferay.portal.model.UserGroup> getUserUserGroups(
175 long userId) throws com.liferay.portal.kernel.exception.PortalException {
176 return _userGroupService.getUserUserGroups(userId);
177 }
178
179
185 @Override
186 public void unsetGroupUserGroups(long groupId, long[] userGroupIds)
187 throws com.liferay.portal.kernel.exception.PortalException {
188 _userGroupService.unsetGroupUserGroups(groupId, userGroupIds);
189 }
190
191
197 @Override
198 public void unsetTeamUserGroups(long teamId, long[] userGroupIds)
199 throws com.liferay.portal.kernel.exception.PortalException {
200 _userGroupService.unsetTeamUserGroups(teamId, userGroupIds);
201 }
202
203
213 @Deprecated
214 @Override
215 public com.liferay.portal.model.UserGroup updateUserGroup(
216 long userGroupId, java.lang.String name, java.lang.String description)
217 throws com.liferay.portal.kernel.exception.PortalException {
218 return _userGroupService.updateUserGroup(userGroupId, name, description);
219 }
220
221
232 @Override
233 public com.liferay.portal.model.UserGroup updateUserGroup(
234 long userGroupId, java.lang.String name, java.lang.String description,
235 com.liferay.portal.service.ServiceContext serviceContext)
236 throws com.liferay.portal.kernel.exception.PortalException {
237 return _userGroupService.updateUserGroup(userGroupId, name,
238 description, serviceContext);
239 }
240
241 @Override
242 public UserGroupService getWrappedService() {
243 return _userGroupService;
244 }
245
246 @Override
247 public void setWrappedService(UserGroupService userGroupService) {
248 _userGroupService = userGroupService;
249 }
250
251 private UserGroupService _userGroupService;
252 }