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    /**
019     * <p>
020     * This class is a wrapper for {@link UserGroupRoleService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       UserGroupRoleService
025     * @generated
026     */
027    public class UserGroupRoleServiceWrapper implements 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            public UserGroupRoleService getWrappedUserGroupRoleService() {
058                    return _userGroupRoleService;
059            }
060    
061            private UserGroupRoleService _userGroupRoleService;
062    }