public class VmDAODbFacadeImpl extends BaseDAODbFacade implements VmDAO
dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER| Constructor and Description |
|---|
VmDAODbFacadeImpl() |
| Modifier and Type | Method and Description |
|---|---|
VM |
get(Guid id)
Returns the VM with the specified id.
|
List<VM> |
getAll()
Retrieves the list of all VMS.
|
List<VM> |
getAllForAdGroupByName(String name)
Retrieves all VMs for the specified ad group name.
|
List<VM> |
getAllForDedicatedPowerClientByVds(Guid id)
Finds those VMs associated with a specific power client by VDS.
|
List<VM> |
getAllForStorageDomain(Guid id)
Retrieves the list of VMs for the given storage domain.
|
List<VM> |
getAllForUser(Guid id)
Finds all VMs for the specified user.
|
List<VM> |
getAllForUserWithGroupsAndUserRoles(Guid id)
Retrieves the list of VMS for the given user.
|
Map<Guid,VM> |
getAllRunningByVds(Guid id)
Returns the list of virtual machines running on the specified VDS instance.
|
List<VM> |
getAllRunningForStorageDomain(Guid id)
Retrieves all running VMs for the given storage domain.
|
List<VM> |
getAllRunningForVds(Guid id)
Gets the list of virtual machines running on the specified VFDS instance.
|
List<VM> |
getAllUsingQuery(String query)
Finds the list of VMs using the supplied query.
|
List<VM> |
getAllWithTemplate(Guid id)
Retrieves all virtual machines associated with the given template.
|
VM |
getById(Guid id)
Retrieves the VM with the specified id.
|
VM |
getForHibernationImage(Guid id)
Retrieves the VM for the specified hibernate image.
|
VM |
getForImage(Guid id)
Retrieves the VM with the specified image id.
|
VM |
getForImageGroup(Guid id)
Retrieves the VM for the specified image group.
|
void |
remove(Guid id)
Removes the VM with the specified id.
|
void |
save(VM vm)
Saves the supplied VM.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplatepublic VM get(Guid id)
VmDAOpublic VM getById(Guid id)
VmDAOpublic VM getForHibernationImage(Guid id)
VmDAOgetForHibernationImage in interface VmDAOid - the hibernation imagepublic VM getForImage(Guid id)
VmDAOgetForImage in interface VmDAOid - the image idpublic VM getForImageGroup(Guid id)
VmDAOgetForImageGroup in interface VmDAOid - the image group idpublic List<VM> getAllForUser(Guid id)
VmDAOgetAllForUser in interface VmDAOid - ' the user idpublic List<VM> getAllForUserWithGroupsAndUserRoles(Guid id)
VmDAOgetAllForUserWithGroupsAndUserRoles in interface VmDAOid - the user idpublic List<VM> getAllForAdGroupByName(String name)
VmDAOgetAllForAdGroupByName in interface VmDAOname - the ad group namepublic List<VM> getAllWithTemplate(Guid id)
VmDAOgetAllWithTemplate in interface VmDAOid - the template idpublic List<VM> getAllRunningForVds(Guid id)
VmDAOgetAllRunningForVds in interface VmDAOid - the VDS idpublic List<VM> getAllForDedicatedPowerClientByVds(Guid id)
VmDAOgetAllForDedicatedPowerClientByVds in interface VmDAOid - the VDS idpublic Map<Guid,VM> getAllRunningByVds(Guid id)
VmDAOgetAllRunningByVds in interface VmDAOid - the VDS idpublic List<VM> getAllUsingQuery(String query)
VmDAOgetAllUsingQuery in interface VmDAOquery - the SQL querypublic List<VM> getAllForStorageDomain(Guid id)
VmDAOgetAllForStorageDomain in interface VmDAOid - the storage domain idpublic List<VM> getAllRunningForStorageDomain(Guid id)
VmDAOgetAllRunningForStorageDomain in interface VmDAOid - the storage domainpublic List<VM> getAll()
VmDAOCopyright © 2012. All Rights Reserved.