public interface StorageDomainStaticDAO extends GenericDao<storage_domain_static,Guid>
Modifier and Type | Method and Description |
---|---|
List<storage_domain_static> |
getAllForStoragePool(Guid pool)
Retrieves all storage domains for the given storage pool.
|
List<storage_domain_static> |
getAllForStoragePoolOfStorageType(StorageType type,
Guid pool)
Retrieves all domains of the specified type for the specified pool.
|
List<Guid> |
getAllIds(Guid pool,
StorageDomainStatus status)
Return all the domains of the given status which belong to the given pool.
|
List<storage_domain_static> |
getAllOfStorageType(StorageType type)
Retrieves all domains for the given type.
|
storage_domain_static |
getByName(String name)
Retrieves the instance with the specified name.
|
remove, save, update
storage_domain_static getByName(String name)
name
- the domain nameList<storage_domain_static> getAllForStoragePoolOfStorageType(StorageType type, Guid pool)
type
- the domain typepool
- the storage poolList<storage_domain_static> getAllForStoragePool(Guid pool)
pool
- the poolList<storage_domain_static> getAllOfStorageType(StorageType type)
type
- the domain typeList<Guid> getAllIds(Guid pool, StorageDomainStatus status)
pool
- The pool id.status
- The desired status.Copyright © 2012. All Rights Reserved.