com.ibm.commerce.utf.commands
Interface CreateContractBasicInfoCmd
- All Superinterfaces:
- ECCommand, TaskCommand
- All Known Implementing Classes:
- CreateContractBasicInfoCmdImpl
- public interface CreateContractBasicInfoCmd
- extends TaskCommand
Creates a contract object that shares an existing trading agreement.
This command can be used to create a contract that is a result of
a negotiation mechanism, such as an RFQ or a Reverse Auction.
Method Summary |
void |
setContractName(java.lang.String newContractName)
Stores the incoming value for the contract name. |
void |
setContractOwner(java.lang.Long newContractOwner)
Stores the incoming value for the contract owner ID. |
void |
setTradingId(java.lang.Long newTradingId)
Stores the incoming value for the 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
setContractName
public void setContractName(java.lang.String newContractName)
- Stores the incoming value for the contract name.
- Parameters:
newContractName
- The name of the contract.
setContractOwner
public void setContractOwner(java.lang.Long newContractOwner)
- Stores the incoming value for the contract owner ID.
- Parameters:
newContractOwner
- The ID of the contract owner.
setTradingId
public void setTradingId(java.lang.Long newTradingId)
- Stores the incoming value for the Trading Agreement ID.
- Parameters:
newTradingId
- The ID of the trading agreement.