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