com.ibm.commerce.rfq.commands

Class RFQAttachmentViewCmdImpl

    • Constructor Detail

      • RFQAttachmentViewCmdImpl

        public RFQAttachmentViewCmdImpl()
    • Method Detail

      • reset

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

        public java.lang.Long getPAttrValueId()
        Gets the PAttribute Value Id
        Returns:
        Returns a Long
      • getResponseId

        public java.lang.Long getResponseId()
        Gets the response Id
        Returns:
        Returns a Long
      • getRfqId

        public java.lang.Long getRfqId()
        Gets the rfq Id
        Returns:
        Returns a Long
      • isTradingAttachmentRelationFound

        public boolean isTradingAttachmentRelationFound(java.lang.Long tradingId,
                                                        java.lang.Long attachmentId)
        Check if the trading attachment relationship is found.
        Parameters:
        tradingId - java.lang.Long
        attachmentId - java.lang.Long
        Returns:
        boolean
      • performExecute

        public void performExecute()
                            throws ECException
        This method will call super.performExecute to perform the job and uploaded the file.
        Specified by:
        performExecute in interface ECCommand
        Specified by:
        performExecute in interface com.ibm.websphere.command.TargetableCommand
        Overrides:
        performExecute in class AttachmentViewCmdImpl
        Throws:
        ECException
        See Also:
        ECCommand#performExecute()
      • setPAttrValueId

        public void setPAttrValueId(java.lang.Long newPAttrValueId)
        Sets the PAttribute Value Id
        Parameters:
        newPAttrValueId - The PAttribute Value Id to set.
      • setResponseId

        public void setResponseId(java.lang.Long newResponseId)
        Sets the response Id
        Parameters:
        newResponseId - The response Id to set
      • setRfqId

        public void setRfqId(java.lang.Long newRfqId)
        Sets the rfq Id
        Parameters:
        newRfqId - The rfqId to set