com.ibm.commerce.rfq.commands

Class RFQPattributeAttachmentAddCmdImpl

    • Field Detail

      • COPYRIGHT

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

      • RFQPattributeAttachmentAddCmdImpl

        public RFQPattributeAttachmentAddCmdImpl()
    • 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 the specification to an item in an RFQ.

        Behaviour

        • Checks if the RFQ is in the draft state.
        • Calls CreateOrderItemPAttributeTCCmd to add the specification.
          Specified by:
          performExecute in interface ECCommand
          Specified by:
          performExecute in interface com.ibm.websphere.command.TargetableCommand
          Overrides:
          performExecute in class AttachmentUploadCmdImpl
          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 containing errorcodes.
        • getErrorContent

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

          public java.lang.Integer getChangeable()
          Gets the changeable
          Returns:
          Returns an Integer
        • setChangeable

          public void setChangeable(java.lang.Integer changeable)
          Sets the changeable
          Parameters:
          changeable - The changeable to set
        • getMandatory

          public java.lang.Integer getMandatory()
          Gets the mandatory
          Returns:
          Returns an Integer
        • setMandatory

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

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

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

          public java.lang.Integer getOperator()
          Gets the operator
          Returns:
          Returns an Integer
        • setOperator

          public void setOperator(java.lang.Integer operator)
          Sets the operator
          Parameters:
          operator - The operator to set
        • getPattribute_id

          public java.lang.Long getPattribute_id()
          Gets the pattribute_id
          Returns:
          Returns a Long
        • setPattribute_id

          public void setPattribute_id(java.lang.Long pattribute_id)
          Sets the pattribute_id
          Parameters:
          pattribute_id - The pattribute_id to set
        • getUnit

          public java.lang.String getUnit()
          Gets the unit
          Returns:
          Returns a String
        • setUnit

          public void setUnit(java.lang.String unit)
          Sets the unit
          Parameters:
          unit - The unit to set
        • getUserdefined

          public java.lang.Integer getUserdefined()
          Gets the userdefined
          Returns:
          Returns an Integer
        • setUserdefined

          public void setUserdefined(java.lang.Integer userdefined)
          Sets the userdefined
          Parameters:
          userdefined - The userdefined to set
        • getValuedelim

          public java.lang.String getValuedelim()
          Gets the valuedelim
          Returns:
          Returns a String
        • setValuedelim

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

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

          public void setValue(java.lang.String value)
          Sets the value
          Parameters:
          value - The value 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