com.ibm.commerce.contract.commands
Interface CreateContractCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
CreateContractCmdImpl

public interface CreateContractCmd
extends TaskCommand

Create a contract based on the given Contract element (WebSphere Commerce Business Edition only). Calling commands: ContractCreateCmd, ImportDTDContractApprovedVersionCmd, ImportDTDContractDraftVersionCmd


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

COPYRIGHT

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 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
Parameters:
contractElement - the xml element of the contract

Feedback