public abstract class BeforeDo
extends Object
Controla as transações executadas nos eventos BEFORE e AFTER
ADD/UPDATE/SAVE/DELETE nos objetos tipo ControleJava*.
Na prática, se houver erro, faz rejectOperation(), mostra a mensagem
e ao fim faz rollback; caso contrário, faz commit no fim.
Constructor Summary
Constructors
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods
abstract void
void
runAfter (com.unify.nxj.mgr.NXJDataView dataView,
boolean ok)
abstract void
boolean
runBefore (com.unify.nxj.mgr.NXJDataView dataView)
Methods inherited from class java.lang.Object
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait
Constructor Details
BeforeDo
public BeforeDo ()
Method Details
runBefore
public boolean runBefore (com.unify.nxj.mgr.NXJDataView dataView)
throws Exception
Throws:
Exception
runAfter
public void runAfter (com.unify.nxj.mgr.NXJDataView dataView,
boolean ok)
throws Exception
Throws:
Exception