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, setTemplate
public storage_pool_iso_map get(StoragePoolIsoMapId id)
ReadDao
get
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)
ModificationDao
save
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)
ModificationDao
update
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)
ModificationDao
remove
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)
StoragePoolIsoMapDAO
getAllForStoragePool
in interface StoragePoolIsoMapDAO
storagePoolId
- storage pool ID for which the maps will be returnedpublic List<storage_pool_iso_map> getAllForStorage(Guid isoId)
StoragePoolIsoMapDAO
getAllForStorage
in interface StoragePoolIsoMapDAO
isoId
- storage ID to return all the maps forpublic List<storage_pool_iso_map> getAll()
ReadDao
T
.getAll
in interface ReadDao<storage_pool_iso_map,StoragePoolIsoMapId>
public void updateStatus(StoragePoolIsoMapId id, StorageDomainStatus status)
StatusAwareDao
updateStatus
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.