001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
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            ServiceWrapper<UserGroupRoleService> {
028            public UserGroupRoleServiceWrapper(
029                    UserGroupRoleService userGroupRoleService) {
030                    _userGroupRoleService = userGroupRoleService;
031            }
032    
033            public void addUserGroupRoles(long userId, long groupId, long[] roleIds)
034                    throws com.liferay.portal.kernel.exception.PortalException,
035                            com.liferay.portal.kernel.exception.SystemException {
036                    _userGroupRoleService.addUserGroupRoles(userId, groupId, roleIds);
037            }
038    
039            public void addUserGroupRoles(long[] userIds, long groupId, long roleId)
040                    throws com.liferay.portal.kernel.exception.PortalException,
041                            com.liferay.portal.kernel.exception.SystemException {
042                    _userGroupRoleService.addUserGroupRoles(userIds, groupId, roleId);
043            }
044    
045            public void deleteUserGroupRoles(long userId, long groupId, long[] roleIds)
046                    throws com.liferay.portal.kernel.exception.PortalException,
047                            com.liferay.portal.kernel.exception.SystemException {
048                    _userGroupRoleService.deleteUserGroupRoles(userId, groupId, roleIds);
049            }
050    
051            public void deleteUserGroupRoles(long[] userIds, long groupId, long roleId)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    _userGroupRoleService.deleteUserGroupRoles(userIds, groupId, roleId);
055            }
056    
057            /**
058             * @deprecated Renamed to {@link #getWrappedService}
059             */
060            public UserGroupRoleService getWrappedUserGroupRoleService() {
061                    return _userGroupRoleService;
062            }
063    
064            /**
065             * @deprecated Renamed to {@link #setWrappedService}
066             */
067            public void setWrappedUserGroupRoleService(
068                    UserGroupRoleService userGroupRoleService) {
069                    _userGroupRoleService = userGroupRoleService;
070            }
071    
072            public UserGroupRoleService getWrappedService() {
073                    return _userGroupRoleService;
074            }
075    
076            public void setWrappedService(UserGroupRoleService userGroupRoleService) {
077                    _userGroupRoleService = userGroupRoleService;
078            }
079    
080            private UserGroupRoleService _userGroupRoleService;
081    }