public class StorageDomainStaticDAODbFacadeImpl extends BaseDAODbFacade implements StorageDomainStaticDAO
dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER| Constructor and Description |
|---|
StorageDomainStaticDAODbFacadeImpl() |
| Modifier and Type | Method and Description |
|---|---|
storage_domain_static |
get(Guid id)
Retrieves the entity with the given id.
|
List<storage_domain_static> |
getAll()
Retrieves all the entities of type
T. |
List<storage_domain_static> |
getAllForStoragePool(Guid id)
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.
|
void |
remove(Guid id)
Removes the entity with the given id from the underlying store of data.
|
void |
save(storage_domain_static domain)
Persist a new instance of the entity.
|
void |
update(storage_domain_static domain)
Update an existing entity with data from the given instance.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplatepublic storage_domain_static get(Guid id)
ReadDaoget in interface ReadDao<storage_domain_static,Guid>id - The id to look by (can't be null).null if not found.public storage_domain_static getByName(String name)
StorageDomainStaticDAOgetByName in interface StorageDomainStaticDAOname - the domain namepublic List<storage_domain_static> getAllOfStorageType(StorageType type)
StorageDomainStaticDAOgetAllOfStorageType in interface StorageDomainStaticDAOtype - the domain typepublic List<storage_domain_static> getAllForStoragePoolOfStorageType(StorageType type, Guid pool)
StorageDomainStaticDAOgetAllForStoragePoolOfStorageType in interface StorageDomainStaticDAOtype - the domain typepool - the storage poolpublic List<storage_domain_static> getAllForStoragePool(Guid id)
StorageDomainStaticDAOgetAllForStoragePool in interface StorageDomainStaticDAOid - the poolpublic void save(storage_domain_static domain)
ModificationDaosave in interface ModificationDao<storage_domain_static,Guid>domain - The entity to persist (can't be null).public void update(storage_domain_static domain)
ModificationDaoupdate in interface ModificationDao<storage_domain_static,Guid>domain - The entity instance, containing data to update (can't be null).public void remove(Guid id)
ModificationDaoremove in interface ModificationDao<storage_domain_static,Guid>id - The id of the entity to remove (can't be null).public List<storage_domain_static> getAll()
ReadDaoT.getAll in interface ReadDao<storage_domain_static,Guid>public List<Guid> getAllIds(Guid pool, StorageDomainStatus status)
StorageDomainStaticDAOgetAllIds in interface StorageDomainStaticDAOpool - The pool id.status - The desired status.Copyright © 2012. All Rights Reserved.