001    /**
002     * Copyright (c) 2000-present 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 TeamService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see TeamService
024     * @generated
025     */
026    @ProviderType
027    public class TeamServiceWrapper implements TeamService,
028            ServiceWrapper<TeamService> {
029            public TeamServiceWrapper(TeamService teamService) {
030                    _teamService = teamService;
031            }
032    
033            @Override
034            public com.liferay.portal.model.Team addTeam(long groupId,
035                    java.lang.String name, java.lang.String description)
036                    throws com.liferay.portal.kernel.exception.PortalException {
037                    return _teamService.addTeam(groupId, name, description);
038            }
039    
040            @Override
041            public void deleteTeam(long teamId)
042                    throws com.liferay.portal.kernel.exception.PortalException {
043                    _teamService.deleteTeam(teamId);
044            }
045    
046            /**
047            * Returns the Spring bean ID for this bean.
048            *
049            * @return the Spring bean ID for this bean
050            */
051            @Override
052            public java.lang.String getBeanIdentifier() {
053                    return _teamService.getBeanIdentifier();
054            }
055    
056            @Override
057            public java.util.List<com.liferay.portal.model.Team> getGroupTeams(
058                    long groupId)
059                    throws com.liferay.portal.kernel.exception.PortalException {
060                    return _teamService.getGroupTeams(groupId);
061            }
062    
063            @Override
064            public com.liferay.portal.model.Team getTeam(long groupId,
065                    java.lang.String name)
066                    throws com.liferay.portal.kernel.exception.PortalException {
067                    return _teamService.getTeam(groupId, name);
068            }
069    
070            @Override
071            public com.liferay.portal.model.Team getTeam(long teamId)
072                    throws com.liferay.portal.kernel.exception.PortalException {
073                    return _teamService.getTeam(teamId);
074            }
075    
076            @Override
077            public java.util.List<com.liferay.portal.model.Team> getUserTeams(
078                    long userId) throws com.liferay.portal.kernel.exception.PortalException {
079                    return _teamService.getUserTeams(userId);
080            }
081    
082            @Override
083            public java.util.List<com.liferay.portal.model.Team> getUserTeams(
084                    long userId, long groupId)
085                    throws com.liferay.portal.kernel.exception.PortalException {
086                    return _teamService.getUserTeams(userId, groupId);
087            }
088    
089            @Override
090            public boolean hasUserTeam(long userId, long teamId)
091                    throws com.liferay.portal.kernel.exception.PortalException {
092                    return _teamService.hasUserTeam(userId, teamId);
093            }
094    
095            /**
096            * Sets the Spring bean ID for this bean.
097            *
098            * @param beanIdentifier the Spring bean ID for this bean
099            */
100            @Override
101            public void setBeanIdentifier(java.lang.String beanIdentifier) {
102                    _teamService.setBeanIdentifier(beanIdentifier);
103            }
104    
105            @Override
106            public com.liferay.portal.model.Team updateTeam(long teamId,
107                    java.lang.String name, java.lang.String description)
108                    throws com.liferay.portal.kernel.exception.PortalException {
109                    return _teamService.updateTeam(teamId, name, description);
110            }
111    
112            /**
113             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
114             */
115            @Deprecated
116            public TeamService getWrappedTeamService() {
117                    return _teamService;
118            }
119    
120            /**
121             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
122             */
123            @Deprecated
124            public void setWrappedTeamService(TeamService teamService) {
125                    _teamService = teamService;
126            }
127    
128            @Override
129            public TeamService getWrappedService() {
130                    return _teamService;
131            }
132    
133            @Override
134            public void setWrappedService(TeamService teamService) {
135                    _teamService = teamService;
136            }
137    
138            private TeamService _teamService;
139    }