com.ibm.commerce.contract.commands
Interface CreateXSDContractCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
CreateXSDContractCmdImpl

public interface CreateXSDContractCmd
extends TaskCommand

Create a contract based on the given Contract element (WebSphere Commerce Business Edition only). Calling commands: ContractSave, ContractCreate, ContractImportApprovedVersion, ContractImportDraftVersion.


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 new created contract.
 void setContractElement(org.w3c.dom.Element contractElement)           Sets the contract Element object.
 

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 new created contract.
Returns:
the ID of the new created contract

setContractElement

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