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 Spring bean ID for this bean.
067            *
068            * @return the Spring bean ID for this bean
069            */
070            @Override
071            public java.lang.String getBeanIdentifier() {
072                    return _userGroupGroupRoleService.getBeanIdentifier();
073            }
074    
075            /**
076            * Sets the Spring bean ID for this bean.
077            *
078            * @param beanIdentifier the Spring bean ID for this bean
079            */
080            @Override
081            public void setBeanIdentifier(java.lang.String beanIdentifier) {
082                    _userGroupGroupRoleService.setBeanIdentifier(beanIdentifier);
083            }
084    
085            /**
086             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
087             */
088            @Deprecated
089            public UserGroupGroupRoleService getWrappedUserGroupGroupRoleService() {
090                    return _userGroupGroupRoleService;
091            }
092    
093            /**
094             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
095             */
096            @Deprecated
097            public void setWrappedUserGroupGroupRoleService(
098                    UserGroupGroupRoleService userGroupGroupRoleService) {
099                    _userGroupGroupRoleService = userGroupGroupRoleService;
100            }
101    
102            @Override
103            public UserGroupGroupRoleService getWrappedService() {
104                    return _userGroupGroupRoleService;
105            }
106    
107            @Override
108            public void setWrappedService(
109                    UserGroupGroupRoleService userGroupGroupRoleService) {
110                    _userGroupGroupRoleService = userGroupGroupRoleService;
111            }
112    
113            private UserGroupGroupRoleService _userGroupGroupRoleService;
114    }