com.ibm.commerce.rfq.commands

Class RFQCreateForNextRoundCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • RFQCreateForNextRoundCmdImpl

        public RFQCreateForNextRoundCmdImpl()
    • Method Detail

      • reset

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

        public void performExecute()
                            throws ECException
        Move the RFQ from close state to next round state. Calls the CopyRFQCmd task command to create the next round RFQ Set the new RFQ state to draft If copyAttachment is true Calls the CopyRFQAttachmentCmd to copy all attachments. For all the responses, Move all winning response to WON-NextRound state Move all losing response to LOST-NextRound
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AbstractECTargetableCommand
        Throws:
        ECException
        See Also:
        ECCommand#performExecute()
      • getCopyAttachment

        public boolean getCopyAttachment()
        Gets the copyAttachment
        Returns:
        Returns a boolean
      • setCopyAttachment

        public void setCopyAttachment(boolean newCopyAttachment)
        Sets the copyAttachment
        Parameters:
        newCopyAttachment - The copyAttachment to set
      • getNewRfqId

        public java.lang.Long getNewRfqId()
        Gets the newRfqId
        Returns:
        Returns a java.lang.Long
      • setNewRfqId

        public void setNewRfqId(java.lang.Long newNewRfqId)
        Sets the newRfqId
        Parameters:
        newNewRfqId - The newRfqId to set
      • getNewRfqName

        public java.lang.String getNewRfqName()
        Gets the newRfqName
        Returns:
        Returns a java.lang.String
      • setNewRfqName

        public void setNewRfqName(java.lang.String newNewRfqName)
        Sets the newRfqName
        Parameters:
        newNewRfqName - The newRfqName to set
      • getSourceRfqId

        public java.lang.Long getSourceRfqId()
        Gets the sourceRfqId
        Returns:
        Returns a java.lang.Long
      • setSourceRfqId

        public void setSourceRfqId(java.lang.Long newSourceRfqId)
        Sets the sourceRfqId
        Parameters:
        newSourceRfqId - The sourceRfqId to set