com.liferay.portal.service.persistence
Class TeamUtil
java.lang.Object
com.liferay.portal.service.persistence.TeamUtil
public class TeamUtil
- extends java.lang.Object
View Source
ServiceBuilder generated this class. Modifications in this class will be
overwritten the next time is generated.
- Author:
- Brian Wing Shun Chan
- See Also:
TeamPersistence,
TeamPersistenceImpl- Generated:
|
Method Summary |
static void |
addUser(long pk,
long userPK)
|
static void |
addUser(long pk,
User user)
|
static void |
addUsers(long pk,
java.util.List<User> users)
|
static void |
addUsers(long pk,
long[] userPKs)
|
static void |
cacheResult(java.util.List<Team> teams)
|
static void |
cacheResult(Team team)
|
static void |
clearCache()
|
static void |
clearUsers(long pk)
|
static boolean |
containsUser(long pk,
long userPK)
|
static boolean |
containsUsers(long pk)
|
static int |
countAll()
|
static int |
countByG_N(long groupId,
java.lang.String name)
|
static int |
countByGroupId(long groupId)
|
static Team |
create(long teamId)
|
static Team |
fetchByG_N(long groupId,
java.lang.String name)
|
static Team |
fetchByG_N(long groupId,
java.lang.String name,
boolean retrieveFromCache)
|
static Team |
fetchByPrimaryKey(long teamId)
|
static java.util.List<Team> |
findAll()
|
static java.util.List<Team> |
findAll(int start,
int end)
|
static java.util.List<Team> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Team |
findByG_N(long groupId,
java.lang.String name)
|
static Team |
findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Team |
findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Team[] |
findByGroupId_PrevAndNext(long teamId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static java.util.List<Team> |
findByGroupId(long groupId)
|
static java.util.List<Team> |
findByGroupId(long groupId,
int start,
int end)
|
static java.util.List<Team> |
findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static Team |
findByPrimaryKey(long teamId)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
static java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
static TeamPersistence |
getPersistence()
|
static java.util.List<User> |
getUsers(long pk)
|
static java.util.List<User> |
getUsers(long pk,
int start,
int end)
|
static java.util.List<User> |
getUsers(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
|
static int |
getUsersSize(long pk)
|
static Team |
remove(long teamId)
|
static Team |
remove(Team team)
|
static void |
removeAll()
|
static void |
removeByG_N(long groupId,
java.lang.String name)
|
static void |
removeByGroupId(long groupId)
|
static void |
removeUser(long pk,
long userPK)
|
static void |
removeUser(long pk,
User user)
|
static void |
removeUsers(long pk,
java.util.List<User> users)
|
static void |
removeUsers(long pk,
long[] userPKs)
|
void |
setPersistence(TeamPersistence persistence)
|
static void |
setUsers(long pk,
java.util.List<User> users)
|
static void |
setUsers(long pk,
long[] userPKs)
|
static Team |
update(Team team,
boolean merge)
|
static Team |
updateImpl(Team team,
boolean merge)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TeamUtil
public TeamUtil()
clearCache
public static void clearCache()
- See Also:
BasePersistence.clearCache()
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)
findWithDynamicQuery
public static java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException- See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)
remove
public static Team remove(Team team)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException- See Also:
BasePersistence.remove(com.liferay.portal.model.BaseModel)
update
public static Team update(Team team,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException- See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, boolean)
cacheResult
public static void cacheResult(Team team)
cacheResult
public static void cacheResult(java.util.List<Team> teams)
create
public static Team create(long teamId)
remove
public static Team remove(long teamId)
throws NoSuchTeamException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchTeamException
com.liferay.portal.kernel.exception.SystemException
updateImpl
public static Team updateImpl(Team team,
boolean merge)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByPrimaryKey
public static Team findByPrimaryKey(long teamId)
throws NoSuchTeamException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchTeamException
com.liferay.portal.kernel.exception.SystemException
fetchByPrimaryKey
public static Team fetchByPrimaryKey(long teamId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
public static java.util.List<Team> findByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
public static java.util.List<Team> findByGroupId(long groupId,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId
public static java.util.List<Team> findByGroupId(long groupId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findByGroupId_First
public static Team findByGroupId_First(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchTeamException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchTeamException
com.liferay.portal.kernel.exception.SystemException
findByGroupId_Last
public static Team findByGroupId_Last(long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchTeamException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchTeamException
com.liferay.portal.kernel.exception.SystemException
findByGroupId_PrevAndNext
public static Team[] findByGroupId_PrevAndNext(long teamId,
long groupId,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws NoSuchTeamException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchTeamException
com.liferay.portal.kernel.exception.SystemException
findByG_N
public static Team findByG_N(long groupId,
java.lang.String name)
throws NoSuchTeamException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchTeamException
com.liferay.portal.kernel.exception.SystemException
fetchByG_N
public static Team fetchByG_N(long groupId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
fetchByG_N
public static Team fetchByG_N(long groupId,
java.lang.String name,
boolean retrieveFromCache)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<Team> findAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<Team> findAll(int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
findAll
public static java.util.List<Team> findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByGroupId
public static void removeByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeByG_N
public static void removeByG_N(long groupId,
java.lang.String name)
throws NoSuchTeamException,
com.liferay.portal.kernel.exception.SystemException
- Throws:
NoSuchTeamException
com.liferay.portal.kernel.exception.SystemException
removeAll
public static void removeAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByGroupId
public static int countByGroupId(long groupId)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countByG_N
public static int countByG_N(long groupId,
java.lang.String name)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
countAll
public static int countAll()
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getUsers
public static java.util.List<User> getUsers(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getUsers
public static java.util.List<User> getUsers(long pk,
int start,
int end)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getUsers
public static java.util.List<User> getUsers(long pk,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getUsersSize
public static int getUsersSize(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsUser
public static boolean containsUser(long pk,
long userPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
containsUsers
public static boolean containsUsers(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addUser
public static void addUser(long pk,
long userPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addUser
public static void addUser(long pk,
User user)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addUsers
public static void addUsers(long pk,
long[] userPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
addUsers
public static void addUsers(long pk,
java.util.List<User> users)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
clearUsers
public static void clearUsers(long pk)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeUser
public static void removeUser(long pk,
long userPK)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeUser
public static void removeUser(long pk,
User user)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeUsers
public static void removeUsers(long pk,
long[] userPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
removeUsers
public static void removeUsers(long pk,
java.util.List<User> users)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
setUsers
public static void setUsers(long pk,
long[] userPKs)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
setUsers
public static void setUsers(long pk,
java.util.List<User> users)
throws com.liferay.portal.kernel.exception.SystemException
- Throws:
com.liferay.portal.kernel.exception.SystemException
getPersistence
public static TeamPersistence getPersistence()
setPersistence
public void setPersistence(TeamPersistence persistence)