public class DiskImageTemplateDAODbFacadeImpl extends BaseDAODbFacade implements DiskImageTemplateDAO
dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER| Constructor and Description |
|---|
DiskImageTemplateDAODbFacadeImpl() |
| Modifier and Type | Method and Description |
|---|---|
DiskImageTemplate |
get(Guid id)
Retrieves the entity with the given id.
|
List<DiskImageTemplate> |
getAll()
Retrieves all the entities of type
T. |
List<DiskImageTemplate> |
getAllByVmTemplate(Guid id)
Retrieves all templates related to the given VM template id.
|
DiskImageTemplate |
getByVmTemplateAndId(Guid vm,
Guid vmTemplate)
Retrieves the template with the specified VM and IT id.
|
void |
remove(Guid diskImageTemplate)
Removes the entity with the given id from the underlying store of data.
|
void |
save(DiskImageTemplate template)
Persist a new instance of the entity.
|
void |
update(DiskImageTemplate template)
Update an existing entity with data from the given instance.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplatepublic DiskImageTemplate get(Guid id)
ReadDaoget in interface ReadDao<DiskImageTemplate,Guid>id - The id to look by (can't be null).null if not found.public List<DiskImageTemplate> getAll()
ReadDaoT.getAll in interface ReadDao<DiskImageTemplate,Guid>public void save(DiskImageTemplate template)
ModificationDaosave in interface ModificationDao<DiskImageTemplate,Guid>template - The entity to persist (can't be null).public void update(DiskImageTemplate template)
ModificationDaoupdate in interface ModificationDao<DiskImageTemplate,Guid>template - The entity instance, containing data to update (can't be null).public void remove(Guid diskImageTemplate)
ModificationDaoremove in interface ModificationDao<DiskImageTemplate,Guid>diskImageTemplate - The id of the entity to remove (can't be null).public DiskImageTemplate getByVmTemplateAndId(Guid vm, Guid vmTemplate)
DiskImageTemplateDAOgetByVmTemplateAndId in interface DiskImageTemplateDAOvm - the VM idvmTemplate - the template idpublic List<DiskImageTemplate> getAllByVmTemplate(Guid id)
DiskImageTemplateDAOgetAllByVmTemplate in interface DiskImageTemplateDAOid - the VM template idCopyright © 2012. All Rights Reserved.