@Component public class StoragePolicyRuleTypeDaoHelper extends Object
| Constructor and Description |
|---|
StoragePolicyRuleTypeDaoHelper() |
| Modifier and Type | Method and Description |
|---|---|
StoragePolicyRuleTypeEntity |
getStoragePolicyRuleTypeEntity(String code)
Gets the storage policy rule type entity and ensure it exists.
|
public StoragePolicyRuleTypeEntity getStoragePolicyRuleTypeEntity(String code) throws ObjectNotFoundException
code - the storage policy rule type code (case insensitive)ObjectNotFoundException - if the entity doesn't existCopyright © 2021. All rights reserved.