com.ibm.commerce.utf.commands
Interface CreateOrderItemPAttributeTCCmd
- All Superinterfaces:
- ECCommand, TaskCommand
- All Known Implementing Classes:
- CreateOrderItemPAttributeTCCmdImpl
- public interface CreateOrderItemPAttributeTCCmd
- extends TaskCommand
Creates Terms and Conditions of type "OrderItemPAttribute".
This command can be used to convert personalization attributes specified
for each item during the course of a negotiation into Terms and Conditions
associated with a trading agreement. When an order results from this trading
agreement, these OrderItemPAttribute TCs will appear as personalized attributes
for each order item.
Method Summary |
void |
setAttributeInfo(java.util.Vector newAttrInfo)
Stores the list of personalization attributes that need to be converted into terms and conditions. |
void |
setCatentryId(java.lang.Long newCatentryid)
Stores the incoming catalog entry ID. |
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 |
COPYRIGHT
public static final java.lang.String COPYRIGHT
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
NAME
public static final java.lang.String NAME
setAttributeInfo
public void setAttributeInfo(java.util.Vector newAttrInfo)
- Stores the list of personalization attributes that need to be converted into terms and conditions.
- Parameters:
newAttrInfo
- The list of personalization attributes.
setCatentryId
public void setCatentryId(java.lang.Long newCatentryid)
- Stores the incoming catalog entry ID.
- Parameters:
newCatentryid
- The ID of the catalog entry.
setTradingId
public void setTradingId(java.lang.Long newTradingid)
- Stores the incoming trading agreement ID.
- Parameters:
newTradingId
- The ID of the trading agreement.