Liferay 6.1.2-ce-ga3

com.liferay.portal.service
Interface TeamService

All Superinterfaces:
BaseService
All Known Implementing Classes:
TeamServiceWrapper

@JSONWebService
@Transactional(isolation=PORTAL,
               rollbackFor={PortalException.class,SystemException.class})
public interface TeamService
extends BaseService

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, com.liferay.portal.service.impl.TeamServiceImpl

Method Summary
 Team addTeam(long groupId, String name, String description)
           
 void deleteTeam(long teamId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 List<Team> getGroupTeams(long groupId)
           
 Team getTeam(long teamId)
           
 Team getTeam(long groupId, String name)
           
 List<Team> getUserTeams(long userId)
           
 List<Team> getUserTeams(long userId, long groupId)
           
 boolean hasUserTeam(long userId, long teamId)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 Team updateTeam(long teamId, String name, String description)
           
 

Method Detail

getBeanIdentifier

String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Returns:
the Spring bean ID for this bean

setBeanIdentifier

void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Parameters:
beanIdentifier - the Spring bean ID for this bean

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

Liferay 6.1.2-ce-ga3