Refactoring the A_DocService interface

the method related with the temporal directory handling becomes private.