Class SL_IsDefault
- java.lang.Object
-
- org.openbravo.erpCommon.ad_callouts.DelegateConnectionProvider
-
- org.openbravo.erpCommon.ad_callouts.SimpleCallout
-
- org.openbravo.erpCommon.ad_callouts.SL_IsDefault
-
- All Implemented Interfaces:
ConnectionProvider
public class SL_IsDefault extends SimpleCallout
This callout checks if this is the only active isDefault checked for the table (with organization) or, in case it is a tab with parent, it is the only checked taking into account its parent. If another one already exists an error message is raised and the checkbox is unchecked.
-
-
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 SL_IsDefault()
-
Method Summary
All Methods Instance 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
-
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
-
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
-
-