public class TeamServiceWrapper extends Object implements ServiceWrapper<TeamService>, TeamService
TeamService.TeamService| Constructor and Description |
|---|
TeamServiceWrapper(TeamService teamService) |
| Modifier and Type | Method and Description |
|---|---|
Team |
addTeam(long groupId,
String name,
String description,
ServiceContext serviceContext)
NOTE FOR DEVELOPERS:
Never modify or reference this interface directly.
|
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 Team addTeam(long groupId, String name, String description, ServiceContext serviceContext) throws PortalException
TeamServiceUtil to access the team remote service. Add custom service methods to com.liferay.portal.service.impl.TeamServiceImpl and rerun ServiceBuilder to automatically copy the method declarations to this interface.addTeam in interface TeamServicePortalExceptionpublic void deleteTeam(long teamId)
throws PortalException
deleteTeam in interface TeamServicePortalExceptionpublic List<Team> getGroupTeams(long groupId) throws PortalException
getGroupTeams in interface TeamServicePortalExceptionpublic String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface TeamServicepublic Team getTeam(long teamId) throws PortalException
getTeam in interface TeamServicePortalExceptionpublic Team getTeam(long groupId, String name) throws PortalException
getTeam 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 boolean hasUserTeam(long userId,
long teamId)
throws PortalException
hasUserTeam 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 int searchCount(long groupId,
String name,
String description,
LinkedHashMap<String,Object> params)
searchCount in interface TeamServicepublic Team updateTeam(long teamId, String name, String description) throws PortalException
updateTeam in interface TeamServicePortalExceptionpublic TeamService getWrappedService()
getWrappedService in interface ServiceWrapper<TeamService>public void setWrappedService(TeamService teamService)
setWrappedService in interface ServiceWrapper<TeamService>