public void Save()
{
Guard.Against(Type != BookType.Publication, "Tried to save a non-editable book.");
_bookData.UpdateVariablesAndDataDivThroughDOM(BookInfo);//will update the title if needed
if(!LockDownTheFileAndFolderName)
{
_storage.UpdateBookFileAndFolderName(_collectionSettings); //which will update the file name if needed
}
_storage.Save();
}