@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 Wilberforce (7.0.x), 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)
@Deprecated public Team addTeam(long groupId, String name, String description) throws PortalException
addTeam(long,
String, String, ServiceContext)
addTeam
in interface TeamService
PortalException
public Team addTeam(long groupId, String name, String description, ServiceContext serviceContext) throws PortalException
addTeam
in interface TeamService
PortalException
public void deleteTeam(long teamId) throws PortalException
deleteTeam
in interface TeamService
PortalException
public List<Team> getGroupTeams(long groupId) throws PortalException
getGroupTeams
in interface TeamService
PortalException
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface TeamService
public Team getTeam(long teamId) throws PortalException
getTeam
in interface TeamService
PortalException
public Team getTeam(long groupId, String name) throws PortalException
getTeam
in interface TeamService
PortalException
public List<Team> getUserTeams(long userId) throws PortalException
getUserTeams
in interface TeamService
PortalException
public List<Team> getUserTeams(long userId, long groupId) throws PortalException
getUserTeams
in interface TeamService
PortalException
public boolean hasUserTeam(long userId, long teamId) throws PortalException
hasUserTeam
in interface TeamService
PortalException
public List<Team> search(long groupId, String name, String description, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator<Team> obc)
search
in interface TeamService
public int searchCount(long groupId, String name, String description, LinkedHashMap<String,Object> params)
searchCount
in interface TeamService
public Team updateTeam(long teamId, String name, String description) throws PortalException
updateTeam
in interface TeamService
PortalException
public TeamService getWrappedService()
getWrappedService
in interface ServiceWrapper<TeamService>
public void setWrappedService(TeamService teamService)
setWrappedService
in interface ServiceWrapper<TeamService>