Class AdvancedOrderEditEndCmdImpl

  • All Implemented Interfaces:
    AccCommand, ControllerCommand, ECCommand, ECTargetableCommand, AdvancedOrderEditEndCmd, Protectable,,,,,,

    public class AdvancedOrderEditEndCmdImpl
    implements AdvancedOrderEditEndCmd
    This is the default implementation of the AdvancedOrderEditEndCmd controller command.

    Input parameters:

    Name Description
    orderId (Required) The identifier of the order undergoing the edit or change.


    This AdvancedOrderEditEndCmd implementation class and AdvancedOrderEditBeginCmd stage an order for editing. Between the execution of AdvancedOrderEditBeginCmd and AdvancedOrderEditEndCmd, many types of order editing actions can occur (for example, OrderItemUpdateCmd, PIEdit, OrderCopy, and so forth).

    To invoke this command, a valid order ID has to be passed in from the command context. The order shall be in an editable state. Orders that are in cancel (X) or close (D) state cannot be edited. An exception is thrown if an invalid order ID is passed.

    If the command is successful, the editorId of the order will be NULL. And the order will not be processed by the system until the order gets submitted again.

    If unsuccessful, the command throws the ECException.

    Task commands called:

    See Also:
    Serialized Form
    • Field Detail


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

      • AdvancedOrderEditEndCmdImpl

        public AdvancedOrderEditEndCmdImpl()
    • Method Detail

      • performExecute

        public void performExecute()
                            throws ECException
        Executes the business logic of this command implementation.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface
        Specified by:
        performExecute in class
      • setRequestProperties

        public void setRequestProperties(TypedProperty reqProperties)
                                  throws ECException
        This method sets the request properties of this command implementation.
        Specified by:
        setRequestProperties in interface ControllerCommand
        setRequestProperties in class
        reqProperties - the request properties
      • getPoNumber

        public java.lang.String getPoNumber()
        Gets the PO number
        PO number
      • setPoNumber

        public void setPoNumber(java.lang.String string)
        This method sets the PO number.
        string - PO number
      • reset

        public void reset()
        This method resets its states variables.
        Specified by:
        reset in interface
        reset in class