|
Liferay 7.0-ga1 portal-kernel | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@AccessControlled
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface TeamServiceProvides 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,
com.liferay.portal.service.base.TeamServiceBaseImpl,
com.liferay.portal.service.impl.TeamServiceImpl| 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)
|
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)
|
Team |
updateTeam(long teamId,
String name,
String description)
|
| Method Detail |
|---|
@Transactional(propagation=SUPPORTS,
readOnly=true)
boolean hasUserTeam(long userId,
long teamId)
throws PortalException
PortalException
@Deprecated
Team addTeam(long groupId,
String name,
String description)
throws PortalException
addTeam(long, String,
String, ServiceContext)
PortalException
Team addTeam(long groupId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException
PortalException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Team getTeam(long groupId,
String name)
throws PortalException
PortalException
@Transactional(propagation=SUPPORTS,
readOnly=true)
Team getTeam(long teamId)
throws PortalException
PortalException
Team updateTeam(long teamId,
String name,
String description)
throws PortalException
PortalException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int searchCount(long groupId,
String name,
String description,
LinkedHashMap<String,Object> params)
String getOSGiServiceIdentifier()
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<Team> getGroupTeams(long groupId)
throws PortalException
PortalException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<Team> getUserTeams(long userId)
throws PortalException
PortalException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<Team> getUserTeams(long userId,
long groupId)
throws PortalException
PortalException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<Team> search(long groupId,
String name,
String description,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator<Team> obc)
void deleteTeam(long teamId)
throws PortalException
PortalException
|
Liferay 7.0-ga1 portal-kernel | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||