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