Class CreatePAttributeValueCmdImpl

    • Field Detail


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

      • CreatePAttributeValueCmdImpl

        public CreatePAttributeValueCmdImpl()
        Constructor for CreatePAttributeValueCmdImpl
    • Method Detail

      • reset

        public void reset()
        Resets the command.
        Specified by:
        reset in interface
        reset in class AbstractECTargetableCommand
      • setAttrName

        public void setAttrName(java.lang.String attrName)
        Sets the personalization attribute name.
        Specified by:
        setAttrName in interface CreatePAttributeValueCmd
        attrName - The personalization attribute name.
      • setAttrValue

        public void setAttrValue(java.lang.String attrValue)
        Sets the personalization attribute value.
        Specified by:
        setAttrValue in interface CreatePAttributeValueCmd
        attrValue - The personalization attribute value.
      • setQuantityUnit

        public void setQuantityUnit(java.lang.String quantityUnit)
        Sets the quantity unit.
        Specified by:
        setQuantityUnit in interface CreatePAttributeValueCmd
        quantityUnit - The quantity unit.
      • setOperatorId

        public void setOperatorId(java.lang.Integer operatorId)
        (Optional) Sets the operator ID. If it is not specified, the operator ID for the "=" operator is used.
        Specified by:
        setOperatorId in interface CreatePAttributeValueCmd
        operator - The operator ID.
      • setRFQProductId

        public void setRFQProductId(java.lang.Long rFQProductId)
        (Optional) Sets the RFQ product ID. If this is not specified then the RFQ response product ID will be checked.
        Specified by:
        setRFQProductId in interface CreatePAttributeValueCmd
        rFQProductId - The RFQ product ID.
      • setMandatory

        public void setMandatory(java.lang.Integer mandatory)
        Sets the mandatory flag.
        Specified by:
        setMandatory in interface CreatePAttributeValueCmd
        mandatory - The mandatory flag.
      • setChangeable

        public void setChangeable(java.lang.Integer changeable)
        Sets the changeable flag.
        Specified by:
        setChangeable in interface CreatePAttributeValueCmd
        changeable - The changeable flag.
      • setPAttributeId

        public void setPAttributeId(java.lang.Long pAttributeId)
        Sets the personalization attribute ID. If this is specified it takes precedence over the personalization attribute name.
        Specified by:
        setPAttributeId in interface CreatePAttributeValueCmd
        pAttributeId - The personalization attribute ID.
      • getPAttributeValueIds

        public java.lang.Long[] getPAttributeValueIds()
        Gets the new personalization attribute value IDs.
        Specified by:
        getPAttributeValueIds in interface CreatePAttributeValueCmd
        The array of new personalization attribute value IDs.
      • setRFQResponseProductId

        public void setRFQResponseProductId(java.lang.Long rfqResponseProductId)
        (Optional) Sets the RFQ response product ID. If this is not specified and the RFQ product is not specified then the order item ID will be checked.
        Specified by:
        setRFQResponseProductId in interface CreatePAttributeValueCmd
        rFQResponseProductId - The RFQ response product ID.
      • setAllowMultipleValues

        public void setAllowMultipleValues(boolean allowMultipleValues)
        (Optional) Sets the allow multiple values flag. If not specified, the default value is true.
        Specified by:
        setAllowMultipleValues in interface CreatePAttributeValueCmd
        allowMultipleValues - The allow multiple values flag.
      • setValueDelimiter

        public void setValueDelimiter(java.lang.String valueDelimiter)
        (Optional) Sets the value delimiter. If not specified, the default value is ";".
        Specified by:
        setValueDelimiter in interface CreatePAttributeValueCmd
        valueDelimiter - The value delimiter.
      • setCorrelationGroup

        public void setCorrelationGroup(java.lang.Long correlationGroup)
        (Optional) Sets the correlation groups. If this is set, it is used as the correlation group value for the new personalization attribute value. Otherwise the personalization attribute value ID will be used.
        Specified by:
        setCorrelationGroup in interface CreatePAttributeValueCmd
        correlationGroup - The correlation group.
      • setOrderItemId

        public void setOrderItemId(java.lang.Long orderItemId)
        (Optional) Sets the order item ID. The RFQ product ID and RFQ response product ID are checked before the order item ID is checked.
        Specified by:
        setOrderItemId in interface CreatePAttributeValueCmd
        orderItemId - The order item ID.