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