Class PrepareShipInfoCmdImpl

  • All Implemented Interfaces:, ECCommand, ECTargetableCommand, TaskCommand, PrepareShipInfoCmd,,,,,,

    public class PrepareShipInfoCmdImpl
    extends TaskCommandImpl
    implements PrepareShipInfoCmd
    This is the default implementation of PrepareShipInfoCmd task command.


    Performs a verification between the SHIPINFO table and the ORDERITEMS table and checks for orphaned SHIPINFO records. Such records will be removed. An orphaned record is a SHIPINFO record which does not have a matching ORDERITEMS record. Such a circumstance can occur for example when users delete a shipping addresses for which they have already created SHIPINFO data.

    See Also:
    Serialized Form
    • Field Detail


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

      • PrepareShipInfoCmdImpl

        public PrepareShipInfoCmdImpl()
        Default constructor
    • Method Detail

      • setOrderId

        public void setOrderId(java.lang.String anOrderId)
        The order ID we are performing the verification check for
        Specified by:
        setOrderId in interface PrepareShipInfoCmd
        anOrderId - The order ID of the SHIPINFO info record to verify.
      • setVerificationRequired

        public void setVerificationRequired(java.lang.String aVerificationRequired)
        The type of verification required on the SHIPINFO table. Either the shipping instructions can be verified or the shipping charge data (charge type and account number) depending on the parameter.
        Specified by:
        setVerificationRequired in interface PrepareShipInfoCmd
        aVerificationRequired - Type of verification required on the SHIPINFO table. ECConstants.EC_SHIPINFO_INSTRUCTS to verify instructions. ECConstants.EC_SHIPINFO_CARRACCNTS to verify account data.