001    /**
002     * Copyright (c) 2000-2011 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            public TeamServiceWrapper(TeamService teamService) {
028                    _teamService = teamService;
029            }
030    
031            public com.liferay.portal.model.Team addTeam(long groupId,
032                    java.lang.String name, java.lang.String description)
033                    throws com.liferay.portal.kernel.exception.PortalException,
034                            com.liferay.portal.kernel.exception.SystemException {
035                    return _teamService.addTeam(groupId, name, description);
036            }
037    
038            public void deleteTeam(long teamId)
039                    throws com.liferay.portal.kernel.exception.PortalException,
040                            com.liferay.portal.kernel.exception.SystemException {
041                    _teamService.deleteTeam(teamId);
042            }
043    
044            public java.util.List<com.liferay.portal.model.Team> getGroupTeams(
045                    long groupId)
046                    throws com.liferay.portal.kernel.exception.PortalException,
047                            com.liferay.portal.kernel.exception.SystemException {
048                    return _teamService.getGroupTeams(groupId);
049            }
050    
051            public com.liferay.portal.model.Team getTeam(long teamId)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    return _teamService.getTeam(teamId);
055            }
056    
057            public com.liferay.portal.model.Team getTeam(long groupId,
058                    java.lang.String name)
059                    throws com.liferay.portal.kernel.exception.PortalException,
060                            com.liferay.portal.kernel.exception.SystemException {
061                    return _teamService.getTeam(groupId, name);
062            }
063    
064            public java.util.List<com.liferay.portal.model.Team> getUserTeams(
065                    long userId)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    return _teamService.getUserTeams(userId);
069            }
070    
071            public java.util.List<com.liferay.portal.model.Team> getUserTeams(
072                    long userId, long groupId)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _teamService.getUserTeams(userId, groupId);
076            }
077    
078            public boolean hasUserTeam(long userId, long teamId)
079                    throws com.liferay.portal.kernel.exception.PortalException,
080                            com.liferay.portal.kernel.exception.SystemException {
081                    return _teamService.hasUserTeam(userId, teamId);
082            }
083    
084            public com.liferay.portal.model.Team updateTeam(long teamId,
085                    java.lang.String name, java.lang.String description)
086                    throws com.liferay.portal.kernel.exception.PortalException,
087                            com.liferay.portal.kernel.exception.SystemException {
088                    return _teamService.updateTeam(teamId, name, description);
089            }
090    
091            public TeamService getWrappedTeamService() {
092                    return _teamService;
093            }
094    
095            public void setWrappedTeamService(TeamService teamService) {
096                    _teamService = teamService;
097            }
098    
099            private TeamService _teamService;
100    }