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 UserGroupRoleService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see UserGroupRoleService
024     * @generated
025     */
026    @ProviderType
027    public class UserGroupRoleServiceWrapper implements UserGroupRoleService,
028            ServiceWrapper<UserGroupRoleService> {
029            public UserGroupRoleServiceWrapper(
030                    UserGroupRoleService userGroupRoleService) {
031                    _userGroupRoleService = userGroupRoleService;
032            }
033    
034            @Override
035            public void addUserGroupRoles(long userId, long groupId, long[] roleIds)
036                    throws com.liferay.portal.kernel.exception.PortalException {
037                    _userGroupRoleService.addUserGroupRoles(userId, groupId, roleIds);
038            }
039    
040            @Override
041            public void addUserGroupRoles(long[] userIds, long groupId, long roleId)
042                    throws com.liferay.portal.kernel.exception.PortalException {
043                    _userGroupRoleService.addUserGroupRoles(userIds, groupId, roleId);
044            }
045    
046            @Override
047            public void deleteUserGroupRoles(long userId, long groupId, long[] roleIds)
048                    throws com.liferay.portal.kernel.exception.PortalException {
049                    _userGroupRoleService.deleteUserGroupRoles(userId, groupId, roleIds);
050            }
051    
052            @Override
053            public void deleteUserGroupRoles(long[] userIds, long groupId, long roleId)
054                    throws com.liferay.portal.kernel.exception.PortalException {
055                    _userGroupRoleService.deleteUserGroupRoles(userIds, groupId, roleId);
056            }
057    
058            /**
059            * Returns the Spring bean ID for this bean.
060            *
061            * @return the Spring bean ID for this bean
062            */
063            @Override
064            public java.lang.String getBeanIdentifier() {
065                    return _userGroupRoleService.getBeanIdentifier();
066            }
067    
068            /**
069            * Sets the Spring bean ID for this bean.
070            *
071            * @param beanIdentifier the Spring bean ID for this bean
072            */
073            @Override
074            public void setBeanIdentifier(java.lang.String beanIdentifier) {
075                    _userGroupRoleService.setBeanIdentifier(beanIdentifier);
076            }
077    
078            /**
079             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
080             */
081            @Deprecated
082            public UserGroupRoleService getWrappedUserGroupRoleService() {
083                    return _userGroupRoleService;
084            }
085    
086            /**
087             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
088             */
089            @Deprecated
090            public void setWrappedUserGroupRoleService(
091                    UserGroupRoleService userGroupRoleService) {
092                    _userGroupRoleService = userGroupRoleService;
093            }
094    
095            @Override
096            public UserGroupRoleService getWrappedService() {
097                    return _userGroupRoleService;
098            }
099    
100            @Override
101            public void setWrappedService(UserGroupRoleService userGroupRoleService) {
102                    _userGroupRoleService = userGroupRoleService;
103            }
104    
105            private UserGroupRoleService _userGroupRoleService;
106    }