LPS-46927 avoid incrementing the view counter when generating DM previews

As the only callers of the `getFile' method are the various preview processors, we should
not increment the view/read counters.
LPS-46927 Include information about the deprecation
LPS-46927 Run ant format-javadoc
LPS-46927 autogenerated