com.ibm.commerce.utf.commands

Class RFQCopyCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • RFQCopyCmdImpl

        public RFQCopyCmdImpl()
    • Method Detail

      • reset

        public void reset()
        Reset the command.
        Specified by:
        reset in interface com.ibm.websphere.command.Command
        Overrides:
        reset in class AbstractECTargetableCommand
      • validateParameters

        public void validateParameters()
                                throws ECException
        Checks if the parameter XML exists. The parameter value is an XML document like the following example:
         <EC_XMLObject>
                        <XML>
                                <rfqId>10014</rfqId>
                                <name>New RFQ Copy</name>
                        </XML>
         </EC_XMLObject>
         
        where the rfqId is the source RFQ identifier to copy from and the name is the unique name for the new RFQ. If an RFQ already exists with the same name an exception is thrown and the user is notified to change the name of the new RFQ.
        Specified by:
        validateParameters in interface ECCommand
        Overrides:
        validateParameters in class AbstractECTargetableCommand
        Throws:
        ECException
        See Also:
        ECCommand#validateParameters()