cancel
Showing results for 
Search instead for 
Did you mean: 

How to query the repository about deleted files?

sridhar
Champ in-the-making
Champ in-the-making
Hello Friends,

I am new to this community.I tried to create,modify,delete the files on repository using java client program.
Now i am trying to find the user deleted files on the repository between x and y time.Please help me with sample code. Thanks in Advance.
7 REPLIES 7

mrogers
Star Contributor
Star Contributor
That's tricky!    

If the node is archived the you just need to search for nodes in the archive store.    However archiving is optional and if a node has been deleted then it's not there.      In future we may add some sort of "deletion stub" or "ghost" of a deleted node.   We have a few designs for how it would work but its not there yet.

mrogers
Star Contributor
Star Contributor
Or the other way of doing it is through Audit.   I see that there's a change log in CMIS.    That may be what you are after.

sridhar
Champ in-the-making
Champ in-the-making
Or the other way of doing it is through Audit.   I see that there's a change log in CMIS.    That may be what you are after.

Thank you for the response.Is there any way to get the deleted files list programatically.?

rhlie
Champ in-the-making
Champ in-the-making
Hi,

Is there any webservice call that would get the CMIS log? And in that case do you have to activate audit, or is this on by default?

I was also wandering if there is a function to force the web ui to archive instead of deleting documents?

Br

Runar

flopez
Champ in-the-making
Champ in-the-making
Hi, I'm also looking for a way to manage deleted items (apart from the Alfresco explorer option), to query, list, and recover deleted files (from the deleted contentstore "recycle bin") please help us to do this trough code, cause the explorer interface isn't very helpful to query and retrieve

sjeandroz
Champ in-the-making
Champ in-the-making
Hi,

I have the same problem, I would like to manage deleted files without using the web-interface (in CMIS it would be great).

Thanks for your help

sjeandroz
Champ in-the-making
Champ in-the-making
Someone have an answer?  I have spend a lot of time to search a solution but nothing….
Is there a way to do this in CMIS? or in Javascript? Or in Java using a java-backed web script?

Thanks and sorry for my english