@ProviderType public class TeamServiceWrapper extends Object implements TeamService, ServiceWrapper<TeamService>
TeamService.TeamService| Constructor and Description |
|---|
TeamServiceWrapper(TeamService teamService) |
| Modifier and Type | Method and Description |
|---|---|
Team |
addTeam(long groupId,
String name,
String description)
Deprecated.
As of 7.0.0, replaced by
addTeam(long, String,
String, ServiceContext) |
Team |
addTeam(long groupId,
String name,
String description,
ServiceContext serviceContext) |
void |
deleteTeam(long teamId) |
List<Team> |
getGroupTeams(long groupId) |
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
Team |
getTeam(long teamId) |
Team |
getTeam(long groupId,
String name) |
List<Team> |
getUserTeams(long userId) |
List<Team> |
getUserTeams(long userId,
long groupId) |
TeamService |
getWrappedService() |
boolean |
hasUserTeam(long userId,
long teamId) |
List<Team> |
search(long groupId,
String name,
String description,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator<Team> obc) |
int |
searchCount(long groupId,
String name,
String description,
LinkedHashMap<String,Object> params) |
void |
setWrappedService(TeamService teamService) |
Team |
updateTeam(long teamId,
String name,
String description) |
public TeamServiceWrapper(TeamService teamService)
public boolean hasUserTeam(long userId,
long teamId)
throws PortalException
hasUserTeam in interface TeamServicePortalException@Deprecated public Team addTeam(long groupId, String name, String description) throws PortalException
addTeam(long, String,
String, ServiceContext)addTeam in interface TeamServicePortalExceptionpublic Team addTeam(long groupId, String name, String description, ServiceContext serviceContext) throws PortalException
addTeam in interface TeamServicePortalExceptionpublic Team getTeam(long groupId, String name) throws PortalException
getTeam in interface TeamServicePortalExceptionpublic Team getTeam(long teamId) throws PortalException
getTeam in interface TeamServicePortalExceptionpublic Team updateTeam(long teamId, String name, String description) throws PortalException
updateTeam in interface TeamServicePortalExceptionpublic int searchCount(long groupId,
String name,
String description,
LinkedHashMap<String,Object> params)
searchCount in interface TeamServicepublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface TeamServicepublic List<Team> getGroupTeams(long groupId) throws PortalException
getGroupTeams in interface TeamServicePortalExceptionpublic List<Team> getUserTeams(long userId) throws PortalException
getUserTeams in interface TeamServicePortalExceptionpublic List<Team> getUserTeams(long userId, long groupId) throws PortalException
getUserTeams in interface TeamServicePortalExceptionpublic List<Team> search(long groupId, String name, String description, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator<Team> obc)
search in interface TeamServicepublic void deleteTeam(long teamId)
throws PortalException
deleteTeam in interface TeamServicePortalExceptionpublic TeamService getWrappedService()
getWrappedService in interface ServiceWrapper<TeamService>public void setWrappedService(TeamService teamService)
setWrappedService in interface ServiceWrapper<TeamService>