PLAT-534: replaced the bool "fullInfo" with an enum, in order to make our public interface simpler and less sensitive to potential implementation changes

This reverts commit a05add53346a8c07f9a9fb3c758ab27489ad533e.
PLAT-534: improved readability by splitting the implementation of the long and short versions of getObjectInfo in smaller private methods