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