|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.compiere.model.CalloutEngine
@Deprecated public class CalloutEngine
Callout Engine.
| Constructor Summary | |
|---|---|
CalloutEngine()
Deprecated. Constructor |
|
| Method Summary | |
|---|---|
String |
convert(String methodName,
String value)
Deprecated. Conversion Rules. |
String |
dateAcct(Ctx ctx,
int WindowNo,
GridTab mTab,
GridField mField,
Object value)
Deprecated. Set Account Date to the date of the calling column. |
protected static boolean |
isCalloutActive()
Deprecated. Is Callout Active |
String |
rate(Ctx ctx,
int WindowNo,
GridTab mTab,
GridField mField,
Object value)
Deprecated. Rate - set Multiply Rate from Divide Rate and vice versa org.compiere.model.CalloutEngine.rate |
protected static void |
setCalloutActive(boolean active)
Deprecated. Set Callout (in)active |
String |
start(Ctx ctx,
String methodName,
int WindowNo,
GridTab mTab,
GridField mField,
Object value,
Object oldValue)
Deprecated. Start Callout. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CalloutEngine()
| Method Detail |
|---|
public String start(Ctx 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 static boolean isCalloutActive()
protected static void setCalloutActive(boolean active)
active - active
public String dateAcct(Ctx ctx,
int WindowNo,
GridTab mTab,
GridField mField,
Object value)
ctx - contextWindowNo - window nomTab - tabmField - fieldvalue - value
public String rate(Ctx ctx,
int WindowNo,
GridTab mTab,
GridField mField,
Object value)
ctx - contextWindowNo - window nomTab - tabmField - fieldvalue - value
|
Compiere 3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||