public class StoragePoolIsoMapDAODbFacadeImpl extends BaseDAODbFacade implements StoragePoolIsoMapDAO
dbFacade, dialect, jdbcTemplate, RETURN_VALUE_PARAMETER| Constructor and Description |
|---|
StoragePoolIsoMapDAODbFacadeImpl() |
| Modifier and Type | Method and Description |
|---|---|
storage_pool_iso_map |
get(StoragePoolIsoMapId id)
Retrieves the entity with the given id.
|
List<storage_pool_iso_map> |
getAll()
Retrieves all the entities of type
T. |
List<storage_pool_iso_map> |
getAllForStorage(Guid isoId)
Gets all maps for a given storage ID
|
List<storage_pool_iso_map> |
getAllForStoragePool(Guid storagePoolId)
Gets all maps for a given storage pool ID
|
void |
remove(StoragePoolIsoMapId id)
Removes the entity with the given id from the underlying store of data.
|
void |
save(storage_pool_iso_map map)
Persist a new instance of the entity.
|
void |
update(storage_pool_iso_map map)
Update an existing entity with data from the given instance.
|
void |
updateStatus(StoragePoolIsoMapId id,
StorageDomainStatus status)
Update the entity's status field only.
|
getCallsHandler, getCustomMapSqlParameterSource, setDbFacade, setDialect, setTemplatepublic storage_pool_iso_map get(StoragePoolIsoMapId id)
ReadDaoget in interface ReadDao<storage_pool_iso_map,StoragePoolIsoMapId>id - The id to look by (can't be null).null if not found.public void save(storage_pool_iso_map map)
ModificationDaosave in interface ModificationDao<storage_pool_iso_map,StoragePoolIsoMapId>map - The entity to persist (can't be null).public void update(storage_pool_iso_map map)
ModificationDaoupdate in interface ModificationDao<storage_pool_iso_map,StoragePoolIsoMapId>map - The entity instance, containing data to update (can't be null).public void remove(StoragePoolIsoMapId id)
ModificationDaoremove in interface ModificationDao<storage_pool_iso_map,StoragePoolIsoMapId>id - The id of the entity to remove (can't be null).public List<storage_pool_iso_map> getAllForStoragePool(Guid storagePoolId)
StoragePoolIsoMapDAOgetAllForStoragePool in interface StoragePoolIsoMapDAOstoragePoolId - storage pool ID for which the maps will be returnedpublic List<storage_pool_iso_map> getAllForStorage(Guid isoId)
StoragePoolIsoMapDAOgetAllForStorage in interface StoragePoolIsoMapDAOisoId - storage ID to return all the maps forpublic List<storage_pool_iso_map> getAll()
ReadDaoT.getAll in interface ReadDao<storage_pool_iso_map,StoragePoolIsoMapId>public void updateStatus(StoragePoolIsoMapId id, StorageDomainStatus status)
StatusAwareDaoupdateStatus in interface StatusAwareDao<StoragePoolIsoMapId,StorageDomainStatus>id - The id of the entity for which to update the status field.status - The status to update to.Copyright © 2012. All Rights Reserved.