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