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 UserGroupGroupRoleService}.
019     *
020     * @author Brian Wing Shun Chan
021     * @see UserGroupGroupRoleService
022     * @generated
023     */
024    public class UserGroupGroupRoleServiceWrapper
025            implements UserGroupGroupRoleService,
026                    ServiceWrapper<UserGroupGroupRoleService> {
027            public UserGroupGroupRoleServiceWrapper(
028                    UserGroupGroupRoleService userGroupGroupRoleService) {
029                    _userGroupGroupRoleService = userGroupGroupRoleService;
030            }
031    
032            /**
033            * Returns the Spring bean ID for this bean.
034            *
035            * @return the Spring bean ID for this bean
036            */
037            @Override
038            public java.lang.String getBeanIdentifier() {
039                    return _userGroupGroupRoleService.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            @Override
048            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _userGroupGroupRoleService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            @Override
053            public void addUserGroupGroupRoles(long userGroupId, long groupId,
054                    long[] roleIds)
055                    throws com.liferay.portal.kernel.exception.PortalException,
056                            com.liferay.portal.kernel.exception.SystemException {
057                    _userGroupGroupRoleService.addUserGroupGroupRoles(userGroupId, groupId,
058                            roleIds);
059            }
060    
061            @Override
062            public void addUserGroupGroupRoles(long[] userGroupIds, long groupId,
063                    long roleId)
064                    throws com.liferay.portal.kernel.exception.PortalException,
065                            com.liferay.portal.kernel.exception.SystemException {
066                    _userGroupGroupRoleService.addUserGroupGroupRoles(userGroupIds,
067                            groupId, roleId);
068            }
069    
070            @Override
071            public void deleteUserGroupGroupRoles(long userGroupId, long groupId,
072                    long[] roleIds)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    _userGroupGroupRoleService.deleteUserGroupGroupRoles(userGroupId,
076                            groupId, roleIds);
077            }
078    
079            @Override
080            public void deleteUserGroupGroupRoles(long[] userGroupIds, long groupId,
081                    long roleId)
082                    throws com.liferay.portal.kernel.exception.PortalException,
083                            com.liferay.portal.kernel.exception.SystemException {
084                    _userGroupGroupRoleService.deleteUserGroupGroupRoles(userGroupIds,
085                            groupId, roleId);
086            }
087    
088            /**
089             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
090             */
091            public UserGroupGroupRoleService getWrappedUserGroupGroupRoleService() {
092                    return _userGroupGroupRoleService;
093            }
094    
095            /**
096             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
097             */
098            public void setWrappedUserGroupGroupRoleService(
099                    UserGroupGroupRoleService userGroupGroupRoleService) {
100                    _userGroupGroupRoleService = userGroupGroupRoleService;
101            }
102    
103            @Override
104            public UserGroupGroupRoleService getWrappedService() {
105                    return _userGroupGroupRoleService;
106            }
107    
108            @Override
109            public void setWrappedService(
110                    UserGroupGroupRoleService userGroupGroupRoleService) {
111                    _userGroupGroupRoleService = userGroupGroupRoleService;
112            }
113    
114            private UserGroupGroupRoleService _userGroupGroupRoleService;
115    }