com.ibm.commerce.edp.commands

Class CheckOrderEditableVoidTaskCmdImpl

  • 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 CheckOrderEditableVoidTaskCmdImpl
    extends AEDPPaymentTaskCmdImpl
    implements CheckOrderEditableTaskCmd

    This class is the void implementation class for the command CheckOrderEditableTaskCmd that checks if order is editable from payment view.

    When CSR wants to begin an edit session for an order, order component will check if the order is editable. The order component logic can determine 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.

    It actually does nothing since it is as the void implementation.

    The void implementation of commands is used when anyone is intended to disable the command while keeping the single code base. Note that please use the void implementation of all commands once you decide to disable the command implementation.

    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

      • CheckOrderEditableVoidTaskCmdImpl

        public CheckOrderEditableVoidTaskCmdImpl()
    • Method Detail

      • isOrderEditable

        public boolean isOrderEditable()
        This method returns if the order is editable.
        Specified by:
        isOrderEditable in interface CheckOrderEditableTaskCmd
        Returns:
        A boolean represents 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