com.liferay.portal.service
Class TeamLocalServiceUtil
java.lang.Object
com.liferay.portal.service.TeamLocalServiceUtil
public class TeamLocalServiceUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
This class provides static methods for the
TeamLocalService
bean. The static methods of
this class calls the same methods of the bean instance. It's convenient to be
able to just write one line to call a method on a bean instead of writing a
lookup call and a method call.
- Author:
- Brian Wing Shun Chan
- See Also:
TeamLocalService
- Generated:
Method Summary |
static Team |
addTeam(long userId,
long groupId,
java.lang.String name,
java.lang.String description)
|
static Team |
addTeam(Team team)
|
static Team |
createTeam(long teamId)
|
static void |
deleteTeam(long teamId)
|
static void |
deleteTeam(Team team)
|
static void |
deleteTeams(long groupId)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
static java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
static java.util.List<Team> |
getGroupTeams(long groupId)
|
static TeamLocalService |
getService()
|
static Team |
getTeam(long teamId)
|
static java.util.List<Team> |
getTeams(int start,
int end)
|
static int |
getTeamsCount()
|
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 java.util.List<Team> |
search(long groupId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int start,
int end,
OrderByComparator obc)
|
static int |
searchCount(long groupId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
|
void |
setService(TeamLocalService service)
|
static Team |
updateTeam(long teamId,
java.lang.String name,
java.lang.String description)
|
static Team |
updateTeam(Team team)
|
static Team |
updateTeam(Team team,
boolean merge)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TeamLocalServiceUtil
public TeamLocalServiceUtil()
addTeam
public static Team addTeam(Team team)
throws SystemException
- Throws:
SystemException
createTeam
public static Team createTeam(long teamId)
deleteTeam
public static void deleteTeam(long teamId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTeam
public static void deleteTeam(Team team)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
public static java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getTeam
public static Team getTeam(long teamId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getTeams
public static java.util.List<Team> getTeams(int start,
int end)
throws SystemException
- Throws:
SystemException
getTeamsCount
public static int getTeamsCount()
throws SystemException
- Throws:
SystemException
updateTeam
public static Team updateTeam(Team team)
throws SystemException
- Throws:
SystemException
updateTeam
public static Team updateTeam(Team team,
boolean merge)
throws SystemException
- Throws:
SystemException
addTeam
public static Team addTeam(long userId,
long groupId,
java.lang.String name,
java.lang.String description)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteTeams
public static void deleteTeams(long groupId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getGroupTeams
public static java.util.List<Team> getGroupTeams(long groupId)
throws SystemException
- Throws:
SystemException
getUserTeams
public static java.util.List<Team> getUserTeams(long userId)
throws SystemException
- Throws:
SystemException
getUserTeams
public static java.util.List<Team> getUserTeams(long userId,
long groupId)
throws SystemException
- Throws:
SystemException
hasUserTeam
public static boolean hasUserTeam(long userId,
long teamId)
throws SystemException
- Throws:
SystemException
search
public static java.util.List<Team> search(long groupId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params,
int start,
int end,
OrderByComparator obc)
throws SystemException
- Throws:
SystemException
searchCount
public static int searchCount(long groupId,
java.lang.String name,
java.lang.String description,
java.util.LinkedHashMap<java.lang.String,java.lang.Object> params)
throws SystemException
- Throws:
SystemException
updateTeam
public static Team updateTeam(long teamId,
java.lang.String name,
java.lang.String description)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getService
public static TeamLocalService getService()
setService
public void setService(TeamLocalService service)