com.liferay.portal.service
Class TeamServiceWrapper
java.lang.Object
com.liferay.portal.service.TeamServiceWrapper
- All Implemented Interfaces:
- BaseService, ServiceWrapper<TeamService>, TeamService
@ProviderType
public class TeamServiceWrapper
- extends Object
- implements TeamService, ServiceWrapper<TeamService>
Provides a wrapper for TeamService.
- See Also:
TeamService
|
Method Summary |
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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TeamServiceWrapper
public TeamServiceWrapper(TeamService teamService)
addTeam
@Deprecated
public Team addTeam(long groupId,
String name,
String description)
throws PortalException
- Deprecated. As of 7.0.0, replaced by
addTeam(long, String,
String, ServiceContext)
- Specified by:
addTeam in interface TeamService
- Throws:
PortalException
addTeam
public Team addTeam(long groupId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException
- Specified by:
addTeam in interface TeamService
- Throws:
PortalException
deleteTeam
public void deleteTeam(long teamId)
throws PortalException
- Specified by:
deleteTeam in interface TeamService
- Throws:
PortalException
getGroupTeams
public List<Team> getGroupTeams(long groupId)
throws PortalException
- Specified by:
getGroupTeams in interface TeamService
- Throws:
PortalException
getOSGiServiceIdentifier
public String getOSGiServiceIdentifier()
- Returns the OSGi service identifier.
- Specified by:
getOSGiServiceIdentifier in interface TeamService
- Returns:
- the OSGi service identifier
getTeam
public Team getTeam(long groupId,
String name)
throws PortalException
- Specified by:
getTeam in interface TeamService
- Throws:
PortalException
getTeam
public Team getTeam(long teamId)
throws PortalException
- Specified by:
getTeam in interface TeamService
- Throws:
PortalException
getUserTeams
public List<Team> getUserTeams(long userId)
throws PortalException
- Specified by:
getUserTeams in interface TeamService
- Throws:
PortalException
getUserTeams
public List<Team> getUserTeams(long userId,
long groupId)
throws PortalException
- Specified by:
getUserTeams in interface TeamService
- Throws:
PortalException
hasUserTeam
public boolean hasUserTeam(long userId,
long teamId)
throws PortalException
- Specified by:
hasUserTeam in interface TeamService
- Throws:
PortalException
search
public List<Team> search(long groupId,
String name,
String description,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator<Team> obc)
- Specified by:
search in interface TeamService
searchCount
public int searchCount(long groupId,
String name,
String description,
LinkedHashMap<String,Object> params)
- Specified by:
searchCount in interface TeamService
updateTeam
public Team updateTeam(long teamId,
String name,
String description)
throws PortalException
- Specified by:
updateTeam in interface TeamService
- Throws:
PortalException
getWrappedService
public TeamService getWrappedService()
- Specified by:
getWrappedService in interface ServiceWrapper<TeamService>
setWrappedService
public void setWrappedService(TeamService teamService)
- Specified by:
setWrappedService in interface ServiceWrapper<TeamService>