Class QuoteCopyCmdImpl

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

    public class QuoteCopyCmdImpl
    implements QuoteCopyCmd
    This is the default implementation of the QuoteCopyCmd Command.


    1. Creates a new quote container using the CreateQuoteCmd.
    2. Calls the CopyQuoteCmd to perform the actual copy from the specified quote into the new quote.
      See Also:
      Serialized Form
      • Field Detail

        • COPYRIGHT

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

        • QuoteCopyCmdImpl

          public QuoteCopyCmdImpl()
      • Method Detail

        • setQuote

          public void setQuote(OrderAccessBean abQuote)
          Sets the quote to be copied and adds it to the list of quotes to be processed.
          Specified by:
          setQuote in interface QuoteCopyCmd
          abQuote - Quote access bean.
        • getSensitiveInfoCopyFlag

          public java.lang.String getSensitiveInfoCopyFlag()
          Gets the sensitive info copy flag.
          sensitive info copy flag
        • setSensitiveInfoCopyFlag

          public void setSensitiveInfoCopyFlag(java.lang.String senInfoCopyFlag)
          Sets the sensitive info copy flag.
          Specified by:
          setSensitiveInfoCopyFlag in interface QuoteCopyCmd
          senInfoCopyFlag - sensitive info copy flag
        • getBlockInfoCopyFlag

          public java.lang.String getBlockInfoCopyFlag()
          Gets the block info copy flag.
          block info copy flag
        • setBlockInfoCopyFlag

          public void setBlockInfoCopyFlag(java.lang.String blInfoCopyFlag)
          Sets the block info copy flag.
          Specified by:
          setBlockInfoCopyFlag in interface QuoteCopyCmd
          blInfoCopyFlag - block info copy flag
        • getDescription

          public java.lang.String getDescription()
          Gets the description of the quote that results from QuoteCopy.
          description of Order
        • setDescription

          public void setDescription(java.lang.String desc)
          Sets the description of the quote that results from QuoteCopy.
          Specified by:
          setDescription in interface QuoteCopyCmd
          desc - description of Order
        • getToQuote

          public OrderAccessBean getToQuote()
          Gets the quote access bean that has been copied.
          Specified by:
          getToQuote in interface QuoteCopyCmd
          toQuoteAB Quote access bean that has been copied to
        • performExecute

          public void performExecute()
                              throws ECException
          Performs the main business logic.
          Specified by:
          performExecute in interface ECCommand
          Specified by:
          performExecute in interface
          Specified by:
          performExecute in class
        • reset

          public void reset()
          Resets the command.
          Specified by:
          reset in interface
          reset in class