001    /**
002     * Copyright (c) 2000-2010 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            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    }