001    /**
002     * Copyright (c) 2000-2011 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 UserGroupGroupRoleService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       UserGroupGroupRoleService
024     * @generated
025     */
026    public class UserGroupGroupRoleServiceWrapper
027            implements UserGroupGroupRoleService {
028            public UserGroupGroupRoleServiceWrapper(
029                    UserGroupGroupRoleService userGroupGroupRoleService) {
030                    _userGroupGroupRoleService = userGroupGroupRoleService;
031            }
032    
033            public void addUserGroupGroupRoles(long userGroupId, long groupId,
034                    long[] roleIds)
035                    throws com.liferay.portal.kernel.exception.PortalException,
036                            com.liferay.portal.kernel.exception.SystemException {
037                    _userGroupGroupRoleService.addUserGroupGroupRoles(userGroupId, groupId,
038                            roleIds);
039            }
040    
041            public void addUserGroupGroupRoles(long[] userGroupIds, long groupId,
042                    long roleId)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    _userGroupGroupRoleService.addUserGroupGroupRoles(userGroupIds,
046                            groupId, roleId);
047            }
048    
049            public void deleteUserGroupGroupRoles(long userGroupId, long groupId,
050                    long[] roleIds)
051                    throws com.liferay.portal.kernel.exception.PortalException,
052                            com.liferay.portal.kernel.exception.SystemException {
053                    _userGroupGroupRoleService.deleteUserGroupGroupRoles(userGroupId,
054                            groupId, roleIds);
055            }
056    
057            public void deleteUserGroupGroupRoles(long[] userGroupIds, long groupId,
058                    long roleId)
059                    throws com.liferay.portal.kernel.exception.PortalException,
060                            com.liferay.portal.kernel.exception.SystemException {
061                    _userGroupGroupRoleService.deleteUserGroupGroupRoles(userGroupIds,
062                            groupId, roleId);
063            }
064    
065            public UserGroupGroupRoleService getWrappedUserGroupGroupRoleService() {
066                    return _userGroupGroupRoleService;
067            }
068    
069            private UserGroupGroupRoleService _userGroupGroupRoleService;
070    }