public class CreatePAttributeValueCmdImpl extends TaskCommandImpl implements CreatePAttributeValueCmd
This is the default implementation of the CreatePAttributeValueCmd. This command uses the following AccessBeans:
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
defaultCommandClassName, NAME| Constructor and Description |
|---|
CreatePAttributeValueCmdImpl()
Constructor for CreatePAttributeValueCmdImpl
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Long[] |
getPAttributeValueIds()
Gets the new personalization attribute value IDs.
|
void |
performExecute()
Execute the command.
|
void |
reset()
Resets the command.
|
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 groups.
|
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.
|
void |
validateParameters()
Check mandatory parameters.
|
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiesexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCachegetCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicyequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCachegetCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputPropertiescheckIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultPropertiespublic static final java.lang.String COPYRIGHT
public CreatePAttributeValueCmdImpl()
public void performExecute()
throws ECException
performExecute in interface ECCommandperformExecute in interface com.ibm.websphere.command.TargetableCommandperformExecute in class AbstractECTargetableCommandECException - These exceptions are allowed to percolate.ECCommand#performExecute()public void reset()
reset in interface com.ibm.websphere.command.Commandreset in class AbstractECTargetableCommandpublic void validateParameters()
throws ECException
validateParameters in interface ECCommandvalidateParameters in class AbstractECTargetableCommandECApplicationException - Raised with message _ERR_BAD_MISSING_CMD_PARAMETER if quotationRequests
is not specified.ECExceptionECCommand#validateParameters()public void setAttrName(java.lang.String attrName)
setAttrName in interface CreatePAttributeValueCmdattrName - The personalization attribute name.public void setAttrValue(java.lang.String attrValue)
setAttrValue in interface CreatePAttributeValueCmdattrValue - The personalization attribute value.public void setQuantityUnit(java.lang.String quantityUnit)
setQuantityUnit in interface CreatePAttributeValueCmdquantityUnit - The quantity unit.public void setOperatorId(java.lang.Integer operatorId)
setOperatorId in interface CreatePAttributeValueCmdoperator - The operator ID.public void setRFQProductId(java.lang.Long rFQProductId)
setRFQProductId in interface CreatePAttributeValueCmdrFQProductId - The RFQ product ID.public void setMandatory(java.lang.Integer mandatory)
setMandatory in interface CreatePAttributeValueCmdmandatory - The mandatory flag.public void setChangeable(java.lang.Integer changeable)
setChangeable in interface CreatePAttributeValueCmdchangeable - The changeable flag.public void setPAttributeId(java.lang.Long pAttributeId)
setPAttributeId in interface CreatePAttributeValueCmdpAttributeId - The personalization attribute ID.public java.lang.Long[] getPAttributeValueIds()
getPAttributeValueIds in interface CreatePAttributeValueCmdpublic void setRFQResponseProductId(java.lang.Long rfqResponseProductId)
setRFQResponseProductId in interface CreatePAttributeValueCmdrFQResponseProductId - The RFQ response product ID.public void setAllowMultipleValues(boolean allowMultipleValues)
setAllowMultipleValues in interface CreatePAttributeValueCmdallowMultipleValues - The allow multiple values flag.public void setValueDelimiter(java.lang.String valueDelimiter)
setValueDelimiter in interface CreatePAttributeValueCmdvalueDelimiter - The value delimiter.public void setCorrelationGroup(java.lang.Long correlationGroup)
setCorrelationGroup in interface CreatePAttributeValueCmdcorrelationGroup - The correlation group.public void setOrderItemId(java.lang.Long orderItemId)
setOrderItemId in interface CreatePAttributeValueCmdorderItemId - The order item ID.