com.liferay.portal.service.persistence
Interface TeamPersistence
- All Superinterfaces:
- BasePersistence<Team>
public interface TeamPersistence
- extends BasePersistence<Team>
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:
TeamPersistenceImpl
,
TeamUtil
- Generated:
Method Summary |
void |
addUser(long pk,
long userPK)
|
void |
addUser(long pk,
User user)
|
void |
addUsers(long pk,
java.util.List<User> users)
|
void |
addUsers(long pk,
long[] userPKs)
|
void |
cacheResult(java.util.List<Team> teams)
|
void |
cacheResult(Team team)
|
void |
clearUsers(long pk)
|
boolean |
containsUser(long pk,
long userPK)
|
boolean |
containsUsers(long pk)
|
int |
countAll()
|
int |
countByG_N(long groupId,
java.lang.String name)
|
int |
countByGroupId(long groupId)
|
Team |
create(long teamId)
|
Team |
fetchByG_N(long groupId,
java.lang.String name)
|
Team |
fetchByG_N(long groupId,
java.lang.String name,
boolean retrieveFromCache)
|
Team |
fetchByPrimaryKey(long teamId)
|
int |
filterCountByG_N(long groupId,
java.lang.String name)
|
int |
filterCountByGroupId(long groupId)
|
java.util.List<Team> |
filterFindByGroupId(long groupId)
|
java.util.List<Team> |
filterFindByGroupId(long groupId,
int start,
int end)
|
java.util.List<Team> |
filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
|
java.util.List<Team> |
findAll()
|
java.util.List<Team> |
findAll(int start,
int end)
|
java.util.List<Team> |
findAll(int start,
int end,
OrderByComparator orderByComparator)
|
Team |
findByG_N(long groupId,
java.lang.String name)
|
Team |
findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
|
Team |
findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
|
Team[] |
findByGroupId_PrevAndNext(long teamId,
long groupId,
OrderByComparator orderByComparator)
|
java.util.List<Team> |
findByGroupId(long groupId)
|
java.util.List<Team> |
findByGroupId(long groupId,
int start,
int end)
|
java.util.List<Team> |
findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
|
Team |
findByPrimaryKey(long teamId)
|
java.util.List<User> |
getUsers(long pk)
|
java.util.List<User> |
getUsers(long pk,
int start,
int end)
|
java.util.List<User> |
getUsers(long pk,
int start,
int end,
OrderByComparator orderByComparator)
|
int |
getUsersSize(long pk)
|
Team |
remove(long teamId)
|
void |
removeAll()
|
void |
removeByG_N(long groupId,
java.lang.String name)
|
void |
removeByGroupId(long groupId)
|
void |
removeUser(long pk,
long userPK)
|
void |
removeUser(long pk,
User user)
|
void |
removeUsers(long pk,
java.util.List<User> users)
|
void |
removeUsers(long pk,
long[] userPKs)
|
void |
setUsers(long pk,
java.util.List<User> users)
|
void |
setUsers(long pk,
long[] userPKs)
|
Team |
updateImpl(Team team,
boolean merge)
|
Methods inherited from interface com.liferay.portal.service.persistence.BasePersistence |
clearCache, clearCache, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, registerListener, remove, remove, setDataSource, unregisterListener, update |
cacheResult
void cacheResult(Team team)
cacheResult
void cacheResult(java.util.List<Team> teams)
create
Team create(long teamId)
remove
Team remove(long teamId)
throws NoSuchTeamException,
SystemException
- Throws:
NoSuchTeamException
SystemException
updateImpl
Team updateImpl(Team team,
boolean merge)
throws SystemException
- Throws:
SystemException
findByPrimaryKey
Team findByPrimaryKey(long teamId)
throws NoSuchTeamException,
SystemException
- Throws:
NoSuchTeamException
SystemException
fetchByPrimaryKey
Team fetchByPrimaryKey(long teamId)
throws SystemException
- Throws:
SystemException
findByGroupId
java.util.List<Team> findByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
findByGroupId
java.util.List<Team> findByGroupId(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
findByGroupId
java.util.List<Team> findByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByGroupId_First
Team findByGroupId_First(long groupId,
OrderByComparator orderByComparator)
throws NoSuchTeamException,
SystemException
- Throws:
NoSuchTeamException
SystemException
findByGroupId_Last
Team findByGroupId_Last(long groupId,
OrderByComparator orderByComparator)
throws NoSuchTeamException,
SystemException
- Throws:
NoSuchTeamException
SystemException
findByGroupId_PrevAndNext
Team[] findByGroupId_PrevAndNext(long teamId,
long groupId,
OrderByComparator orderByComparator)
throws NoSuchTeamException,
SystemException
- Throws:
NoSuchTeamException
SystemException
filterFindByGroupId
java.util.List<Team> filterFindByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
filterFindByGroupId
java.util.List<Team> filterFindByGroupId(long groupId,
int start,
int end)
throws SystemException
- Throws:
SystemException
filterFindByGroupId
java.util.List<Team> filterFindByGroupId(long groupId,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
findByG_N
Team findByG_N(long groupId,
java.lang.String name)
throws NoSuchTeamException,
SystemException
- Throws:
NoSuchTeamException
SystemException
fetchByG_N
Team fetchByG_N(long groupId,
java.lang.String name)
throws SystemException
- Throws:
SystemException
fetchByG_N
Team fetchByG_N(long groupId,
java.lang.String name,
boolean retrieveFromCache)
throws SystemException
- Throws:
SystemException
findAll
java.util.List<Team> findAll()
throws SystemException
- Throws:
SystemException
findAll
java.util.List<Team> findAll(int start,
int end)
throws SystemException
- Throws:
SystemException
findAll
java.util.List<Team> findAll(int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
removeByGroupId
void removeByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
removeByG_N
void removeByG_N(long groupId,
java.lang.String name)
throws NoSuchTeamException,
SystemException
- Throws:
NoSuchTeamException
SystemException
removeAll
void removeAll()
throws SystemException
- Throws:
SystemException
countByGroupId
int countByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
filterCountByGroupId
int filterCountByGroupId(long groupId)
throws SystemException
- Throws:
SystemException
countByG_N
int countByG_N(long groupId,
java.lang.String name)
throws SystemException
- Throws:
SystemException
filterCountByG_N
int filterCountByG_N(long groupId,
java.lang.String name)
throws SystemException
- Throws:
SystemException
countAll
int countAll()
throws SystemException
- Throws:
SystemException
getUsers
java.util.List<User> getUsers(long pk)
throws SystemException
- Throws:
SystemException
getUsers
java.util.List<User> getUsers(long pk,
int start,
int end)
throws SystemException
- Throws:
SystemException
getUsers
java.util.List<User> getUsers(long pk,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
getUsersSize
int getUsersSize(long pk)
throws SystemException
- Throws:
SystemException
containsUser
boolean containsUser(long pk,
long userPK)
throws SystemException
- Throws:
SystemException
containsUsers
boolean containsUsers(long pk)
throws SystemException
- Throws:
SystemException
addUser
void addUser(long pk,
long userPK)
throws SystemException
- Throws:
SystemException
addUser
void addUser(long pk,
User user)
throws SystemException
- Throws:
SystemException
addUsers
void addUsers(long pk,
long[] userPKs)
throws SystemException
- Throws:
SystemException
addUsers
void addUsers(long pk,
java.util.List<User> users)
throws SystemException
- Throws:
SystemException
clearUsers
void clearUsers(long pk)
throws SystemException
- Throws:
SystemException
removeUser
void removeUser(long pk,
long userPK)
throws SystemException
- Throws:
SystemException
removeUser
void removeUser(long pk,
User user)
throws SystemException
- Throws:
SystemException
removeUsers
void removeUsers(long pk,
long[] userPKs)
throws SystemException
- Throws:
SystemException
removeUsers
void removeUsers(long pk,
java.util.List<User> users)
throws SystemException
- Throws:
SystemException
setUsers
void setUsers(long pk,
long[] userPKs)
throws SystemException
- Throws:
SystemException
setUsers
void setUsers(long pk,
java.util.List<User> users)
throws SystemException
- Throws:
SystemException