Package org.compiere.apps
Class AbstractProcessCtl
java.lang.Object
org.compiere.apps.AbstractProcessCtl
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
WProcessCtl
Process Controller Interface.
- 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
ConstructorsConstructorDescriptionAbstractProcessCtl(IProcessUI aProcessUI, int WindowNo, ProcessInfo pi, Trx trx) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected IProcessUIprotected ProcessInfoprotected IProcessUIprotected intprotected booleanDeprecated.protected abstract voidlock()Lock UI and show in progress dialogvoidrun()Execute Process Instance and Lock UI.
Calls lockUI and unlockUI if parent is a ASyncProcessvoidstart()Run this process in a new threadprotected abstract voidunlock()Unlock UI and dispose in progress dialog.protected abstract voidupdateProgressWindowTimerEstimate(int estSeconds) protected abstract voidupdateProgressWindowTitle(String title)
-
Constructor Details
-
AbstractProcessCtl
Constructor- Parameters:
aProcessUI-WindowNo-pi- Process infotrx- Transaction
-
-
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 in progress dialog -
unlock
protected abstract void unlock()Unlock UI and dispose in progress dialog. -
getWindowNo
protected int getWindowNo() -
getProcessInfo
-
getProcessMonitor
-
getParent
-
isServerProcess
Deprecated.
-