public class ModifyOrderItemPAttributeTCCmdImpl extends TaskCommandImpl implements ModifyOrderItemPAttributeTCCmd
RFQProductAttributes
PAttrProdAccessBean
OperatorAccessBean
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
java.lang.Integer |
languageId
Language Id.
|
java.util.Vector |
pAttributeVector
Pattribute Vector.
|
java.lang.Long |
tradingId
Trading Id.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ModifyOrderItemPAttributeTCCmdImpl()
ModifyOrderCommentsTCCmdImpl constructor comment.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Integer |
getLanguageId()
Retrieves the language identifier.
|
java.util.Vector |
getPAttributeVector()
Retrieves the list of personalized attributes.
|
java.lang.Long |
getTradingId()
Retrieves the trading agreement ID.
|
void |
performExecute()
Updates the associated term and condition for each personalization attribute.
This method does the following for every personalization attribute: Determines if a value has been provided. Determines if the associated tc ID has been provided. Composes an XML element for the OrderItempAttribute TC that conforms to the Trading DTD. Updates the OrderItemPAttribute TC. |
void |
reset()
Reset the command.
|
void |
setLanguageId(java.lang.Integer newLanguageId)
Stores the language ID.
|
void |
setPAttributeVector(java.util.Vector newPAttributeVector)
Save the incoming vector of personalization attributes.
|
void |
setTradingId(java.lang.Long newTradingId)
Save the incoming trading agreement identifier.
|
void |
validateParameters()
This method does the following:
Verifies that a trading agreement ID has been provided and exists. Verifies that a vector of personalized attributes has been provided. |
accessControlCheck, checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getObjectSize, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, setObjectSize, unionDependencies, updateCache
getCommandTarget, getCommandTargetName, getTargetPolicy, hasOutputProperties, setCommandTarget, setCommandTargetName, setHasOutputProperties, setOutputProperties, setTargetPolicy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeFromCache, getCaller, getEntryInfo, getId, getSharingPolicy, postExecute, preExecute, setCaller, updateCache
getCommandTarget, getCommandTargetName, hasOutputProperties, setCommandTarget, setCommandTargetName, setOutputProperties
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties
public static final java.lang.String COPYRIGHT
public java.lang.Long tradingId
public java.lang.Integer languageId
public java.util.Vector pAttributeVector
public ModifyOrderItemPAttributeTCCmdImpl()
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public java.lang.Integer getLanguageId()
public java.util.Vector getPAttributeVector()
public java.lang.Long getTradingId()
public void performExecute() throws ECException
performExecute
in interface ECCommand
performExecute
in interface com.ibm.websphere.command.TargetableCommand
performExecute
in class AbstractECTargetableCommand
ECApplicationException
- If no value was provided for a personalization attribute.ECSystemException
- If a system error occurs while updating the TCECException
ECCommand#performExecute()
public void setLanguageId(java.lang.Integer newLanguageId)
setLanguageId
in interface ModifyOrderItemPAttributeTCCmd
newLanguageId
- The language ID.public void setPAttributeVector(java.util.Vector newPAttributeVector)
setPAttributeVector
in interface ModifyOrderItemPAttributeTCCmd
newPAttributeVector
- java.util.Vectorpublic void setTradingId(java.lang.Long newTradingId)
setTradingId
in interface ModifyOrderItemPAttributeTCCmd
newTradingId
- The trading agreement ID.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECApplicationException
- ECException
ECCommand#validateParameters()