@Service @Transactional(value="herdTransactionManager") public class StorageServiceImpl extends Object implements StorageService
| Constructor and Description |
|---|
StorageServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Storage |
createStorage(StorageCreateRequest storageCreateRequest)
Creates a new storage.
|
Storage |
deleteStorage(StorageAlternateKeyDto storageAlternateKey)
Deletes a storage for the specified storage alternate key.
|
Storage |
getStorage(StorageAlternateKeyDto storageAlternateKey)
Gets a storage for the specified storage name.
|
StorageKeys |
getStorages()
Gets a list of storage keys for all storages defined in the system.
|
Storage |
updateStorage(StorageAlternateKeyDto storageAlternateKey,
StorageUpdateRequest storageUpdateRequest)
Updates an existing storage.
|
public Storage createStorage(StorageCreateRequest storageCreateRequest)
createStorage in interface StorageServicestorageCreateRequest - the storage requestpublic Storage updateStorage(StorageAlternateKeyDto storageAlternateKey, StorageUpdateRequest storageUpdateRequest)
updateStorage in interface StorageServicestorageAlternateKey - the storage alternate key (case-insensitive)storageUpdateRequest - the storage update requestpublic Storage getStorage(StorageAlternateKeyDto storageAlternateKey)
getStorage in interface StorageServicestorageAlternateKey - the storage alternate key (case-insensitive)public Storage deleteStorage(StorageAlternateKeyDto storageAlternateKey)
deleteStorage in interface StorageServicestorageAlternateKey - the storage alternate key (case-insensitive)public StorageKeys getStorages()
StorageServicegetStorages in interface StorageServiceCopyright © 2017. All rights reserved.