public class NetworkClusterDAODbFacadeImpl extends BaseDAODbFacade implements NetworkClusterDAO
NetworkClusterDAODbFacadeImpl
provides a concrete implementation of NetworkClusterDAO
based on
code refactored from DbFacade
.dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER
Constructor and Description |
---|
NetworkClusterDAODbFacadeImpl() |
Modifier and Type | Method and Description |
---|---|
List<network_cluster> |
getAll()
Retrieves all network clusters.
|
List<network_cluster> |
getAllForCluster(Guid clusterid)
Retrieves all network clusters for the specified cluster.
|
List<network_cluster> |
getAllForNetwork(Guid network)
Retrieves all network clusters for the specified network.
|
void |
remove(Guid clusterid,
Guid networkid)
Removes the specified network from the specified cluster.
|
void |
save(network_cluster cluster)
Saves the new network cluster.
|
void |
update(network_cluster cluster)
Updates the network cluster.
|
void |
updateStatus(network_cluster cluster)
Updates the network cluster status.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplate
public List<network_cluster> getAll()
NetworkClusterDAO
getAll
in interface NetworkClusterDAO
public List<network_cluster> getAllForCluster(Guid clusterid)
NetworkClusterDAO
getAllForCluster
in interface NetworkClusterDAO
public List<network_cluster> getAllForNetwork(Guid network)
NetworkClusterDAO
getAllForNetwork
in interface NetworkClusterDAO
network
- the networkpublic void save(network_cluster cluster)
NetworkClusterDAO
save
in interface NetworkClusterDAO
cluster
- the network clusterpublic void update(network_cluster cluster)
NetworkClusterDAO
update
in interface NetworkClusterDAO
cluster
- the network clusterpublic void updateStatus(network_cluster cluster)
NetworkClusterDAO
updateStatus
in interface NetworkClusterDAO
cluster
- the network clusterpublic void remove(Guid clusterid, Guid networkid)
NetworkClusterDAO
remove
in interface NetworkClusterDAO
clusterid
- the clusternetworkid
- the networkCopyright © 2012. All Rights Reserved.