Creates 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 IBM copyright notice field. |
static java.lang.String |
defaultCommandClassName The name of the default implementation class. |
static java.lang.String |
NAME The name of this interface. |
Method Summary | |
---|---|
java.lang.Long |
getContractId() Returns the ID of the newly created contract. |
void |
setLanguageId(java.lang.Integer langId) Sets the language ID. |
void |
setXML(java.lang.String xmlString) Sets the XML string which contains the contract. |
void |
setXMLEntityPath(java.lang.String path) Sets the XML entity path. |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
execute,
getGeneric,
getRequestProperties,
getResolvedRequestProperties,
getResponseProperties,
getRetriable,
getViewInputProperties,
isGeneric,
isRetriable,
mergeProperties,
setGeneric,
setRequestProperties,
setRetriable,
setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command. AccCommand |
accessControlCheck,
getAccCheck,
getForUserId,
getResourceOwners,
setAccCheck,
setForUserId,
setOwner |
Methods inherited from interface com.ibm.commerce.command. ECCommand |
checkIsAllowed,
checkResourcePermission,
createCommandExecutionEvent,
getCommandContext,
getCommandIfName,
getCommandName,
getCommandStoreId,
getDefaultProperties,
getResources,
getStoreId,
getUser,
getUserId,
performExecute,
setCommandContext,
setCommandIfName,
setCommandStoreId,
setDefaultProperties,
validateParameters |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public java.lang.Long getContractId()
public void setLanguageId(java.lang.Integer langId)
langId
- the ID of the languagepublic void setXML(java.lang.String xmlString)
xmlString
- the XML string in XML format which contains the
contractpublic void setXMLEntityPath(java.lang.String path)
path
- the path where can find the DTD or XML Schema
file(s)