public class VmPoolDAODbFacadeImpl extends BaseDAODbFacade implements VmPoolDAO
VmPoolDAODbFacadeImpl provides an implementation of VmPoolDAO based on implementation code from
DbFacade.dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER| Constructor and Description |
|---|
VmPoolDAODbFacadeImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addTimeLeasedVmPoolMap(time_lease_vm_pool_map map) |
void |
addVmToPool(vm_pool_map map) |
vm_pools |
get(NGuid id)
Retrieves the VM pool with the specified ID.
|
List<vm_pools> |
getAll()
Gets all defined VM pools.
|
List<vm_pools> |
getAllForAdGroup(Guid id)
Gets all VM pools for the specified AD group.
|
List<vm_pools> |
getAllForUser(Guid id)
Gets all pools for the specified user.
|
List<time_lease_vm_pool_map> |
getAllTimeLeasedVmPoolMaps() |
List<vm_pools> |
getAllWithQuery(String query)
Retrieves all VM pools which satisfy the supplied query.
|
vm_pools |
getByName(String name)
Retrieves the VM pool with the given name.
|
time_lease_vm_pool_map |
getTimeLeasedVmPoolMapByIdForVmPool(Guid id,
NGuid vmPoolId) |
vm_pool_map |
getVmPoolMapByVmGuid(Guid vmId) |
List<vm_pool_map> |
getVmPoolsMapByVmPoolId(NGuid vmPoolId) |
void |
remove(NGuid id)
Removes the VM pool with the specified id.
|
void |
removeTimeLeasedVmPoolMap(Guid id,
Guid vmPoolId) |
void |
removeVmFromVmPool(Guid id)
Removes the specified VM from the pool.
|
void |
save(vm_pools pool)
Saves the specified pool.
|
void |
update(vm_pools pool)
Updates the specified pool.
|
void |
updateTimeLeasedVmPoolMap(time_lease_vm_pool_map map) |
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplatepublic void removeVmFromVmPool(Guid id)
VmPoolDAOremoveVmFromVmPool in interface VmPoolDAOid - the VM idpublic vm_pools get(NGuid id)
VmPoolDAOpublic vm_pools getByName(String name)
VmPoolDAOpublic List<vm_pools> getAll()
VmPoolDAOpublic List<vm_pools> getAllForUser(Guid id)
VmPoolDAOgetAllForUser in interface VmPoolDAOid - the user idpublic List<vm_pools> getAllForAdGroup(Guid id)
VmPoolDAOgetAllForAdGroup in interface VmPoolDAOid - the AD grouppublic List<vm_pools> getAllWithQuery(String query)
VmPoolDAOgetAllWithQuery in interface VmPoolDAOquery - the SQL querypublic void save(vm_pools pool)
VmPoolDAOpublic void update(vm_pools pool)
VmPoolDAOpublic void remove(NGuid id)
VmPoolDAOpublic vm_pool_map getVmPoolMapByVmGuid(Guid vmId)
getVmPoolMapByVmGuid in interface VmPoolDAOpublic void addVmToPool(vm_pool_map map)
addVmToPool in interface VmPoolDAOpublic List<vm_pool_map> getVmPoolsMapByVmPoolId(NGuid vmPoolId)
getVmPoolsMapByVmPoolId in interface VmPoolDAOpublic time_lease_vm_pool_map getTimeLeasedVmPoolMapByIdForVmPool(Guid id, NGuid vmPoolId)
getTimeLeasedVmPoolMapByIdForVmPool in interface VmPoolDAOpublic void addTimeLeasedVmPoolMap(time_lease_vm_pool_map map)
addTimeLeasedVmPoolMap in interface VmPoolDAOpublic void updateTimeLeasedVmPoolMap(time_lease_vm_pool_map map)
updateTimeLeasedVmPoolMap in interface VmPoolDAOpublic void removeTimeLeasedVmPoolMap(Guid id, Guid vmPoolId)
removeTimeLeasedVmPoolMap in interface VmPoolDAOpublic List<time_lease_vm_pool_map> getAllTimeLeasedVmPoolMaps()
getAllTimeLeasedVmPoolMaps in interface VmPoolDAOCopyright © 2012. All Rights Reserved.