public class VmNetworkInterfaceDAODbFacadeImpl extends BaseDAODbFacade implements VmNetworkInterfaceDAO
VmNetworkInterfaceDAODbFacadeImpl provides an implementation of VmNetworkInterfaceDAO.dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER| Constructor and Description |
|---|
VmNetworkInterfaceDAODbFacadeImpl() |
| Modifier and Type | Method and Description |
|---|---|
VmNetworkInterface |
get(Guid id)
Retrieves the entity with the given id.
|
List<VmNetworkInterface> |
getAll()
Retrieves all the entities of type
T. |
List<VmNetworkInterface> |
getAllForTemplate(Guid id)
Retrieves all interfaces for the given template id.
|
List<VmNetworkInterface> |
getAllForVm(Guid id)
Retrieves all interfaces for the given VM id.
|
void |
remove(Guid id)
Removes the entity with the given id from the underlying store of data.
|
void |
save(VmNetworkInterface stats)
Persist a new instance of the entity.
|
void |
update(VmNetworkInterface iface)
Update an existing entity with data from the given instance.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplatepublic VmNetworkInterface get(Guid id)
ReadDaoget in interface ReadDao<VmNetworkInterface,Guid>id - The id to look by (can't be null).null if not found.public List<VmNetworkInterface> getAllForVm(Guid id)
VmNetworkInterfaceDAOgetAllForVm in interface VmNetworkInterfaceDAOid - the Vm idpublic List<VmNetworkInterface> getAllForTemplate(Guid id)
VmNetworkInterfaceDAOgetAllForTemplate in interface VmNetworkInterfaceDAOid - the template idpublic void save(VmNetworkInterface stats)
ModificationDaosave in interface ModificationDao<VmNetworkInterface,Guid>stats - The entity to persist (can't be null).public void update(VmNetworkInterface iface)
ModificationDaoupdate in interface ModificationDao<VmNetworkInterface,Guid>iface - The entity instance, containing data to update (can't be null).public void remove(Guid id)
ModificationDaoremove in interface ModificationDao<VmNetworkInterface,Guid>id - The id of the entity to remove (can't be null).public List<VmNetworkInterface> getAll()
ReadDaoT.getAll in interface ReadDao<VmNetworkInterface,Guid>Copyright © 2012. All Rights Reserved.