Package org.compiere.apps
Class AbstractProcessCtl
java.lang.Object
org.compiere.apps.AbstractProcessCtl
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
WProcessCtl
Process Interface Controller.
- Version:
- $Id: ProcessCtl.java,v 1.2 2006/07/30 00:51:27 jjanke Exp $
- Author:
- Jorg Janke, Low Heng Sin
- Added support for having description and parameter in one dialog
- Added support to run db process remotely on server, Teo Sarca, SC ARHIPAC SERVICE SRL
- BF [ 1757523 ] Server Processes are using Server's context
- FR [ 1807922 ] Pocess threads should have a better name
- BF [ 1960523 ] Server Process functionality not working
-
Constructor Summary
ConstructorDescriptionAbstractProcessCtl
(IProcessUI aProcessUI, int WindowNo, ProcessInfo pi, Trx trx) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected IProcessUI
protected ProcessInfo
protected IProcessUI
protected int
protected boolean
Deprecated.protected abstract void
lock()
Lock UI and show Waitingvoid
run()
Execute Process Instance and Lock UI.void
start()
Run this process in a new threadprotected abstract void
unlock()
Unlock UI and dispose Waiting.protected abstract void
updateProgressWindowTimerEstimate
(int estSeconds) protected abstract void
updateProgressWindowTitle
(String title)
-
Constructor Details
-
AbstractProcessCtl
Constructor- Parameters:
aProcessUI
-WindowNo
-pi
- Process infotrx
- Transaction Created in process(), VInvoiceGen.generateInvoices
-
-
Method Details
-
start
public void start()Run this process in a new thread -
run
public void run()Execute Process Instance and Lock UI. Calls lockUI and unlockUI if parent is a ASyncProcess- Get Process Information - Call Class - Submit SQL Procedure - Run SQL Procedure
-
updateProgressWindowTimerEstimate
protected abstract void updateProgressWindowTimerEstimate(int estSeconds) -
updateProgressWindowTitle
-
lock
protected abstract void lock()Lock UI and show Waiting -
unlock
protected abstract void unlock()Unlock UI and dispose Waiting. Called from run() -
getWindowNo
protected int getWindowNo() -
getProcessInfo
-
getProcessMonitor
-
getParent
-
isServerProcess
Deprecated.
-