001    /**
002     * Copyright (c) 2000-2012 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 TeamService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       TeamService
024     * @generated
025     */
026    public class TeamServiceWrapper implements TeamService,
027            ServiceWrapper<TeamService> {
028            public TeamServiceWrapper(TeamService teamService) {
029                    _teamService = teamService;
030            }
031    
032            public com.liferay.portal.model.Team addTeam(long groupId,
033                    java.lang.String name, java.lang.String description)
034                    throws com.liferay.portal.kernel.exception.PortalException,
035                            com.liferay.portal.kernel.exception.SystemException {
036                    return _teamService.addTeam(groupId, name, description);
037            }
038    
039            public void deleteTeam(long teamId)
040                    throws com.liferay.portal.kernel.exception.PortalException,
041                            com.liferay.portal.kernel.exception.SystemException {
042                    _teamService.deleteTeam(teamId);
043            }
044    
045            public java.util.List<com.liferay.portal.model.Team> getGroupTeams(
046                    long groupId)
047                    throws com.liferay.portal.kernel.exception.PortalException,
048                            com.liferay.portal.kernel.exception.SystemException {
049                    return _teamService.getGroupTeams(groupId);
050            }
051    
052            public com.liferay.portal.model.Team getTeam(long teamId)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException {
055                    return _teamService.getTeam(teamId);
056            }
057    
058            public com.liferay.portal.model.Team getTeam(long groupId,
059                    java.lang.String name)
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException {
062                    return _teamService.getTeam(groupId, name);
063            }
064    
065            public java.util.List<com.liferay.portal.model.Team> getUserTeams(
066                    long userId)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    return _teamService.getUserTeams(userId);
070            }
071    
072            public java.util.List<com.liferay.portal.model.Team> getUserTeams(
073                    long userId, long groupId)
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException {
076                    return _teamService.getUserTeams(userId, groupId);
077            }
078    
079            public boolean hasUserTeam(long userId, long teamId)
080                    throws com.liferay.portal.kernel.exception.PortalException,
081                            com.liferay.portal.kernel.exception.SystemException {
082                    return _teamService.hasUserTeam(userId, teamId);
083            }
084    
085            public com.liferay.portal.model.Team updateTeam(long teamId,
086                    java.lang.String name, java.lang.String description)
087                    throws com.liferay.portal.kernel.exception.PortalException,
088                            com.liferay.portal.kernel.exception.SystemException {
089                    return _teamService.updateTeam(teamId, name, description);
090            }
091    
092            /**
093             * @deprecated Renamed to {@link #getWrappedService}
094             */
095            public TeamService getWrappedTeamService() {
096                    return _teamService;
097            }
098    
099            /**
100             * @deprecated Renamed to {@link #setWrappedService}
101             */
102            public void setWrappedTeamService(TeamService teamService) {
103                    _teamService = teamService;
104            }
105    
106            public TeamService getWrappedService() {
107                    return _teamService;
108            }
109    
110            public void setWrappedService(TeamService teamService) {
111                    _teamService = teamService;
112            }
113    
114            private TeamService _teamService;
115    }