I have deployer extension configured for my deployer which is written in java version 6. As and when we publish any component, we have a customised logic in deployer extension that PDF file should be generated based on component presentation HTML content and that PDF file is named on value of one of the component's fields.
So, while unpublishing, is it possible to get the values of fields of the component being unpublished? I checked the package zip file that gets generated when a component is unpublished, it contains only two files 'transaction.xml' and 'instructions.xml' which have very limited information.
I also tried to get the component by using tridion content delivery API but problem is that though I am able to get the component tcm id, I am unable to get the component object itself based on component tcm id. And also, I observed that some meta datas and meta data files which are present inside the package zip file which is generated on publishing component, the same are not present in the package zip file which is generaeted on unpublishing component.
So, is there any way by which we can get the component object using tridion java content delivery API on unpubishing of component??