|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.CalloutEngine
public class CalloutEngine
Callout Engine.
| Field Summary | |
|---|---|
protected CLogger |
log
Logger |
static String |
NO_ERROR
No error return value. |
| Constructor Summary | |
|---|---|
CalloutEngine()
Constructor |
|
| Method Summary | |
|---|---|
String |
convert(String methodName,
String value)
Conversion Rules. |
String |
dateAcct(Properties ctx,
int WindowNo,
GridTab mTab,
GridField mField,
Object value)
Set Account Date Value. |
GridField |
getGridField()
|
GridTab |
getGridTab()
|
protected boolean |
isCalloutActive()
Is the current callout being called in the middle of another callout doing her works. |
String |
rate(Properties ctx,
int WindowNo,
GridTab mTab,
GridField mField,
Object value)
Rate - set Multiply Rate from Divide Rate and vice versa org.compiere.model.CalloutEngine.rate |
protected static void |
setCalloutActive(boolean active)
Deprecated. |
String |
start(Properties ctx,
String methodName,
int WindowNo,
GridTab mTab,
GridField mField,
Object value,
Object oldValue)
Start Callout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String NO_ERROR
protected CLogger log
| Constructor Detail |
|---|
public CalloutEngine()
| Method Detail |
|---|
public String start(Properties ctx,
String methodName,
int WindowNo,
GridTab mTab,
GridField mField,
Object value,
Object oldValue)
Callout's are used for cross field validation and setting values in other fields when returning a non empty (error message) string, an exception is raised
When invoked, the Tab model has the new value!
start in interface Calloutctx - ContextmethodName - Method nameWindowNo - current Window NomTab - Model TabmField - Model Fieldvalue - The new valueoldValue - The old value
public String convert(String methodName,
String value)
convert in interface CalloutmethodName - method namevalue - the value
protected boolean isCalloutActive()
protected static void setCalloutActive(boolean active)
active - active
public String dateAcct(Properties ctx,
int WindowNo,
GridTab mTab,
GridField mField,
Object value)
ctx - contextWindowNo - window nomTab - tabmField - fieldvalue - value
public String rate(Properties ctx,
int WindowNo,
GridTab mTab,
GridField mField,
Object value)
ctx - contextWindowNo - window nomTab - tabmField - fieldvalue - value
public GridTab getGridTab()
public GridField getGridField()
|
Adempiere 3.5.2a | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||