public class StorageDomainDAODbFacadeImpl extends BaseDAODbFacade implements StorageDomainDAO
StorageDomainDAODbFacadeImpl provides an implementation of StorageDomainDAO based on code from
DbFacade.dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER| Constructor and Description |
|---|
StorageDomainDAODbFacadeImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
addImageGroupStorageDomainMap(image_group_storage_domain_map image_group_storage_domain_map) |
storage_domains |
get(Guid id)
Retrieves the storage domain with specified id.
|
List<storage_domains> |
getAll()
Retrieves all storage domains.
|
List<storage_domains> |
getAllByStoragePoolAndConnection(Guid storagePoolId,
String connection)
Retrieves all storage domains for the specified connection.
|
List<storage_domains> |
getAllForConnection(String connection)
Retrieves all storage domains for the specified connection.
|
List<storage_domains> |
getAllForImageGroup(NGuid group)
Retrieves all storage domains for the specified image group.
|
List<storage_domains> |
getAllForStorageDomain(Guid id)
Retrieves all storage domains for the specified storage domain id.
|
List<storage_domains> |
getAllForStoragePool(Guid pool)
Retrieves all storage domains for the specified storage pool.
|
List<image_group_storage_domain_map> |
getAllImageGroupStorageDomainMapsForImage(Guid image_group_id) |
List<image_group_storage_domain_map> |
getAllImageGroupStorageDomainMapsForStorageDomain(Guid storage_domain_id) |
List<Guid> |
getAllStorageDomainsByImageGroup(Guid imageGroupId)
Retrieves all domain which contains any image from provided group
|
List<storage_domains> |
getAllWithQuery(String query)
Retrieves all domains that fulfill the supplied query.
|
storage_domains |
getForStoragePool(Guid id,
NGuid storagepool)
Retrieves the storage domain for the given pool with the specified id.
|
image_group_storage_domain_map |
getImageGroupStorageDomainMapForImageGroupAndStorageDomain(image_group_storage_domain_map image_group_storage_domain_map) |
Guid |
getMasterStorageDomainIdForPool(Guid pool)
Retrieves the master storage domain for the specified pool.
|
void |
remove(Guid id)
Removes the specified storage domain.
|
void |
removeImageGroupStorageDomainMap(image_group_storage_domain_map image_group_storage_domain_map) |
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplatepublic Guid getMasterStorageDomainIdForPool(Guid pool)
StorageDomainDAOgetMasterStorageDomainIdForPool in interface StorageDomainDAOpool - the storage poolpublic storage_domains get(Guid id)
StorageDomainDAOget in interface StorageDomainDAOid - the storage domain idpublic storage_domains getForStoragePool(Guid id, NGuid storagepool)
StorageDomainDAOgetForStoragePool in interface StorageDomainDAOid - the storage domain idstoragepool - the storage poolpublic List<storage_domains> getAllForConnection(String connection)
StorageDomainDAOgetAllForConnection in interface StorageDomainDAOconnection - The connectionpublic List<storage_domains> getAllForStoragePool(Guid pool)
StorageDomainDAOgetAllForStoragePool in interface StorageDomainDAOpool - the storage poolpublic List<storage_domains> getAllForImageGroup(NGuid group)
StorageDomainDAOgetAllForImageGroup in interface StorageDomainDAOgroup - the image grouppublic List<storage_domains> getAllForStorageDomain(Guid id)
StorageDomainDAOgetAllForStorageDomain in interface StorageDomainDAOid - the storage domain idpublic List<storage_domains> getAllWithQuery(String query)
StorageDomainDAOgetAllWithQuery in interface StorageDomainDAOquery - the SQL querypublic List<storage_domains> getAll()
StorageDomainDAOgetAll in interface StorageDomainDAOpublic List<Guid> getAllStorageDomainsByImageGroup(Guid imageGroupId)
StorageDomainDAOgetAllStorageDomainsByImageGroup in interface StorageDomainDAOpublic void remove(Guid id)
StorageDomainDAOremove in interface StorageDomainDAOid - the storage domainpublic image_group_storage_domain_map getImageGroupStorageDomainMapForImageGroupAndStorageDomain(image_group_storage_domain_map image_group_storage_domain_map)
getImageGroupStorageDomainMapForImageGroupAndStorageDomain in interface StorageDomainDAOpublic void addImageGroupStorageDomainMap(image_group_storage_domain_map image_group_storage_domain_map)
addImageGroupStorageDomainMap in interface StorageDomainDAOpublic void removeImageGroupStorageDomainMap(image_group_storage_domain_map image_group_storage_domain_map)
removeImageGroupStorageDomainMap in interface StorageDomainDAOpublic List<image_group_storage_domain_map> getAllImageGroupStorageDomainMapsForStorageDomain(Guid storage_domain_id)
getAllImageGroupStorageDomainMapsForStorageDomain in interface StorageDomainDAOpublic List<image_group_storage_domain_map> getAllImageGroupStorageDomainMapsForImage(Guid image_group_id)
getAllImageGroupStorageDomainMapsForImage in interface StorageDomainDAOpublic List<storage_domains> getAllByStoragePoolAndConnection(Guid storagePoolId, String connection)
StorageDomainDAOgetAllByStoragePoolAndConnection in interface StorageDomainDAOstoragePoolId - The storage pool idconnection - The connectionCopyright © 2012. All Rights Reserved.