com.ibm.commerce.orderitems.commands

Class OrderItemConfigurationBaseCmdImpl

    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • OrderItemConfigurationBaseCmdImpl

        public OrderItemConfigurationBaseCmdImpl()
    • Method Detail

      • reset

        public void reset()
        This method resets all instance variables.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • insertOrderItemConfiguration

        public void insertOrderItemConfiguration()
                                          throws com.ibm.commerce.key.CreateKeyException,
                                                 javax.naming.NamingException,
                                                 ECSystemException,
                                                 java.sql.SQLException
        This method invokes OIConfigJDBCHelperBean to insert a record to OICONFIG table.
        Throws:
        javax.naming.NamingException
        ECSystemException
        java.sql.SQLException
        com.ibm.commerce.key.CreateKeyException
      • updateOrderItemConfiguration

        public void updateOrderItemConfiguration()
                                          throws com.ibm.commerce.key.CreateKeyException,
                                                 javax.naming.NamingException,
                                                 ECSystemException,
                                                 java.sql.SQLException
        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.
        Throws:
        javax.naming.NamingException
        ECSystemException
        java.sql.SQLException
        com.ibm.commerce.key.CreateKeyException