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.kernel.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            /**
036            * Returns the OSGi service identifier.
037            *
038            * @return the OSGi service identifier
039            */
040            @Override
041            public java.lang.String getOSGiServiceIdentifier() {
042                    return _userGroupGroupRoleService.getOSGiServiceIdentifier();
043            }
044    
045            @Override
046            public void addUserGroupGroupRoles(long userGroupId, long groupId,
047                    long[] roleIds)
048                    throws com.liferay.portal.kernel.exception.PortalException {
049                    _userGroupGroupRoleService.addUserGroupGroupRoles(userGroupId, groupId,
050                            roleIds);
051            }
052    
053            @Override
054            public void addUserGroupGroupRoles(long[] userGroupIds, long groupId,
055                    long roleId) throws com.liferay.portal.kernel.exception.PortalException {
056                    _userGroupGroupRoleService.addUserGroupGroupRoles(userGroupIds,
057                            groupId, roleId);
058            }
059    
060            @Override
061            public void deleteUserGroupGroupRoles(long userGroupId, long groupId,
062                    long[] roleIds)
063                    throws com.liferay.portal.kernel.exception.PortalException {
064                    _userGroupGroupRoleService.deleteUserGroupGroupRoles(userGroupId,
065                            groupId, roleIds);
066            }
067    
068            @Override
069            public void deleteUserGroupGroupRoles(long[] userGroupIds, long groupId,
070                    long roleId) throws com.liferay.portal.kernel.exception.PortalException {
071                    _userGroupGroupRoleService.deleteUserGroupGroupRoles(userGroupIds,
072                            groupId, roleId);
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    }