java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.utf.commands.ModifyOrderItemPAttributeTCCmdImpl
This is the default implementation of the ModifyOrderItemPAttributeTCCmd. This command uses the following AccessBeans:
Field Summary | |
java.lang.Integer | languageId Language Id. |
java.util.Vector | pAttributeVector Pattribute Vector. |
java.lang.Long | tradingId Trading Id. |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.utf.commands.ModifyOrderItemPAttributeTCCmd |
COPYRIGHT, defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
ModifyOrderItemPAttributeTCCmdImpl() ModifyOrderCommentsTCCmdImpl constructor comment. |
Method Summary | |
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. |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public java.lang.Long tradingId
public java.lang.Integer languageId
public java.util.Vector pAttributeVector
Constructor Detail |
public ModifyOrderItemPAttributeTCCmdImpl()
Method Detail |
public void reset()
public java.lang.Integer getLanguageId()
public java.util.Vector getPAttributeVector()
public java.lang.Long getTradingId()
public void performExecute() throws ECException
public void setLanguageId(java.lang.Integer newLanguageId)
public void setPAttributeVector(java.util.Vector newPAttributeVector)
public void setTradingId(java.lang.Long newTradingId)
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.