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 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            /**
033            * Returns the Spring bean ID for this bean.
034            *
035            * @return the Spring bean ID for this bean
036            */
037            public java.lang.String getBeanIdentifier() {
038                    return _teamService.getBeanIdentifier();
039            }
040    
041            /**
042            * Sets the Spring bean ID for this bean.
043            *
044            * @param beanIdentifier the Spring bean ID for this bean
045            */
046            public void setBeanIdentifier(java.lang.String beanIdentifier) {
047                    _teamService.setBeanIdentifier(beanIdentifier);
048            }
049    
050            public com.liferay.portal.model.Team addTeam(long groupId,
051                    java.lang.String name, java.lang.String description)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    return _teamService.addTeam(groupId, name, description);
055            }
056    
057            public void deleteTeam(long teamId)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    _teamService.deleteTeam(teamId);
061            }
062    
063            public java.util.List<com.liferay.portal.model.Team> getGroupTeams(
064                    long groupId)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    return _teamService.getGroupTeams(groupId);
068            }
069    
070            public com.liferay.portal.model.Team getTeam(long teamId)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    return _teamService.getTeam(teamId);
074            }
075    
076            public com.liferay.portal.model.Team getTeam(long groupId,
077                    java.lang.String name)
078                    throws com.liferay.portal.kernel.exception.PortalException,
079                            com.liferay.portal.kernel.exception.SystemException {
080                    return _teamService.getTeam(groupId, name);
081            }
082    
083            public java.util.List<com.liferay.portal.model.Team> getUserTeams(
084                    long userId)
085                    throws com.liferay.portal.kernel.exception.PortalException,
086                            com.liferay.portal.kernel.exception.SystemException {
087                    return _teamService.getUserTeams(userId);
088            }
089    
090            public java.util.List<com.liferay.portal.model.Team> getUserTeams(
091                    long userId, long groupId)
092                    throws com.liferay.portal.kernel.exception.PortalException,
093                            com.liferay.portal.kernel.exception.SystemException {
094                    return _teamService.getUserTeams(userId, groupId);
095            }
096    
097            public boolean hasUserTeam(long userId, long teamId)
098                    throws com.liferay.portal.kernel.exception.PortalException,
099                            com.liferay.portal.kernel.exception.SystemException {
100                    return _teamService.hasUserTeam(userId, teamId);
101            }
102    
103            public com.liferay.portal.model.Team updateTeam(long teamId,
104                    java.lang.String name, java.lang.String description)
105                    throws com.liferay.portal.kernel.exception.PortalException,
106                            com.liferay.portal.kernel.exception.SystemException {
107                    return _teamService.updateTeam(teamId, name, description);
108            }
109    
110            /**
111             * @deprecated Renamed to {@link #getWrappedService}
112             */
113            public TeamService getWrappedTeamService() {
114                    return _teamService;
115            }
116    
117            /**
118             * @deprecated Renamed to {@link #setWrappedService}
119             */
120            public void setWrappedTeamService(TeamService teamService) {
121                    _teamService = teamService;
122            }
123    
124            public TeamService getWrappedService() {
125                    return _teamService;
126            }
127    
128            public void setWrappedService(TeamService teamService) {
129                    _teamService = teamService;
130            }
131    
132            private TeamService _teamService;
133    }