|
Liferay 7.0-ce-a2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.TeamServiceUtil
@ProviderType public class TeamServiceUtil
Provides the remote service utility for Team. This utility wraps
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 Summary | |
|---|---|
TeamServiceUtil()
|
|
| Method Summary | |
|---|---|
static Team |
addTeam(long groupId,
String name,
String description)
Deprecated. As of 7.0.0, replaced by addTeam(long, String,
String, ServiceContext) |
static Team |
addTeam(long groupId,
String name,
String description,
ServiceContext serviceContext)
|
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 List<Team> |
search(long groupId,
String name,
String description,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator<Team> obc)
|
static int |
searchCount(long groupId,
String name,
String description,
LinkedHashMap<String,Object> params)
|
static void |
setBeanIdentifier(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,
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 |
|---|
@Deprecated
public static Team addTeam(long groupId,
String name,
String description)
throws PortalException
addTeam(long, String,
String, ServiceContext)
PortalException
public static Team addTeam(long groupId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException
PortalException
public static void deleteTeam(long teamId)
throws PortalException
PortalExceptionpublic static String getBeanIdentifier()
public static List<Team> getGroupTeams(long groupId)
throws PortalException
PortalException
public static Team getTeam(long groupId,
String name)
throws PortalException
PortalException
public static Team getTeam(long teamId)
throws PortalException
PortalException
public static List<Team> getUserTeams(long userId)
throws PortalException
PortalException
public static List<Team> getUserTeams(long userId,
long groupId)
throws PortalException
PortalException
public static boolean hasUserTeam(long userId,
long teamId)
throws PortalException
PortalException
public static List<Team> search(long groupId,
String name,
String description,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator<Team> obc)
public static int searchCount(long groupId,
String name,
String description,
LinkedHashMap<String,Object> params)
public static void setBeanIdentifier(String beanIdentifier)
beanIdentifier - the Spring bean ID for this bean
public static Team updateTeam(long teamId,
String name,
String description)
throws PortalException
PortalExceptionpublic static TeamService getService()
@Deprecated public void setService(TeamService service)
|
Liferay 7.0-ce-a2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||