com.ibm.commerce.rfq.commands

Class RFQItemCommentAddCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • RFQItemCommentAddCmdImpl

        public RFQItemCommentAddCmdImpl()
    • 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
        Add an item comment to an item in an RFQ

        Behaviour

        • Checks if the RFQ is in the draft state.
        • Call CreateOrderItemPAttributeTC to add the comment to the item.
          Specified by:
          performExecute in interface ECCommand
          Specified by:
          performExecute in interface com.ibm.websphere.command.TargetableCommand
          Overrides:
          performExecute in class AbstractECTargetableCommand
          Throws:
          ECException.
          ECException
          See Also:
          ECCommand#performExecute()
        • setErrorContent

          public void setErrorContent(java.util.Hashtable newErrorContent)
          Copies the incoming hashtable into a member variable.
          Parameters:
          newErrorContent - The incoming hashtable contains error codes.
        • getErrorContent

          public java.util.Hashtable getErrorContent()
          Gets the errorContent
          Returns:
          Returns a java.util.Hashtable
        • getIsChangeable

          public java.lang.Integer getIsChangeable()
          Gets the isChangeable
          Returns:
          Returns a java.lang.Integer
        • setIsChangeable

          public void setIsChangeable(java.lang.Integer isChangeable)
          Sets the isChangeable
          Parameters:
          isChangeable - The isChangeable to set
        • getIsRequired

          public java.lang.Integer getIsRequired()
          Gets the isRequired
          Returns:
          Returns a java.lang.Integer
        • setIsRequired

          public void setIsRequired(java.lang.Integer isRequired)
          Sets the isRequired
          Parameters:
          isRequired - The isRequired to set
        • getName

          public java.lang.String getName()
          Gets the name
          Returns:
          Returns a java.lang.String
        • setName

          public void setName(java.lang.String name)
          Sets the name
          Parameters:
          name - The name to set
        • getValue

          public java.lang.String getValue()
          Gets the value
          Returns:
          Returns a java.lang.String
        • setValue

          public void setValue(java.lang.String value)
          Sets the value
          Parameters:
          value - The value to set
        • getAttr_id

          public java.lang.Integer getAttr_id()
          Gets the attr_id
          Returns:
          Returns a java.lang.Integer
        • setAttr_id

          public void setAttr_id(java.lang.Integer attr_id)
          Sets the attr_id
          Parameters:
          attr_id - The attr_id to set
        • getRFQProductId

          public java.lang.Long getRFQProductId()
          Gets the rFQProductId
          Returns:
          Returns a Long
        • setRFQProductId

          public void setRFQProductId(java.lang.Long rFQProductId)
          Sets the rFQProductId
          Parameters:
          rFQProductId - The rFQProductId to set