|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@ProviderType @AccessControlled @JSONWebService @Transactional(isolation=PORTAL, rollbackFor={PortalException.class,SystemException.class}) public interface TeamService
Provides the remote service interface for Team. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
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 |
---|
String getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanTeam addTeam(long groupId, String name, String description) throws PortalException, SystemException
PortalException
SystemException
void deleteTeam(long teamId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<Team> getGroupTeams(long groupId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) Team getTeam(long teamId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) Team getTeam(long groupId, String name) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<Team> getUserTeams(long userId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) List<Team> getUserTeams(long userId, long groupId) throws PortalException, SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS, readOnly=true) boolean hasUserTeam(long userId, long teamId) throws PortalException, SystemException
PortalException
SystemException
Team updateTeam(long teamId, String name, String description) throws PortalException, SystemException
PortalException
SystemException
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |