@Component public class StorageDaoHelper extends Object
| Constructor and Description |
|---|
StorageDaoHelper() |
| Modifier and Type | Method and Description |
|---|---|
StorageEntity |
getStorageEntity(StorageKey storageKey)
Gets a storage entity by storage key and makes sure that it exists.
|
StorageEntity |
getStorageEntity(String storageName)
Gets a storage entity based on the storage name and makes sure that it exists.
|
public StorageEntity getStorageEntity(StorageKey storageKey) throws ObjectNotFoundException
storageKey - the storage keyObjectNotFoundException - if the storage entity doesn't existpublic StorageEntity getStorageEntity(String storageName) throws ObjectNotFoundException
storageName - the storage name (case insensitive)ObjectNotFoundException - if the storage entity doesn't existCopyright © 2021. All rights reserved.