Package org.openbravo.client.application
Class JSExpressionCallout
- java.lang.Object
-
- org.openbravo.erpCommon.ad_callouts.DelegateConnectionProvider
-
- org.openbravo.erpCommon.ad_callouts.SimpleCallout
-
- org.openbravo.client.application.JSExpressionCallout
-
- All Implemented Interfaces:
ConnectionProvider
- Direct Known Subclasses:
DefaultExpressionCallout
,FixedValueExpressionCallout
public abstract class JSExpressionCallout extends SimpleCallout
An abstract class that can be extended for those callouts that need to evaluate a Javascript expression.- Author:
- gorkaion
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.openbravo.erpCommon.ad_callouts.SimpleCallout
SimpleCallout.CalloutInfo
-
-
Field Summary
-
Fields inherited from class org.openbravo.erpCommon.ad_callouts.DelegateConnectionProvider
log4j, myPool
-
-
Constructor Summary
Constructors Constructor Description JSExpressionCallout()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected void
execute(SimpleCallout.CalloutInfo info)
Overwrite this method to implement a new servlet callout based inSimlpleCallout
protected abstract String
getExpression(VariablesSecureApp vars)
-
Methods inherited from class org.openbravo.erpCommon.ad_callouts.SimpleCallout
executeSimpleCallout, init
-
Methods inherited from class org.openbravo.erpCommon.ad_callouts.DelegateConnectionProvider
destroy, getCallableStatement, getCallableStatement, getCallableStatement, getConnection, getPreparedStatement, getPreparedStatement, getPreparedStatement, getRDBMS, getStatement, getStatement, getStatement, getStatus, getTransactionConnection, releaseCallableStatement, releaseCommitConnection, releasePreparedStatement, releaseRollbackConnection, releaseStatement, releaseTransactionalPreparedStatement, releaseTransactionalStatement
-
-
-
-
Method Detail
-
getExpression
protected abstract String getExpression(VariablesSecureApp vars)
-
execute
protected void execute(SimpleCallout.CalloutInfo info) throws javax.servlet.ServletException
Description copied from class:SimpleCallout
Overwrite this method to implement a new servlet callout based inSimlpleCallout
- Specified by:
execute
in classSimpleCallout
- Parameters:
info
- TheCalloutInfo
that contains all helper data to access callout information and servlet information- Throws:
javax.servlet.ServletException
-
-