public class InterfaceDAODbFacadeImpl extends BaseDAODbFacade implements InterfaceDAO
InterfaceDAODbFacadeImpl
provides an implementation of InterfaceDAO
.dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER
Constructor and Description |
---|
InterfaceDAODbFacadeImpl() |
Modifier and Type | Method and Description |
---|---|
List<VdsNetworkInterface> |
getAllInterfacesForVds(Guid id)
Retrieves all interfaces for the given VDS id.
|
void |
massUpdateStatisticsForVds(Collection<VdsNetworkStatistics> statistics)
Updates the given collection of vds network statistics using a more efficient method to update all of them at
once, rather than each at a time.
|
void |
removeInterfaceFromVds(Guid id)
Removes the VDS interface.
|
void |
removeStatisticsForVds(Guid id)
Removes the specified statistics.
|
void |
saveInterfaceForVds(VdsNetworkInterface stats)
Saves the specified VDS interface.
|
void |
saveStatisticsForVds(VdsNetworkStatistics stats)
Saves the specified statistics
|
void |
updateInterfaceForVds(VdsNetworkInterface stats)
Updates the specified VDS interface.
|
void |
updateStatisticsForVds(VdsNetworkStatistics stats)
Updates the statistics.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplate
public void saveStatisticsForVds(VdsNetworkStatistics stats)
InterfaceDAO
saveStatisticsForVds
in interface InterfaceDAO
stats
- the statisticspublic void saveInterfaceForVds(VdsNetworkInterface stats)
InterfaceDAO
saveInterfaceForVds
in interface InterfaceDAO
stats
- the interfacepublic void updateStatisticsForVds(VdsNetworkStatistics stats)
InterfaceDAO
updateStatisticsForVds
in interface InterfaceDAO
stats
- the statisticspublic void massUpdateStatisticsForVds(Collection<VdsNetworkStatistics> statistics)
InterfaceDAO
massUpdateStatisticsForVds
in interface InterfaceDAO
statistics
- The collection of statistics to update.public void updateInterfaceForVds(VdsNetworkInterface stats)
InterfaceDAO
updateInterfaceForVds
in interface InterfaceDAO
stats
- the interfacepublic List<VdsNetworkInterface> getAllInterfacesForVds(Guid id)
InterfaceDAO
getAllInterfacesForVds
in interface InterfaceDAO
id
- the VDS idpublic void removeStatisticsForVds(Guid id)
InterfaceDAO
removeStatisticsForVds
in interface InterfaceDAO
id
- the statisticspublic void removeInterfaceFromVds(Guid id)
InterfaceDAO
removeInterfaceFromVds
in interface InterfaceDAO
id
- the interfaceCopyright © 2012. All Rights Reserved.