com.ibm.commerce.edp.commands

Class AEDPCtrlCmdImpl

    • Constructor Detail

      • AEDPCtrlCmdImpl

        public AEDPCtrlCmdImpl()
    • Method Detail

      • getLocale

        public java.util.Locale getLocale()
        This method returns the locale from the globalization context.
        Specified by:
        getLocale in interface AEDPCtrlCmd
        Returns:
        the locale from the globalization context.
      • setOrderId

        public void setOrderId(java.lang.Long pOrderId)
        This method sets the identifier of current order.
        Specified by:
        setOrderId in interface AEDPCtrlCmd
        Parameters:
        pOrderId - the identifier of current order
      • getOrderId

        public java.lang.Long getOrderId()
        This method returns the identifier of current order.
        Specified by:
        getOrderId in interface AEDPCtrlCmd
        Returns:
        the identifier of current order
      • getStoreId

        public java.lang.Integer getStoreId()

        This method returns the store identifier of current order.

        This method returns the store identifier of current order if the order exists. If the order does not exist, this method will return null.

        Specified by:
        getStoreId in interface ECCommand
        Overrides:
        getStoreId in class AbstractECTargetableCommand
        Returns:
        the store identifier of current order
      • reset

        public void reset()

        This method resets the command fields.

        After this method is invoked, and proper attributes are set, the command can be executed again.

        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand