|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.TeamServiceUtil
public class TeamServiceUtil
The utility for the team remote service. This utility wraps TeamServiceImpl
and is the primary access point for service operations in application layer code running on a remote server.
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.
TeamService
,
TeamServiceBaseImpl
,
TeamServiceImpl
Constructor Summary | |
---|---|
TeamServiceUtil()
|
Method Summary | |
---|---|
static Team |
addTeam(long groupId,
String name,
String description)
|
static void |
deleteTeam(long teamId)
|
static String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
static List<Team> |
getGroupTeams(long groupId)
|
static TeamService |
getService()
|
static Team |
getTeam(long teamId)
|
static Team |
getTeam(long groupId,
String name)
|
static List<Team> |
getUserTeams(long userId)
|
static List<Team> |
getUserTeams(long userId,
long groupId)
|
static boolean |
hasUserTeam(long userId,
long teamId)
|
static void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setService(TeamService service)
Deprecated. |
static Team |
updateTeam(long teamId,
String name,
String description)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TeamServiceUtil()
Method Detail |
---|
public static String getBeanIdentifier()
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier
- the Spring bean ID for this beanpublic static Team addTeam(long groupId, String name, String description) throws PortalException, SystemException
PortalException
SystemException
public static void deleteTeam(long teamId) throws PortalException, SystemException
PortalException
SystemException
public static List<Team> getGroupTeams(long groupId) throws PortalException, SystemException
PortalException
SystemException
public static Team getTeam(long teamId) throws PortalException, SystemException
PortalException
SystemException
public static Team getTeam(long groupId, String name) throws PortalException, SystemException
PortalException
SystemException
public static List<Team> getUserTeams(long userId) throws PortalException, SystemException
PortalException
SystemException
public static List<Team> getUserTeams(long userId, long groupId) throws PortalException, SystemException
PortalException
SystemException
public static boolean hasUserTeam(long userId, long teamId) throws PortalException, SystemException
PortalException
SystemException
public static Team updateTeam(long teamId, String name, String description) throws PortalException, SystemException
PortalException
SystemException
public static TeamService getService()
public void setService(TeamService service)
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |