com.ibm.commerce.contract.commands
Interface UpdateContractCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
UpdateContractCmdImpl

public interface UpdateContractCmd
extends TaskCommand

Update a contract based on the given Contract element (WebSphere Commerce Business Edition only). Calling commands: ContractUpdate


Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String defaultCommandClassName
          The default implementation class name of this interface.
static java.lang.String NAME
          The name of this interface.
 
Method Summary
 java.lang.Long getContractId()
          Returns the ID of the updated contract.
 void setContractElement(org.w3c.dom.Element contractElement)
          Sets the contract Element object.
 void setContractId(java.lang.Long contractId)
          Sets the id of the contract to update.
 void setTermConditionId(java.lang.Long tcId)           Sets the Id of the term and condition
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of this interface.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class name of this interface.
See Also:
Constant Field Values
Method Detail

getContractId

public java.lang.Long getContractId()
Returns the ID of the updated contract.
Returns:
the ID of the updated contract

setContractElement

public void setContractElement(org.w3c.dom.Element contractElement)
Sets the contract Element object.
Parameters:
contractElement - the Element object of the contract

setContractId

public void setContractId(java.lang.Long contractId)
Sets the id of the contract to update.
Parameters:
contractId - the id of the contract

setTermConditionId

public void setTermConditionId(java.lang.Long tcId)
Sets the Id of the term and condition
Parameters:
tcId - the term condition ID