public final class MybatisMediaServerDao extends Object implements MediaServersDao
| Constructor and Description |
|---|
MybatisMediaServerDao(org.apache.ibatis.session.SqlSessionFactory sessions) |
| Modifier and Type | Method and Description |
|---|---|
void |
addMediaServer(MediaServerEntity ms) |
MediaServerEntity |
getMediaServer(String msId) |
List<MediaServerEntity> |
getMediaServerEntityByIP(String msIPAddress) |
List<MediaServerEntity> |
getMediaServers() |
void |
removeMediaServerEntity(String msId) |
void |
updateMediaServer(MediaServerEntity ms) |
public MybatisMediaServerDao(org.apache.ibatis.session.SqlSessionFactory sessions)
public void addMediaServer(MediaServerEntity ms)
addMediaServer in interface MediaServersDaopublic void updateMediaServer(MediaServerEntity ms)
updateMediaServer in interface MediaServersDaopublic List<MediaServerEntity> getMediaServerEntityByIP(String msIPAddress)
getMediaServerEntityByIP in interface MediaServersDaopublic List<MediaServerEntity> getMediaServers()
getMediaServers in interface MediaServersDaopublic MediaServerEntity getMediaServer(String msId)
getMediaServer in interface MediaServersDaopublic void removeMediaServerEntity(String msId)
removeMediaServerEntity in interface MediaServersDaoCopyright © 2017. All Rights Reserved.