public class NetworkDAODbFacadeImpl extends BaseDAODbFacade implements NetworkDAO
NetworkDAODbFacadeImpl provides a concrete implementation of NetworkDAO based on code refactored
from DbFacade.dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER| Constructor and Description |
|---|
NetworkDAODbFacadeImpl() |
| Modifier and Type | Method and Description |
|---|---|
network |
get(Guid id)
Retrieves the entity with the given id.
|
List<network> |
getAll()
Retrieves all the entities of type
T. |
List<network> |
getAllForCluster(Guid id)
Retrieves all networks for the given cluster.
|
List<network> |
getAllForDataCenter(Guid id)
Retrieves all networks for the given data center.
|
network |
getByName(String name)
Retrieves the network with the specified name.
|
void |
remove(Guid id)
Removes the entity with the given id from the underlying store of data.
|
void |
save(network net)
Persist a new instance of the entity.
|
void |
update(network net)
Update an existing entity with data from the given instance.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplatepublic network getByName(String name)
NetworkDAOgetByName in interface NetworkDAOname - the network namepublic List<network> getAll()
ReadDaoT.public List<network> getAllForDataCenter(Guid id)
NetworkDAOgetAllForDataCenter in interface NetworkDAOid - the data centerpublic List<network> getAllForCluster(Guid id)
NetworkDAOgetAllForCluster in interface NetworkDAOid - the clusterpublic void save(network net)
ModificationDaosave in interface ModificationDao<network,Guid>net - The entity to persist (can't be null).public void update(network net)
ModificationDaoupdate in interface ModificationDao<network,Guid>net - The entity instance, containing data to update (can't be null).public void remove(Guid id)
ModificationDaoremove in interface ModificationDao<network,Guid>id - The id of the entity to remove (can't be null).Copyright © 2012. All Rights Reserved.