@Component(value="grouperDao") public class GrouperDaoImpl extends nl.surfnet.coin.teams.service.impl.AbstractGrouperDaoImpl implements GrouperDao
GrouperDao that uses Spring jdbcnl.surfnet.coin.teams.service.impl.AbstractGrouperDaoImpl.GrouperRowMapper<T>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_TEAM_BY_MEMBER_AND_BY_GROUPNAME, SQL_FIND_TEAMS_BY_GROUPIDS, SQL_FIND_TEAMS_BY_GROUPIDS_ROWCOUNT, SQL_FIND_TEAMS_BY_MEMBER, SQL_FIND_TEAMS_BY_MEMBER_ROWCOUNT, SQL_FIND_TEAMS_LIKE_GROUPNAME, SQL_FIND_TEAMS_LIKE_GROUPNAME_ROWCOUNT, SQL_MEMBERS_BY_TEAM, SQL_ROLES_BY_TEAM_AND_MEMBERS, SQL_ROLES_BY_TEAMS| Constructor and Description |
|---|
GrouperDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
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
|
correctOffset, correctPageSize, wildCardpublic TeamResultWrapper findAllTeams(String personId, int offset, int pageSize)
GrouperDaofindAllTeams in interface GrouperDaopersonId - the logged in personoffset - the row number of the startpageSize - the maximum result sizepublic TeamResultWrapper findTeams(String personId, String partOfGroupname, int offset, int pageSize)
GrouperDaofindTeams in interface GrouperDaopersonId - the logged in personpartOfGroupname - part of group nameoffset - the row number of the startpageSize - the maximum result sizepublic TeamResultWrapper findAllTeamsByMember(String personId, int offset, int pageSize)
GrouperDaofindAllTeamsByMember in interface GrouperDaopersonId - the logged in personoffset - the row number of the startpageSize - the maximum result sizepublic TeamResultWrapper findTeamsByMember(String personId, String partOfGroupname, int offset, int pageSize)
GrouperDaofindTeamsByMember in interface GrouperDaopersonId - the logged in personpartOfGroupname - part of group nameoffset - the row number of the startpageSize - the maximum result sizepublic List<Stem> findStemsByMember(String personId)
findStemsByMember in interface GrouperDaopersonId - String the identifier of the logged in personList the list with stems that this user is a member of.Copyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.