MOVE command when renaming files.

Zeus Courtois <[email protected]>
Newsgroups gmane.comp.jakarta.slide.user
Message-ID <[email protected]>
Hi, 

I noticed that when I rename a file, the MOVE command is issued and it goes through the process of recreating the metadata and the file content with just another name, then deleting the previous metadata and content file by calling the delete( ) and removeRevisionContent(...) respectively on the XMLResourceDescriptor and TxFileContentStore classes. 

I would like to know if there is a way of knowing, within these delete/remove methods, if they were called due to a renaming of a file (MOVE) or due to the user actually hitting the <delete> key. Or if there is a way I can put a "flag" on some other class that would eventually let me know that the file is being removed due to an actual deletion and not because of a MOVE command.

Thanks in advance,

Zeus Courtois
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.