We store scanned images (TIFF files) as content in Documentum 6.5 SP3. We also create custom Objects representing these images and as well as holding various attributes of images (e.g. number of pages and other fields via OCR). Currently in production we got some images released (via Kofax) to the wrong type of object - normally these images are associated with a biz_image object but somehow these were released with the biz_addressSlip object selected in Kofax. Now we want to write Java code to basically create biz_image objects for these images and delete the incorrect biz_addressSlip objects. I am new to Documentum's DFC API and have following questions:
1. I have created a program in Java that successfully query for these biz_addressSlip objects and then create the biz_image object copying its properties. What I am missing is somehow associate this newly created object to point to the image contents currently associated with biz_addressSlip object. I found the bindFIle() method on IDfSysObject that seems like what i needed to do this
2. Next step is to delete the biz_addressSlip object BUT how documentum will handle the associated image? Will it delete it too? Do we need to somehow "un-associate" the image with this object first? How? Any unbindFile() method?
If anyone could point me to the APIs i need to look at for handling this "association" between content and objects, that will be really great.
TIA!