Delete attachment thorough Java
Through my own custom listener I would like to delete main files and attachment from the nuxeo document. Deleting the document seems to be easy as you can use the below code.
But how I can delete the file and attachment through my java code. Please provide me a snippet of code.
The code will be..
path = file:content for main file. For attachment “files/content[array index]”