public class ModifyOrderCommentsTCCmdImpl extends TaskCommandImpl implements ModifyOrderCommentsTCCmd
This is the default implementation of the ModifyOrderCommentsTCCmd. This command uses the following Helper Class:
RFQComments
UTFCmdUtil
Modifier and Type | Field and Description |
---|---|
java.util.Vector |
commentsVector
Comment Vector.
|
static java.lang.String |
COPYRIGHT
IBM copyright notice field.
|
java.lang.Long |
tradingId
Trading Id.
|
defaultCommandClassName, NAME
Constructor and Description |
---|
ModifyOrderCommentsTCCmdImpl()
ModifyOrderCommentsTCCmdImpl constructor.
|
Modifier and Type | Method and Description |
---|---|
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. |
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.util.Vector commentsVector
public ModifyOrderCommentsTCCmdImpl()
public void reset()
reset
in interface com.ibm.websphere.command.Command
reset
in class AbstractECTargetableCommand
public java.util.Vector getCommentsVector()
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 an application error occurs while updating the TC.ECSystemException
- If a system error occurs while updating the TCECException
ECCommand#performExecute()
public void setCommentsVector(java.util.Vector newCommentsVector)
setCommentsVector
in interface ModifyOrderCommentsTCCmd
newCommentsVector
- The list of freeform comments.public void setTradingId(java.lang.Long newTradingId)
setTradingId
in interface ModifyOrderCommentsTCCmd
newTradingId
- The ID of the trading agreement.public void validateParameters() throws ECException
validateParameters
in interface ECCommand
validateParameters
in class AbstractECTargetableCommand
ECApplicationException
- ECException
ECCommand#validateParameters()