com.ibm.commerce.edp.commands

Class CheckOrderEditableTaskCmdImpl

  • All Implemented Interfaces:
    com.ibm.commerce.command.CacheableECCommand, ECCommand, ECTargetableCommand, TaskCommand, AEDPPaymentTaskCmd, AEDPTaskCmd, CheckOrderEditableTaskCmd, com.ibm.websphere.cache.Sizeable, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, com.ibm.websphere.command.TargetableCommand, java.io.Serializable


    public class CheckOrderEditableTaskCmdImpl
    extends AEDPPaymentTaskCmdImpl
    implements CheckOrderEditableTaskCmd
    This is the default implementation of the CheckOrderEditableTaskCmd task command.

    Behaviour:

    • When CSR wants to begin an edit session for an order. Order component will check if the order is editable. The order component logic determines if it is editable. Payment component can also have the ability to tell the order system if this order is editable from the payment view.

    Input parameters:

    commandContext The command context.
    orderId A Long that specifies the current order id.

    Output parameters:

    None.

    Task commands called:

    See Also:
    Serialized Form
    • Field Detail

      • COPYRIGHT

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

      • CheckOrderEditableTaskCmdImpl

        public CheckOrderEditableTaskCmdImpl()
    • Method Detail

      • isOrderEditable

        public boolean isOrderEditable()
        This method returns if the order is editable.
        Specified by:
        isOrderEditable in interface CheckOrderEditableTaskCmd
        Returns:
        A boolean that represents if the order is editable.
      • setOrderEditable

        public void setOrderEditable(boolean b)
        This method sets if the order is editable.
        Parameters:
        b - A boolean specifies if the order is editable.
      • 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 AEDPPaymentTaskCmdImpl