// write the updated entry to the store
configuredObjectBinding.objectToEntry(record, newValue);
status = getConfiguredObjectsDb().put(txn, key, newValue);
if (status != OperationStatus.SUCCESS)
{
throw new StoreException("Error updating configuration details within the store: " + status);
}
if(isNewRecord)
{
writeHierarchyRecords(txn, record);
}
}
else if (status != OperationStatus.NOTFOUND)
{
throw new StoreException("Error finding configuration details within the store: " + status);
}
}