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