001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link UserGroupRoleService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       UserGroupRoleService
024     * @generated
025     */
026    public class UserGroupRoleServiceWrapper implements UserGroupRoleService {
027            public UserGroupRoleServiceWrapper(
028                    UserGroupRoleService userGroupRoleService) {
029                    _userGroupRoleService = userGroupRoleService;
030            }
031    
032            public void addUserGroupRoles(long userId, long groupId, long[] roleIds)
033                    throws com.liferay.portal.kernel.exception.PortalException,
034                            com.liferay.portal.kernel.exception.SystemException {
035                    _userGroupRoleService.addUserGroupRoles(userId, groupId, roleIds);
036            }
037    
038            public void addUserGroupRoles(long[] userIds, long groupId, long roleId)
039                    throws com.liferay.portal.kernel.exception.PortalException,
040                            com.liferay.portal.kernel.exception.SystemException {
041                    _userGroupRoleService.addUserGroupRoles(userIds, groupId, roleId);
042            }
043    
044            public void deleteUserGroupRoles(long userId, long groupId, long[] roleIds)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _userGroupRoleService.deleteUserGroupRoles(userId, groupId, roleIds);
048            }
049    
050            public void deleteUserGroupRoles(long[] userIds, long groupId, long roleId)
051                    throws com.liferay.portal.kernel.exception.PortalException,
052                            com.liferay.portal.kernel.exception.SystemException {
053                    _userGroupRoleService.deleteUserGroupRoles(userIds, groupId, roleId);
054            }
055    
056            public UserGroupRoleService getWrappedUserGroupRoleService() {
057                    return _userGroupRoleService;
058            }
059    
060            private UserGroupRoleService _userGroupRoleService;
061    }