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, NAME
defaultCommandClassName, 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, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, performExecute, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public void setConfiguration(java.lang.String configuration)
setConfiguration
in interface CreateOrderItemConfigurationCmd
setConfiguration
in interface UpdateOrderItemConfigurationCmd
configuration
- the configuration of a dynamic kit.public void setOrderItemId(java.lang.String orderItemId)
setOrderItemId
in interface CreateOrderItemConfigurationCmd
setOrderItemId
in interface UpdateOrderItemConfigurationCmd
orderItemId
- the order item id.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECException
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public 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.NamingException
ECSystemException
java.sql.SQLException
com.ibm.commerce.key.CreateKeyException
public 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.NamingException
ECSystemException
java.sql.SQLException
com.ibm.commerce.key.CreateKeyException