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