refactor(docmanager): replace deprecated new_doc, getTdoc, - part 3 - (r...

...efs #2785)