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