@ProviderType
public class TeamServiceUtil
extends java.lang.Object
com.liferay.portal.service.impl.TeamServiceImpl and is the
primary access point for service operations in application layer code running
on a remote server. Methods of this service are expected to have security
checks based on the propagated JAAS credentials because this service can be
accessed remotely.TeamService,
TeamServiceBaseImpl,
com.liferay.portal.service.impl.TeamServiceImpl| Constructor and Description |
|---|
TeamServiceUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Team |
addTeam(long groupId,
java.lang.String name,
java.lang.String description) |
static void |
deleteTeam(long teamId) |
static java.lang.String |
getBeanIdentifier()
Returns the Spring bean ID for this bean.
|
static java.util.List<Team> |
getGroupTeams(long groupId) |
static TeamService |
getService() |
static Team |
getTeam(long teamId) |
static Team |
getTeam(long groupId,
java.lang.String name) |
static java.util.List<Team> |
getUserTeams(long userId) |
static java.util.List<Team> |
getUserTeams(long userId,
long groupId) |
static boolean |
hasUserTeam(long userId,
long teamId) |
static void |
setBeanIdentifier(java.lang.String beanIdentifier)
Sets the Spring bean ID for this bean.
|
void |
setService(TeamService service)
Deprecated.
As of 6.2.0
|
static Team |
updateTeam(long teamId,
java.lang.String name,
java.lang.String description) |
public static java.lang.String getBeanIdentifier()
public static void setBeanIdentifier(java.lang.String beanIdentifier)
beanIdentifier - the Spring bean ID for this beanpublic static Team addTeam(long groupId, java.lang.String name, java.lang.String description) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static void deleteTeam(long teamId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static java.util.List<Team> getGroupTeams(long groupId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static Team getTeam(long teamId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static Team getTeam(long groupId, java.lang.String name) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<Team> getUserTeams(long userId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static java.util.List<Team> getUserTeams(long userId, long groupId) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static boolean hasUserTeam(long userId,
long teamId)
throws PortalException,
SystemException
PortalExceptionSystemExceptionpublic static Team updateTeam(long teamId, java.lang.String name, java.lang.String description) throws PortalException, SystemException
PortalExceptionSystemExceptionpublic static TeamService getService()
public void setService(TeamService service)