AnsweredAssumed Answered

How to delete a link document ?

Question asked by imorales on Jan 29, 2008
Hi all.

I´m using jcr api to manage alfresco, I´m providing my alfresco with document or folder links, app:filelink, app:folderlink, I have methods to create links without problems, but I´m getting difficulties when I delete a document, how can I delete the links that reference the document.
I try searching with LUCENE in all workspace the files with TYPE:app:filelink and the next field to I would use is @cm:destination but this field is of type NodeRef and lucene cannot search by NodeRef, how can I solve this, if it´s possible I would not like to modify the model adding links information.

Thanks in advance.