@Component(value="teamExternalGroupDao") public class TeamExternalGroupDaoImpl extends Object implements TeamExternalGroupDao
TeamExternalGroupDao| Constructor and Description |
|---|
TeamExternalGroupDaoImpl() |
| Modifier and Type | Method and Description |
|---|---|
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) |
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 storegetExternalGroupByIdentifier in interface TeamExternalGroupDaoidentifier - unique identifier of the external group within the SURFconext platformExternalGroup that is stored, or null if not presentpublic List<TeamExternalGroup> getByTeamIdentifier(String identifier)
TeamExternalGroupDaogetByTeamIdentifier in interface TeamExternalGroupDaoidentifier - unique identifier of the SURFteamTeamExternalGroup, can be emptypublic List<TeamExternalGroup> getByExternalGroupIdentifier(String identifier)
TeamExternalGroupDaogetByExternalGroupIdentifier in interface TeamExternalGroupDaoidentifier - id of the external groupTeamExternalGroup, can be emptypublic TeamExternalGroup getByTeamIdentifierAndExternalGroupIdentifier(String teamId, String externalGroupIdentifier)
TeamExternalGroupDaogetByTeamIdentifierAndExternalGroupIdentifier in interface TeamExternalGroupDaoteamId - unique identifier of the SURFteamexternalGroupIdentifier - unique identifier of the external groupTeamExternalGroup if the link exists, otherwise nullpublic void saveOrUpdate(TeamExternalGroup teamExternalGroup)
TeamExternalGroupDaosaveOrUpdate in interface TeamExternalGroupDaoteamExternalGroup - TeamExternalGroup to persistpublic void delete(TeamExternalGroup teamExternalGroup)
TeamExternalGroupDaodelete in interface TeamExternalGroupDaoteamExternalGroup - TeamExternalGroup to deletepublic List<TeamExternalGroup> getByExternalGroupIdentifiers(Collection<String> identifiers)
TeamExternalGroupDaogetByExternalGroupIdentifiers in interface TeamExternalGroupDaoidentifiers - ids of the external groupTeamExternalGroup, can be emptyCopyright © 2009–2014 SURFnet bv, The Netherlands. All rights reserved.