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 OSGi service identifier.
060            *
061            * @return the OSGi service identifier
062            */
063            @Override
064            public java.lang.String getOSGiServiceIdentifier() {
065                    return _userGroupRoleService.getOSGiServiceIdentifier();
066            }
067    
068            @Override
069            public UserGroupRoleService getWrappedService() {
070                    return _userGroupRoleService;
071            }
072    
073            @Override
074            public void setWrappedService(UserGroupRoleService userGroupRoleService) {
075                    _userGroupRoleService = userGroupRoleService;
076            }
077    
078            private UserGroupRoleService _userGroupRoleService;
079    }