001    /**
002     * Copyright (c) 2000-present 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    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * Provides a wrapper for {@link UserGroupGroupRoleService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see UserGroupGroupRoleService
024     * @generated
025     */
026    @ProviderType
027    public class UserGroupGroupRoleServiceWrapper
028            implements UserGroupGroupRoleService,
029                    ServiceWrapper<UserGroupGroupRoleService> {
030            public UserGroupGroupRoleServiceWrapper(
031                    UserGroupGroupRoleService userGroupGroupRoleService) {
032                    _userGroupGroupRoleService = userGroupGroupRoleService;
033            }
034    
035            @Override
036            public void addUserGroupGroupRoles(long userGroupId, long groupId,
037                    long[] roleIds)
038                    throws com.liferay.portal.kernel.exception.PortalException {
039                    _userGroupGroupRoleService.addUserGroupGroupRoles(userGroupId, groupId,
040                            roleIds);
041            }
042    
043            @Override
044            public void addUserGroupGroupRoles(long[] userGroupIds, long groupId,
045                    long roleId) throws com.liferay.portal.kernel.exception.PortalException {
046                    _userGroupGroupRoleService.addUserGroupGroupRoles(userGroupIds,
047                            groupId, roleId);
048            }
049    
050            @Override
051            public void deleteUserGroupGroupRoles(long userGroupId, long groupId,
052                    long[] roleIds)
053                    throws com.liferay.portal.kernel.exception.PortalException {
054                    _userGroupGroupRoleService.deleteUserGroupGroupRoles(userGroupId,
055                            groupId, roleIds);
056            }
057    
058            @Override
059            public void deleteUserGroupGroupRoles(long[] userGroupIds, long groupId,
060                    long roleId) throws com.liferay.portal.kernel.exception.PortalException {
061                    _userGroupGroupRoleService.deleteUserGroupGroupRoles(userGroupIds,
062                            groupId, roleId);
063            }
064    
065            /**
066            * Returns the OSGi service identifier.
067            *
068            * @return the OSGi service identifier
069            */
070            @Override
071            public java.lang.String getOSGiServiceIdentifier() {
072                    return _userGroupGroupRoleService.getOSGiServiceIdentifier();
073            }
074    
075            @Override
076            public UserGroupGroupRoleService getWrappedService() {
077                    return _userGroupGroupRoleService;
078            }
079    
080            @Override
081            public void setWrappedService(
082                    UserGroupGroupRoleService userGroupGroupRoleService) {
083                    _userGroupGroupRoleService = userGroupGroupRoleService;
084            }
085    
086            private UserGroupGroupRoleService _userGroupGroupRoleService;
087    }