com.ibm.commerce.utf.commands
Interface CreateOrderCommentsTCCmd

All Superinterfaces:
ECCommand, TaskCommand
All Known Implementing Classes:
CreateOrderCommentsTCCmdImpl

public interface CreateOrderCommentsTCCmd
extends TaskCommand

Creates Terms and Conditions of type "OrderComments". This command can be used to convert freeform terms and conditions input during the course of a negotiation into Terms and Conditions associated with a trading agreement. When an order results from a trading agreement, the OrderComment TCs will appear as customer comments in the prepared order.


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String defaultCommandClassName
           
static java.lang.String NAME
           
 
Method Summary
 void setCommentsVector(java.util.Vector newComments)
          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.
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

defaultCommandClassName

public static final java.lang.String defaultCommandClassName

NAME

public static final java.lang.String NAME
Method Detail

setCommentsVector

public void setCommentsVector(java.util.Vector newComments)
Stores the list of freeform comments that need to be converted into TCs.
Parameters:
newComments - The list of freeform comments.

setTradingId

public void setTradingId(java.lang.Long newTradingid)
Stores the incoming trading agreement ID.
Parameters:
newTradingId - The ID of the trading agreement.