com.liferay.portal.service
Class TeamServiceWrapper
java.lang.Object
com.liferay.portal.service.TeamServiceWrapper
- All Implemented Interfaces:
- TeamService
public class TeamServiceWrapper
- extends Object
- implements TeamService
This class is a wrapper for TeamService.
- See Also:
TeamService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TeamServiceWrapper
public TeamServiceWrapper(TeamService teamService)
addTeam
public Team addTeam(long groupId,
String name,
String description)
throws PortalException,
SystemException
- Specified by:
addTeam in interface TeamService
- Throws:
PortalException
SystemException
deleteTeam
public void deleteTeam(long teamId)
throws PortalException,
SystemException
- Specified by:
deleteTeam in interface TeamService
- Throws:
PortalException
SystemException
getGroupTeams
public List<Team> getGroupTeams(long groupId)
throws PortalException,
SystemException
- Specified by:
getGroupTeams in interface TeamService
- Throws:
PortalException
SystemException
getTeam
public Team getTeam(long teamId)
throws PortalException,
SystemException
- Specified by:
getTeam in interface TeamService
- Throws:
PortalException
SystemException
getTeam
public Team getTeam(long groupId,
String name)
throws PortalException,
SystemException
- Specified by:
getTeam in interface TeamService
- Throws:
PortalException
SystemException
getUserTeams
public List<Team> getUserTeams(long userId)
throws PortalException,
SystemException
- Specified by:
getUserTeams in interface TeamService
- Throws:
PortalException
SystemException
getUserTeams
public List<Team> getUserTeams(long userId,
long groupId)
throws PortalException,
SystemException
- Specified by:
getUserTeams in interface TeamService
- Throws:
PortalException
SystemException
hasUserTeam
public boolean hasUserTeam(long userId,
long teamId)
throws PortalException,
SystemException
- Specified by:
hasUserTeam in interface TeamService
- Throws:
PortalException
SystemException
updateTeam
public Team updateTeam(long teamId,
String name,
String description)
throws PortalException,
SystemException
- Specified by:
updateTeam in interface TeamService
- Throws:
PortalException
SystemException
getWrappedTeamService
public TeamService getWrappedTeamService()
setWrappedTeamService
public void setWrappedTeamService(TeamService teamService)