001
014
015 package com.liferay.portal.service;
016
017
026 public class TeamServiceWrapper implements TeamService,
027 ServiceWrapper<TeamService> {
028 public TeamServiceWrapper(TeamService teamService) {
029 _teamService = teamService;
030 }
031
032 public com.liferay.portal.model.Team addTeam(long groupId,
033 java.lang.String name, java.lang.String description)
034 throws com.liferay.portal.kernel.exception.PortalException,
035 com.liferay.portal.kernel.exception.SystemException {
036 return _teamService.addTeam(groupId, name, description);
037 }
038
039 public void deleteTeam(long teamId)
040 throws com.liferay.portal.kernel.exception.PortalException,
041 com.liferay.portal.kernel.exception.SystemException {
042 _teamService.deleteTeam(teamId);
043 }
044
045 public java.util.List<com.liferay.portal.model.Team> getGroupTeams(
046 long groupId)
047 throws com.liferay.portal.kernel.exception.PortalException,
048 com.liferay.portal.kernel.exception.SystemException {
049 return _teamService.getGroupTeams(groupId);
050 }
051
052 public com.liferay.portal.model.Team getTeam(long teamId)
053 throws com.liferay.portal.kernel.exception.PortalException,
054 com.liferay.portal.kernel.exception.SystemException {
055 return _teamService.getTeam(teamId);
056 }
057
058 public com.liferay.portal.model.Team getTeam(long groupId,
059 java.lang.String name)
060 throws com.liferay.portal.kernel.exception.PortalException,
061 com.liferay.portal.kernel.exception.SystemException {
062 return _teamService.getTeam(groupId, name);
063 }
064
065 public java.util.List<com.liferay.portal.model.Team> getUserTeams(
066 long userId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 return _teamService.getUserTeams(userId);
070 }
071
072 public java.util.List<com.liferay.portal.model.Team> getUserTeams(
073 long userId, long groupId)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException {
076 return _teamService.getUserTeams(userId, groupId);
077 }
078
079 public boolean hasUserTeam(long userId, long teamId)
080 throws com.liferay.portal.kernel.exception.PortalException,
081 com.liferay.portal.kernel.exception.SystemException {
082 return _teamService.hasUserTeam(userId, teamId);
083 }
084
085 public com.liferay.portal.model.Team updateTeam(long teamId,
086 java.lang.String name, java.lang.String description)
087 throws com.liferay.portal.kernel.exception.PortalException,
088 com.liferay.portal.kernel.exception.SystemException {
089 return _teamService.updateTeam(teamId, name, description);
090 }
091
092
095 public TeamService getWrappedTeamService() {
096 return _teamService;
097 }
098
099
102 public void setWrappedTeamService(TeamService teamService) {
103 _teamService = teamService;
104 }
105
106 public TeamService getWrappedService() {
107 return _teamService;
108 }
109
110 public void setWrappedService(TeamService teamService) {
111 _teamService = teamService;
112 }
113
114 private TeamService _teamService;
115 }