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 com.liferay.portal.model.UserGroup addUserGroup(
038 java.lang.String name, java.lang.String description)
039 throws com.liferay.portal.kernel.exception.PortalException,
040 com.liferay.portal.kernel.exception.SystemException {
041 return _userGroupService.addUserGroup(name, description);
042 }
043
044 public void deleteUserGroup(long userGroupId)
045 throws com.liferay.portal.kernel.exception.PortalException,
046 com.liferay.portal.kernel.exception.SystemException {
047 _userGroupService.deleteUserGroup(userGroupId);
048 }
049
050 public com.liferay.portal.model.UserGroup getUserGroup(long userGroupId)
051 throws com.liferay.portal.kernel.exception.PortalException,
052 com.liferay.portal.kernel.exception.SystemException {
053 return _userGroupService.getUserGroup(userGroupId);
054 }
055
056 public com.liferay.portal.model.UserGroup getUserGroup(
057 java.lang.String name)
058 throws com.liferay.portal.kernel.exception.PortalException,
059 com.liferay.portal.kernel.exception.SystemException {
060 return _userGroupService.getUserGroup(name);
061 }
062
063 public java.util.List<com.liferay.portal.model.UserGroup> getUserUserGroups(
064 long userId) throws com.liferay.portal.kernel.exception.SystemException {
065 return _userGroupService.getUserUserGroups(userId);
066 }
067
068 public void unsetGroupUserGroups(long groupId, long[] userGroupIds)
069 throws com.liferay.portal.kernel.exception.PortalException,
070 com.liferay.portal.kernel.exception.SystemException {
071 _userGroupService.unsetGroupUserGroups(groupId, userGroupIds);
072 }
073
074 public com.liferay.portal.model.UserGroup updateUserGroup(
075 long userGroupId, java.lang.String name, java.lang.String description)
076 throws com.liferay.portal.kernel.exception.PortalException,
077 com.liferay.portal.kernel.exception.SystemException {
078 return _userGroupService.updateUserGroup(userGroupId, name, description);
079 }
080
081 public UserGroupService getWrappedUserGroupService() {
082 return _userGroupService;
083 }
084
085 private UserGroupService _userGroupService;
086 }