i have been searching this  API : 
EMC Documentum Foundation Services SDK 6.0 API Documentation
for a method to get the document IDs of  all versions of the same file. it seems that there is no such method.  anyone knows a way to do it ?  I believe there is a very straight forward way.  Appreciate your help !
 
-ossa