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 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    }