com.ibm.commerce.contract.commands
Interface ContractCreateCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- ContractCreateCmdImpl
- public interface ContractCreateCmd
- extends ControllerCommand
Create a contract based on the import XMLString, the contract will be in
Draft state (WebSphere Commerce Business Edition only).
Field Summary |
static java.lang.String |
COPYRIGHT
The internal copyright field. |
static java.lang.String |
defaultCommandClassName
The default implementation class is "com.ibm.commerce.contract.commands.ContractCreateCmdImpl". |
static java.lang.String |
NAME
The name of this interface is "com.ibm.commerce.contract.commands.ContractCreateCmd". |
Method Summary |
java.lang.Long |
getContractId()
Return contract id |
void |
setLanguageId(java.lang.Integer langId)
Set language id |
void |
setXML(java.lang.String xmlString)
Set XML string of the contract to create |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- The internal copyright field.
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- The default implementation class is "com.ibm.commerce.contract.commands.ContractCreateCmdImpl".
NAME
public static final java.lang.String NAME
- The name of this interface is "com.ibm.commerce.contract.commands.ContractCreateCmd".
getContractId
public java.lang.Long getContractId()
- Return contract id
- Returns:
- java.lang.Long
setLanguageId
public void setLanguageId(java.lang.Integer langId)
- Set language id
- Parameters:
langId
- java.lang.Integer
setXML
public void setXML(java.lang.String xmlString)
- Set XML string of the contract to create
- Parameters:
xmlString
- java.lang.String