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
037 public java.lang.String getBeanIdentifier() {
038 return _teamService.getBeanIdentifier();
039 }
040
041
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
113 public TeamService getWrappedTeamService() {
114 return _teamService;
115 }
116
117
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 }