Class TeamServiceWrapper
Object
com.liferay.portal.kernel.service.TeamServiceWrapper
- All Implemented Interfaces:
BaseService
,ServiceWrapper<TeamService>
,TeamService
Provides a wrapper for
TeamService
.- Author:
- Brian Wing Shun Chan
- See Also:
- {$generated.description}
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTeam
(long groupId, String name, String description, ServiceContext serviceContext) void
deleteTeam
(long teamId) getGroupTeams
(long groupId) Returns the OSGi service identifier.getTeam
(long teamId) getUserTeams
(long userId) getUserTeams
(long userId, long groupId) boolean
hasUserTeam
(long userId, long teamId) search
(long groupId, String name, String description, LinkedHashMap<String, Object> params, int start, int end, OrderByComparator<Team> orderByComparator) int
searchCount
(long groupId, String name, String description, LinkedHashMap<String, Object> params) void
setWrappedService
(TeamService teamService) updateTeam
(long teamId, String name, String description)
-
Constructor Details
-
TeamServiceWrapper
public TeamServiceWrapper() -
TeamServiceWrapper
-
-
Method Details
-
addTeam
public Team addTeam(long groupId, String name, String description, ServiceContext serviceContext) throws PortalException - Specified by:
addTeam
in interfaceTeamService
- Throws:
PortalException
-
deleteTeam
- Specified by:
deleteTeam
in interfaceTeamService
- Throws:
PortalException
-
getGroupTeams
- Specified by:
getGroupTeams
in interfaceTeamService
- Throws:
PortalException
-
getOSGiServiceIdentifier
Returns the OSGi service identifier.- Specified by:
getOSGiServiceIdentifier
in interfaceTeamService
- Returns:
- the OSGi service identifier
-
getTeam
- Specified by:
getTeam
in interfaceTeamService
- Throws:
PortalException
-
getTeam
- Specified by:
getTeam
in interfaceTeamService
- Throws:
PortalException
-
getUserTeams
- Specified by:
getUserTeams
in interfaceTeamService
- Throws:
PortalException
-
getUserTeams
- Specified by:
getUserTeams
in interfaceTeamService
- Throws:
PortalException
-
hasUserTeam
- Specified by:
hasUserTeam
in interfaceTeamService
- Throws:
PortalException
-
search
public List<Team> search(long groupId, String name, String description, LinkedHashMap<String, Object> params, int start, int end, OrderByComparator<Team> orderByComparator) - Specified by:
search
in interfaceTeamService
-
searchCount
public int searchCount(long groupId, String name, String description, LinkedHashMap<String, Object> params) - Specified by:
searchCount
in interfaceTeamService
-
updateTeam
- Specified by:
updateTeam
in interfaceTeamService
- Throws:
PortalException
-
getWrappedService
- Specified by:
getWrappedService
in interfaceServiceWrapper<TeamService>
-
setWrappedService
- Specified by:
setWrappedService
in interfaceServiceWrapper<TeamService>
-