nl.surfnet.coin.teams.service.impl
Class GrouperDaoImpl
java.lang.Object
nl.surfnet.coin.teams.service.impl.AbstractGrouperDaoImpl
nl.surfnet.coin.teams.service.impl.GrouperDaoImpl
- All Implemented Interfaces:
- GrouperDao
- Direct Known Subclasses:
- GrouperTeamServiceWsImpl
@Component(value="grouperDao")
public class GrouperDaoImpl
- extends nl.surfnet.coin.teams.service.impl.AbstractGrouperDaoImpl
- implements GrouperDao
A GrouperDao that uses Spring jdbc
| Nested classes/interfaces inherited from class nl.surfnet.coin.teams.service.impl.AbstractGrouperDaoImpl |
nl.surfnet.coin.teams.service.impl.AbstractGrouperDaoImpl.GrouperRowMapper<T> |
| Fields inherited from class nl.surfnet.coin.teams.service.impl.AbstractGrouperDaoImpl |
SQL_ADD_MEMBER_COUNT_TO_TEAMS, SQL_FIND_ALL_TEAMS, SQL_FIND_ALL_TEAMS_BY_MEMBER, SQL_FIND_ALL_TEAMS_BY_MEMBER_ROWCOUNT, SQL_FIND_ALL_TEAMS_BY_MEMBER_SORTED, SQL_FIND_ALL_TEAMS_ROWCOUNT, SQL_FIND_STEMS_BY_MEMBER, SQL_FIND_TEAMS_BY_MEMBER, SQL_FIND_TEAMS_BY_MEMBER_ROWCOUNT, SQL_FIND_TEAMS_LIKE_GROUPNAME, SQL_FIND_TEAMS_LIKE_GROUPNAME_ROWCOUNT, SQL_FIND_TEAMS_LIKE_GROUPNAMES, SQL_FIND_TEAMS_LIKE_GROUPNAMES_ROWCOUNT, SQL_MEMBERS_BY_TEAM, SQL_ROLES_BY_TEAM_AND_MEMBERS, SQL_ROLES_BY_TEAMS |
|
Method Summary |
TeamResultWrapper |
findAllTeams(String personId,
int offset,
int pageSize)
Return all teams using a specific stem, without the teams being private
except if the personId is a member of the private team |
TeamResultWrapper |
findAllTeamsByMember(String personId,
int offset,
int pageSize)
Return all teams using a specific stem where the personId is a member |
List<Stem> |
findStemsByMember(String personId)
Return all stems for a person |
TeamResultWrapper |
findTeams(String personId,
String partOfGroupname,
int offset,
int pageSize)
Return all teams using a specific stem with a name like, , without the
teams being private except if the personId is a member of the private team |
TeamResultWrapper |
findTeamsByMember(String personId,
String partOfGroupname,
int offset,
int pageSize)
Return all teams using a specific stem with a name like where the personId is a member |
| Methods inherited from class nl.surfnet.coin.teams.service.impl.AbstractGrouperDaoImpl |
correctOffset, correctPageSize, wildCard |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrouperDaoImpl
public GrouperDaoImpl()
findAllTeams
public TeamResultWrapper findAllTeams(String personId,
int offset,
int pageSize)
- Description copied from interface:
GrouperDao
- Return all teams using a specific stem, without the teams being private
except if the personId is a member of the private team
- Specified by:
findAllTeams in interface GrouperDao
- Parameters:
personId - the logged in personoffset - the row number of the startpageSize - the maximum result size
- Returns:
- teams including the number of total records
findTeams
public TeamResultWrapper findTeams(String personId,
String partOfGroupname,
int offset,
int pageSize)
- Description copied from interface:
GrouperDao
- Return all teams using a specific stem with a name like, , without the
teams being private except if the personId is a member of the private team
- Specified by:
findTeams in interface GrouperDao
- Parameters:
personId - the logged in personpartOfGroupname - part of group nameoffset - the row number of the startpageSize - the maximum result size
- Returns:
- teams including the number of total records
findAllTeamsByMember
public TeamResultWrapper findAllTeamsByMember(String personId,
int offset,
int pageSize)
- Description copied from interface:
GrouperDao
- Return all teams using a specific stem where the personId is a member
- Specified by:
findAllTeamsByMember in interface GrouperDao
- Parameters:
personId - the logged in personoffset - the row number of the startpageSize - the maximum result size
- Returns:
- teams including the number of total records
findTeamsByMember
public TeamResultWrapper findTeamsByMember(String personId,
String partOfGroupname,
int offset,
int pageSize)
- Description copied from interface:
GrouperDao
- Return all teams using a specific stem with a name like where the personId is a member
- Specified by:
findTeamsByMember in interface GrouperDao
- Parameters:
personId - the logged in personpartOfGroupname - part of group nameoffset - the row number of the startpageSize - the maximum result size
- Returns:
- teams including the number of total records
findStemsByMember
public List<Stem> findStemsByMember(String personId)
- Return all stems for a person
- Specified by:
findStemsByMember in interface GrouperDao
- Parameters:
personId - String the identifier of the logged in person
- Returns:
List the list with stems that this user is a member of.
Copyright © 2009-2012 SURFnet bv, The Netherlands. All Rights Reserved.