public interface DiskImageTemplateDAO extends GenericDao<DiskImageTemplate,Guid>
Modifier and Type | Method and Description |
---|---|
List<DiskImageTemplate> |
getAllByVmTemplate(Guid vmTemplate)
Retrieves all templates related to the given VM template id.
|
DiskImageTemplate |
getByVmTemplateAndId(Guid vm,
Guid template)
Retrieves the template with the specified VM and IT id.
|
remove, save, update
DiskImageTemplate getByVmTemplateAndId(Guid vm, Guid template)
vm
- the VM idtemplate
- the template idList<DiskImageTemplate> getAllByVmTemplate(Guid vmTemplate)
vmTemplate
- the VM template idCopyright © 2012. All Rights Reserved.