Compiere 3.1

org.compiere.controller
Class UICalloutEngine

java.lang.Object
  extended by org.compiere.controller.UICalloutEngine
All Implemented Interfaces:
CalloutInterface

public class UICalloutEngine
extends Object
implements CalloutInterface

Callout Engine

Version:
$Id: $
Author:
Jorg Janke

Field Summary
protected  CLogger log
          Logger
 
Constructor Summary
UICalloutEngine()
          Constructor
 
Method Summary
 ChangeVO dateAcct(Ctx ctx, int windowNo, UIField field, String oldValue, String newValue)
          Set Account Date to the date of the calling column.
 ChangeVO rate(Ctx ctx, int windowNo, UIField field, String oldValue, String newValue)
          Calculate Cross rate for MultiplyRate and DivideRate org.compiere.controller.UICalloutEngine.rate
 ChangeVO start(Ctx ctx, int windowNo, PO po, UIField field, String oldValue, String newValue, String methodName)
          Callout
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected CLogger log
Logger

Constructor Detail

UICalloutEngine

public UICalloutEngine()
Constructor

Method Detail

start

public ChangeVO start(Ctx ctx,
                      int windowNo,
                      PO po,
                      UIField field,
                      String oldValue,
                      String newValue,
                      String methodName)
Callout

Specified by:
start in interface CalloutInterface
Parameters:
ctx - context
windowNo - window no
po - business object
field - field
oldValue - old value
newValue - new value
methodName - method name
Returns:
Change Info or null

rate

public ChangeVO rate(Ctx ctx,
                     int windowNo,
                     UIField field,
                     String oldValue,
                     String newValue)
Calculate Cross rate for MultiplyRate and DivideRate org.compiere.controller.UICalloutEngine.rate

Parameters:
ctx - context
windowNo - window no
field - field
oldValue - old
newValue - new
Returns:
changes or null

dateAcct

public ChangeVO dateAcct(Ctx ctx,
                         int windowNo,
                         UIField field,
                         String oldValue,
                         String newValue)
Set Account Date to the date of the calling column. org.compiere.controller.UICalloutEngine.dateAcct

Parameters:
ctx - context
windowNo - window no
field - field
oldValue - old
newValue - new
Returns:
changes or null

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.