Adempiere 3.5.2a

org.compiere.apps
Class ASyncProcessBase

java.lang.Object
  extended by org.compiere.apps.ASyncProcessBase
All Implemented Interfaces:
ASyncProcess

public abstract class ASyncProcessBase
extends Object
implements ASyncProcess

ASync Process Base Class

Version:
$Id: ASyncProcessBase.java,v 1.2 2006/07/30 00:51:27 jjanke Exp $
Author:
Jorg Janke

Constructor Summary
ASyncProcessBase(ProcessInfo pi)
          Constructor
 
Method Summary
abstract  void executeASync(ProcessInfo pi)
          Method to be executed async Called from the Worker
 boolean isUILocked()
          Is the UI locked (Internal method)
 void lockUI(ProcessInfo pi)
          Lock User Interface.
 void unlockUI(ProcessInfo pi)
          Unlock User Interface.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASyncProcessBase

public ASyncProcessBase(ProcessInfo pi)
Constructor

Parameters:
pi - process info
Method Detail

lockUI

public void lockUI(ProcessInfo pi)
Lock User Interface. Called from the Worker before processing

Specified by:
lockUI in interface ASyncProcess
Parameters:
pi - process info

unlockUI

public void unlockUI(ProcessInfo pi)
Unlock User Interface. Called from the Worker when processing is done

Specified by:
unlockUI in interface ASyncProcess
Parameters:
pi - process info

isUILocked

public boolean isUILocked()
Is the UI locked (Internal method)

Specified by:
isUILocked in interface ASyncProcess
Returns:
true, if UI is locked

executeASync

public abstract void executeASync(ProcessInfo pi)
Method to be executed async Called from the Worker

Specified by:
executeASync in interface ASyncProcess
Parameters:
pi - process info

Adempiere 3.5.2a

Adempiere® is a registered trademark of ADempiere Business Inc. ©2004-2008 HumanFlash.com All rights reserved.