Programatically show the Doc selected in view

Hi, I have written a JavaAgent which searchs all the docs in a View for a specifyed String and tell me whethere it found it or not.

Now once I found some docs whcih matchs my search crieria I want to show those docs in different color or selected or put those at the very first in the view.

Pls help me if any one has some idea how to do that.

Thank you very much

Subject: Programatically show the Doc selected in view

How about putting the documents into a folder?

Subject: RE: Programatically show the Doc selected in view

How can I move those record to be the first one in the view and marked them diferently or something.Thank you

Manish

Subject: RE: Programatically show the Doc selected in view

I think I tried it via putInFloder, but it didn’t work. That will be also great if I identify the record which matchs my search area and put it in different foder or somethingThank you