com.ibm.commerce.contract.commands
Interface UpdateXSDContractCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
UpdateXSDContractCmdImpl

public interface UpdateXSDContractCmd
extends TaskCommand

Update a contract based on the given Contract element (WebSphere Commerce Business Edition only). Calling commands: ContractSave, 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.
 void setContractId(java.lang.Long contractId)           Sets the ID of the contract to update.
 

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 updated contract ID

setContractElement

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

setContractId

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