com.ibm.commerce.rfq.commands
Interface CreatePAttributeValueCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
CreatePAttributeValueCmdImpl

public interface CreatePAttributeValueCmd
extends TaskCommand

Creates a personalization attribute value.


Field Summary
static java.lang.String COPYRIGHT
          Copyright statement.
static java.lang.String defaultCommandClassName
          The default implementation class name.
static java.lang.String NAME
          The full class name for this interface file.
 
Method Summary
 java.lang.Long[] getPAttributeValueIds()
          Gets the new personalization attribute value IDs.
 void setAllowMultipleValues(boolean allowMultipleValues)
          (Optional) Sets the allow multiple values flag.
 void setAttrName(java.lang.String attrName)
          Sets the personalization attribute name.
 void setAttrValue(java.lang.String attrValue)
          Sets the personalization attribute value.
 void setChangeable(java.lang.Integer changeable)
          Sets the changeable flag.
 void setCorrelationGroup(java.lang.Long correlationGroup)
          (Optional) Sets the correlation group.
 void setMandatory(java.lang.Integer mandatory)
          Sets the mandatory flag.
 void setOperatorId(java.lang.Integer operatorId)
          (Optional) Sets the operator ID.
 void setOrderItemId(java.lang.Long orderItemId)
          (Optional) Sets the order item ID.
 void setPAttributeId(java.lang.Long pAttributeId)
          Sets the personalization attribute ID.
 void setQuantityUnit(java.lang.String quantityUnit)
          Sets the quantity unit.
 void setRFQProductId(java.lang.Long rFQProductId)
          (Optional) Sets the RFQ product ID.
 void setRFQResponseProductId(java.lang.Long rfqResponseProductId)
          (Optional) Sets the RFQ response product ID.
 void setValueDelimiter(java.lang.String valueDelimiter)           (Optional) Sets the value delimiter.
 

Field Detail
public static final java.lang.String COPYRIGHT
Copyright statement.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The full class name for this interface file.

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class name. This is used if there is no record found in the CMDREG table.
Method Detail

setAttrName

public void setAttrName(java.lang.String attrName)
Sets the personalization attribute name.
Parameters:
attrName - The personalization attribute name.

setAttrValue

public void setAttrValue(java.lang.String attrValue)
Sets the personalization attribute value.
Parameters:
attrValue - The personalization attribute value.

setQuantityUnit

public void setQuantityUnit(java.lang.String quantityUnit)
Sets the quantity unit.
Parameters:
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.

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.
Parameters:
rFQProductId - The RFQ product ID.

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.

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.
Parameters:
orderItemId - The order item ID.

setMandatory

public void setMandatory(java.lang.Integer mandatory)
Sets the mandatory flag.
Parameters:
mandatory - The mandatory flag.

setChangeable

public void setChangeable(java.lang.Integer changeable)
Sets the changeable flag.
Parameters:
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.
Parameters:
pAttributeId - The personalization attribute ID.

setAllowMultipleValues

public void setAllowMultipleValues(boolean allowMultipleValues)
(Optional) Sets the allow multiple values flag. If not specified, the default value is true.
Parameters:
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 ";".
Parameters:
valueDelimiter - The value delimiter.

getPAttributeValueIds

public java.lang.Long[] getPAttributeValueIds()
Gets the new personalization attribute value IDs.
Returns:
The array of new personalization attribute value IDs.

setCorrelationGroup

public void setCorrelationGroup(java.lang.Long correlationGroup)
(Optional) Sets the correlation group. 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.
Parameters:
correlationGroup - The correlation group.