public abstract class OrderItemConfigurationBaseCmdImpl extends TaskCommandImpl implements CreateOrderItemConfigurationCmd, UpdateOrderItemConfigurationCmd
CreateOrderItemConfigurationCmdImpl and UpdateOrderItemConfigurationCmdImpl
It invokes OIConfigJDBCHelperBean to access OICONFIG table.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAMEdefaultCommandClassName, NAME| Constructor and Description |
|---|
OrderItemConfigurationBaseCmdImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
insertOrderItemConfiguration()
This method invokes
OIConfigJDBCHelperBean to insert a record to OICONFIG table. |
void |
reset()
This method resets all instance variables.
|
void |
setConfiguration(java.lang.String configuration)
This method sets the configuration of a dynamic kit.
|
void |
setOrderItemId(java.lang.String orderItemId)
This method sets the order item id.
|
void |
updateOrderItemConfiguration()
This method invokes
OIConfigJDBCHelperBean to update configuration for an order item
If there is no record of the order item in OICONFIG table, a new record is inserted. |
void |
validateParameters()
This method verifies the input parameters.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String COPYRIGHT
public void setConfiguration(java.lang.String configuration)
setConfiguration in interface CreateOrderItemConfigurationCmdsetConfiguration in interface UpdateOrderItemConfigurationCmdconfiguration - the configuration of a dynamic kit.public void setOrderItemId(java.lang.String orderItemId)
setOrderItemId in interface CreateOrderItemConfigurationCmdsetOrderItemId in interface UpdateOrderItemConfigurationCmdorderItemId - the order item id.public void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECExceptionpublic void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void insertOrderItemConfiguration()
throws com.ibm.commerce.key.CreateKeyException,
javax.naming.NamingException,
ECSystemException,
java.sql.SQLException
OIConfigJDBCHelperBean to insert a record to OICONFIG table.javax.naming.NamingExceptionECSystemExceptionjava.sql.SQLExceptioncom.ibm.commerce.key.CreateKeyExceptionpublic void updateOrderItemConfiguration()
throws com.ibm.commerce.key.CreateKeyException,
javax.naming.NamingException,
ECSystemException,
java.sql.SQLException
OIConfigJDBCHelperBean to update configuration for an order item
If there is no record of the order item in OICONFIG table, a new record is inserted.javax.naming.NamingExceptionECSystemExceptionjava.sql.SQLExceptioncom.ibm.commerce.key.CreateKeyException