Open document in edit mode with Java agent

I have a java agent that creates a journal entry. I would like to have it open the document so that is active in my current view in edit mode. Is this even possible? I looked through the designer nsf file and found no way via Java.

As an alternative, I see that I can use LotusScript to do it. Is there a way to have a lotusscript agent call my java agent, or even a java class, then open the file?