java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.TaskCommandImpl
com.ibm.commerce.utf.commands.ModifyOrderCommentsTCCmdImpl
Implementation to modify terms and conditions of type "OrderComments".
This is the default implementation of the ModifyOrderCommentsTCCmd. This command uses the following Helper Class:
Field Summary | |
java.util.Vector | commentsVector Comment 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.ModifyOrderCommentsTCCmd |
COPYRIGHT, defaultCommandClassName, NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
ModifyOrderCommentsTCCmdImpl() ModifyOrderCommentsTCCmdImpl constructor. |
Method Summary | |
java.util.Vector | getCommentsVector() Retrieves a vector of freeform comments. |
java.lang.Long | getTradingId() Retrieves the trading agreement ID. |
void | performExecute() Updates the term condition associated with each incoming freeform comment. |
void | reset() Reset the command. |
void | setCommentsVector(java.util.Vector newCommentsVector) Stores the list of freeform comments that need to be converted into TCs. |
void | setTradingId(java.lang.Long newTradingId) Stores the incoming trading agreement ID. |
void | validateParameters() This method does the following: Verifies that a comment list has been provided. Verifies that a trading agreement ID 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.util.Vector commentsVector
Constructor Detail |
public ModifyOrderCommentsTCCmdImpl()
Method Detail |
public void reset()
public java.util.Vector getCommentsVector()
public java.lang.Long getTradingId()
public void performExecute() throws ECException
public void setCommentsVector(java.util.Vector newCommentsVector)
public void setTradingId(java.lang.Long newTradingId)
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.