001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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    }