001
014
015 package com.liferay.portal.service;
016
017
026 public class UserGroupServiceWrapper implements UserGroupService {
027 public UserGroupServiceWrapper(UserGroupService userGroupService) {
028 _userGroupService = userGroupService;
029 }
030
031 public void addGroupUserGroups(long groupId, long[] userGroupIds)
032 throws com.liferay.portal.kernel.exception.PortalException,
033 com.liferay.portal.kernel.exception.SystemException {
034 _userGroupService.addGroupUserGroups(groupId, userGroupIds);
035 }
036
037 public void addTeamUserGroups(long teamId, long[] userGroupIds)
038 throws com.liferay.portal.kernel.exception.PortalException,
039 com.liferay.portal.kernel.exception.SystemException {
040 _userGroupService.addTeamUserGroups(teamId, userGroupIds);
041 }
042
043 public com.liferay.portal.model.UserGroup addUserGroup(
044 java.lang.String name, java.lang.String description)
045 throws com.liferay.portal.kernel.exception.PortalException,
046 com.liferay.portal.kernel.exception.SystemException {
047 return _userGroupService.addUserGroup(name, description);
048 }
049
050 public void deleteUserGroup(long userGroupId)
051 throws com.liferay.portal.kernel.exception.PortalException,
052 com.liferay.portal.kernel.exception.SystemException {
053 _userGroupService.deleteUserGroup(userGroupId);
054 }
055
056 public com.liferay.portal.model.UserGroup getUserGroup(long userGroupId)
057 throws com.liferay.portal.kernel.exception.PortalException,
058 com.liferay.portal.kernel.exception.SystemException {
059 return _userGroupService.getUserGroup(userGroupId);
060 }
061
062 public com.liferay.portal.model.UserGroup getUserGroup(
063 java.lang.String name)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 return _userGroupService.getUserGroup(name);
067 }
068
069 public java.util.List<com.liferay.portal.model.UserGroup> getUserUserGroups(
070 long userId) throws com.liferay.portal.kernel.exception.SystemException {
071 return _userGroupService.getUserUserGroups(userId);
072 }
073
074 public void unsetGroupUserGroups(long groupId, long[] userGroupIds)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException {
077 _userGroupService.unsetGroupUserGroups(groupId, userGroupIds);
078 }
079
080 public void unsetTeamUserGroups(long teamId, long[] userGroupIds)
081 throws com.liferay.portal.kernel.exception.PortalException,
082 com.liferay.portal.kernel.exception.SystemException {
083 _userGroupService.unsetTeamUserGroups(teamId, userGroupIds);
084 }
085
086 public com.liferay.portal.model.UserGroup updateUserGroup(
087 long userGroupId, java.lang.String name, java.lang.String description)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException {
090 return _userGroupService.updateUserGroup(userGroupId, name, description);
091 }
092
093 public UserGroupService getWrappedUserGroupService() {
094 return _userGroupService;
095 }
096
097 public void setWrappedUserGroupService(UserGroupService userGroupService) {
098 _userGroupService = userGroupService;
099 }
100
101 private UserGroupService _userGroupService;
102 }