Import a contract from a specified XML file (WebSphere Commerce Business Edition only). The state of the contract in the XML file should be Draft.
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.ContractImportDraftVersionCmdImpl". |
static java.lang.String | NAME The name of this interface is "com.ibm.commerce.contract.commands.ContractImportDraftVersionCmd". |
Method Summary | |
void | setContractXML(java.io.InputStream contractXML) Sets the contract XML instance. |
void | setContractXMLFileName(java.lang.String contractFileName) Sets the contract XML file name. |
void | setUrl(java.lang.String astrUrl) Sets the redirect URL to be called when the command completes successfully. |
void | setXMLEntityPath(java.lang.String path) Sets the XML entity path. |
void | setXSDFlag(boolean xsdFlag) Sets the XSD flag to indicate the XML instance file is based on XSD or DTD |
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 |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
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 void setContractXMLFileName(java.lang.String contractFileName)
public void setUrl(java.lang.String astrUrl)
public void setXMLEntityPath(java.lang.String path)
public void setXSDFlag(boolean xsdFlag)
public void setContractXML(java.io.InputStream contractXML)
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.