@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(StorageKey storageKey)
Deletes an existing storage by storage key.
|
StorageKeys |
getAllStorage()
Gets a list of storage keys for all storage defined in the system.
|
Storage |
getStorage(StorageKey storageKey)
Gets an existing storage by storage key.
|
Storage |
updateStorage(StorageKey storageKey,
StorageUpdateRequest storageUpdateRequest)
Updates an existing storage by storage key.
|
Storage |
updateStorageAttributes(StorageKey storageKey,
StorageAttributesUpdateRequest storageAttributesUpdateRequest)
Updates an existing storage attributes by storage key.
|
public Storage createStorage(StorageCreateRequest storageCreateRequest)
StorageServicecreateStorage in interface StorageServicestorageCreateRequest - the information needed to create storagepublic Storage deleteStorage(StorageKey storageKey)
StorageServicedeleteStorage in interface StorageServicestorageKey - the storage key (case-insensitive)public StorageKeys getAllStorage()
StorageServicegetAllStorage in interface StorageServicepublic Storage getStorage(StorageKey storageKey)
StorageServicegetStorage in interface StorageServicestorageKey - the storage key (case-insensitive)public Storage updateStorage(StorageKey storageKey, StorageUpdateRequest storageUpdateRequest)
StorageServiceupdateStorage in interface StorageServicestorageKey - the storage key (case-insensitive)storageUpdateRequest - the information needed to update the storagepublic Storage updateStorageAttributes(StorageKey storageKey, StorageAttributesUpdateRequest storageAttributesUpdateRequest)
StorageServiceupdateStorageAttributes in interface StorageServicestorageKey - the storage key (case-insensitive)storageAttributesUpdateRequest - the information needed to update storage attributesCopyright © 2019. All rights reserved.