com.liferay.portal.service
Interface TeamService
- All Known Implementing Classes:
- TeamServiceBaseImpl, TeamServiceImpl, TeamServiceWrapper
@JSONWebService
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface TeamService
The interface for the team remote service.
This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
- See Also:
TeamServiceUtil
,
TeamServiceBaseImpl
,
TeamServiceImpl
- ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.
addTeam
Team addTeam(long groupId,
String name,
String description)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTeam
void deleteTeam(long teamId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupTeams
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<Team> getGroupTeams(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTeam
@Transactional(propagation=SUPPORTS,
readOnly=true)
Team getTeam(long teamId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTeam
@Transactional(propagation=SUPPORTS,
readOnly=true)
Team getTeam(long groupId,
String name)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserTeams
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<Team> getUserTeams(long userId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getUserTeams
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<Team> getUserTeams(long userId,
long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
hasUserTeam
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasUserTeam(long userId,
long teamId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
updateTeam
Team updateTeam(long teamId,
String name,
String description)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException