public interface StorageService
| 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.
|
Storage createStorage(StorageCreateRequest storageCreateRequest)
storageCreateRequest - the information needed to create storageStorage deleteStorage(StorageKey storageKey)
storageKey - the storage key (case-insensitive)StorageKeys getAllStorage()
Storage getStorage(StorageKey storageKey)
storageKey - the storage key (case-insensitive)Storage updateStorage(StorageKey storageKey, StorageUpdateRequest storageUpdateRequest)
storageKey - the storage key (case-insensitive)storageUpdateRequest - the information needed to update the storageStorage updateStorageAttributes(StorageKey storageKey, StorageAttributesUpdateRequest storageAttributesUpdateRequest)
storageKey - the storage key (case-insensitive)storageAttributesUpdateRequest - the information needed to update storage attributesCopyright © 2021. All rights reserved.