001    /**
002     * Copyright (c) 2000-present 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            * @throws PortalException
035            * @deprecated As of 7.0.0, replaced by {@link #addTeam(long, String,
036            String, ServiceContext)}
037            */
038            @Deprecated
039            @Override
040            public com.liferay.portal.model.Team addTeam(long groupId,
041                    java.lang.String name, java.lang.String description)
042                    throws com.liferay.portal.kernel.exception.PortalException {
043                    return _teamService.addTeam(groupId, name, description);
044            }
045    
046            @Override
047            public com.liferay.portal.model.Team addTeam(long groupId,
048                    java.lang.String name, java.lang.String description,
049                    com.liferay.portal.service.ServiceContext serviceContext)
050                    throws com.liferay.portal.kernel.exception.PortalException {
051                    return _teamService.addTeam(groupId, name, description, serviceContext);
052            }
053    
054            @Override
055            public void deleteTeam(long teamId)
056                    throws com.liferay.portal.kernel.exception.PortalException {
057                    _teamService.deleteTeam(teamId);
058            }
059    
060            /**
061            * Returns the Spring bean ID for this bean.
062            *
063            * @return the Spring bean ID for this bean
064            */
065            @Override
066            public java.lang.String getBeanIdentifier() {
067                    return _teamService.getBeanIdentifier();
068            }
069    
070            @Override
071            public java.util.List<com.liferay.portal.model.Team> getGroupTeams(
072                    long groupId)
073                    throws com.liferay.portal.kernel.exception.PortalException {
074                    return _teamService.getGroupTeams(groupId);
075            }
076    
077            @Override
078            public com.liferay.portal.model.Team getTeam(long groupId,
079                    java.lang.String name)
080                    throws com.liferay.portal.kernel.exception.PortalException {
081                    return _teamService.getTeam(groupId, name);
082            }
083    
084            @Override
085            public com.liferay.portal.model.Team getTeam(long teamId)
086                    throws com.liferay.portal.kernel.exception.PortalException {
087                    return _teamService.getTeam(teamId);
088            }
089    
090            @Override
091            public java.util.List<com.liferay.portal.model.Team> getUserTeams(
092                    long userId) throws com.liferay.portal.kernel.exception.PortalException {
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                    return _teamService.getUserTeams(userId, groupId);
101            }
102    
103            @Override
104            public boolean hasUserTeam(long userId, long teamId)
105                    throws com.liferay.portal.kernel.exception.PortalException {
106                    return _teamService.hasUserTeam(userId, teamId);
107            }
108    
109            @Override
110            public java.util.List<com.liferay.portal.model.Team> search(long groupId,
111                    java.lang.String name, java.lang.String description,
112                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params,
113                    int start, int end,
114                    com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.model.Team> obc) {
115                    return _teamService.search(groupId, name, description, params, start,
116                            end, obc);
117            }
118    
119            @Override
120            public int searchCount(long groupId, java.lang.String name,
121                    java.lang.String description,
122                    java.util.LinkedHashMap<java.lang.String, java.lang.Object> params) {
123                    return _teamService.searchCount(groupId, name, description, params);
124            }
125    
126            /**
127            * Sets the Spring bean ID for this bean.
128            *
129            * @param beanIdentifier the Spring bean ID for this bean
130            */
131            @Override
132            public void setBeanIdentifier(java.lang.String beanIdentifier) {
133                    _teamService.setBeanIdentifier(beanIdentifier);
134            }
135    
136            @Override
137            public com.liferay.portal.model.Team updateTeam(long teamId,
138                    java.lang.String name, java.lang.String description)
139                    throws com.liferay.portal.kernel.exception.PortalException {
140                    return _teamService.updateTeam(teamId, name, description);
141            }
142    
143            /**
144             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
145             */
146            @Deprecated
147            public TeamService getWrappedTeamService() {
148                    return _teamService;
149            }
150    
151            /**
152             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
153             */
154            @Deprecated
155            public void setWrappedTeamService(TeamService teamService) {
156                    _teamService = teamService;
157            }
158    
159            @Override
160            public TeamService getWrappedService() {
161                    return _teamService;
162            }
163    
164            @Override
165            public void setWrappedService(TeamService teamService) {
166                    _teamService = teamService;
167            }
168    
169            private TeamService _teamService;
170    }