Hi.
I have an application with 2 agent, one run on a client on the querysave and are in JAVA SCRIPT. The other run on WEBquerysave and are in JAVA.
I’m NEW and SLOW with java and i need to change the code of the two agent.
In lotus script i did it:
…
Do While doc.Lock(“FECHADO”, True)
Sleep(1)
Loop
Call doc.Lock(“FECHADO”,True)
…
Call doc.unlock()
That’s run OK. BUT, with JAVA i have this method?
Because I need to know, when the JAVA AGENT run if the “FECHADO” lock exist, and WAIT for liberation, them create the new lock with this agent.
I know i can make the SAME AGENT for 2 situations (web and client) BUT this is not my aplication, this was make by another one and i can’t change this now (is too long).
ANY HELP is welcome, because on the design help of 6 there are nothing about LOCK in the properties of Document (in java).
Sorry for my english !!!
And thanks again!
Daniela