@Component public class StorageUnitDaoHelper extends Object
| Constructor and Description |
|---|
StorageUnitDaoHelper() |
| Modifier and Type | Method and Description |
|---|---|
StorageUnitEntity |
getStorageUnitEntity(String storageName,
BusinessObjectDataEntity businessObjectDataEntity)
Retrieves a storage unit entity for the business object data in the specified storage and make sure it exists.
|
void |
updateStorageUnitStatus(StorageUnitEntity storageUnitEntity,
StorageUnitStatusEntity storageUnitStatusEntity,
String reason)
Update the storage unit status.
|
void |
updateStorageUnitStatus(StorageUnitEntity storageUnitEntity,
String storageUnitStatus,
String reason)
Update the storage unit status.
|
public StorageUnitEntity getStorageUnitEntity(String storageName, BusinessObjectDataEntity businessObjectDataEntity) throws ObjectNotFoundException
storageName - the storage namebusinessObjectDataEntity - the business object data entityObjectNotFoundException - if the storage unit couldn't be found.public void updateStorageUnitStatus(StorageUnitEntity storageUnitEntity, String storageUnitStatus, String reason)
storageUnitEntity - the storage unit entitystorageUnitStatus - the new storage unit statusreason - the reason for the updatepublic void updateStorageUnitStatus(StorageUnitEntity storageUnitEntity, StorageUnitStatusEntity storageUnitStatusEntity, String reason)
storageUnitEntity - the storage unit entitystorageUnitStatusEntity - the new storage unit status entityreason - the reason for the updateCopyright © 2017. All rights reserved.