|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnl.surfnet.coin.teams.service.impl.TeamExternalGroupDaoImpl
@Component(value="teamExternalGroupDao") public class TeamExternalGroupDaoImpl
SQL Implementation for TeamExternalGroupDao
| Constructor Summary | |
|---|---|
TeamExternalGroupDaoImpl()
|
|
| Method Summary | |
|---|---|
void |
delete(TeamExternalGroup teamExternalGroup)
Deletes the link between a SURFteam and an external group |
List<TeamExternalGroup> |
getByExternalGroupIdentifier(String identifier)
Gets a List of links between a SURFteam and external groups by the identifier of the external group |
List<TeamExternalGroup> |
getByExternalGroupIdentifiers(Collection<String> identifiers)
Gets a List of links between a SURFteam and external groups by the identifiers of the external groups |
List<TeamExternalGroup> |
getByTeamIdentifier(String identifier)
Gets a List of links between a SURFteam and external groups by the identifier of the SURFteam |
TeamExternalGroup |
getByTeamIdentifierAndExternalGroupIdentifier(String teamId,
String externalGroupIdentifier)
Gets a specific link between a SURFteam and an external group by their respective SURFconext identifiers |
ExternalGroup |
getExternalGroupByIdentifier(String identifier)
Gets an ExternalGroup by its SURFconext identifier (urn:collab:groups:univ.nl:nl.univ.mygroup) from the
local store |
void |
saveOrUpdate(TeamExternalGroup teamExternalGroup)
Saves or updates the link between a SURFteam and an external group |
void |
setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate tpl)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TeamExternalGroupDaoImpl()
| Method Detail |
|---|
public void setJdbcTemplate(org.springframework.jdbc.core.JdbcTemplate tpl)
public ExternalGroup getExternalGroupByIdentifier(String identifier)
TeamExternalGroupDaoExternalGroup by its SURFconext identifier (urn:collab:groups:univ.nl:nl.univ.mygroup) from the
local store
getExternalGroupByIdentifier in interface TeamExternalGroupDaoidentifier - unique identifier of the external group within the SURFconext platform
ExternalGroup that is stored, or null if not presentpublic List<TeamExternalGroup> getByTeamIdentifier(String identifier)
TeamExternalGroupDao
getByTeamIdentifier in interface TeamExternalGroupDaoidentifier - unique identifier of the SURFteam
TeamExternalGroup, can be emptypublic List<TeamExternalGroup> getByExternalGroupIdentifier(String identifier)
TeamExternalGroupDao
getByExternalGroupIdentifier in interface TeamExternalGroupDaoidentifier - id of the external group
TeamExternalGroup, can be empty
public TeamExternalGroup getByTeamIdentifierAndExternalGroupIdentifier(String teamId,
String externalGroupIdentifier)
TeamExternalGroupDao
getByTeamIdentifierAndExternalGroupIdentifier in interface TeamExternalGroupDaoteamId - unique identifier of the SURFteamexternalGroupIdentifier - unique identifier of the external group
TeamExternalGroup if the link exists, otherwise nullpublic void saveOrUpdate(TeamExternalGroup teamExternalGroup)
TeamExternalGroupDao
saveOrUpdate in interface TeamExternalGroupDaoteamExternalGroup - TeamExternalGroup to persistpublic void delete(TeamExternalGroup teamExternalGroup)
TeamExternalGroupDao
delete in interface TeamExternalGroupDaoteamExternalGroup - TeamExternalGroup to deletepublic List<TeamExternalGroup> getByExternalGroupIdentifiers(Collection<String> identifiers)
TeamExternalGroupDao
getByExternalGroupIdentifiers in interface TeamExternalGroupDaoidentifiers - ids of the external group
TeamExternalGroup, can be empty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||