public class ContractImportDraftVersionCmdImpl extends TradingAgreementImportBaseCmdImpl implements ContractImportDraftVersionCmd
Name | Description |
---|---|
fileName | The file name of the importing XML file. It is mandatory. |
URL | The url parameter. It is mandatory. |
path | The XML entity path. It is mandatory. |
xsd | The flag indicates if a XML instance file is based on XSD or not. It is optional. |
validate | The flag indicates if validating an importing XML file against a XML schema. It is optional. |
Modifier and Type | Field and Description |
---|---|
static java.lang.String | CLASSNAME
The full name of this class.
|
static java.lang.String | COPYRIGHT
The IBM copyright notice field.
|
Constructor and Description |
---|
ContractImportDraftVersionCmdImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String | getUrl()
Gets the redirection URL to be called when the command completes successfully.
|
void | performExecute()
Executes the business logic of this command implementation.
|
void | setContractXML(java.io.InputStream contractXML)
Sets the contract XML instance.
|
void | setContractXMLFileName(java.lang.String contractFileName)
Sets the contract XML file name.
|
void | setRequestProperties(TypedProperty aRequestProperties)
Sets the request properties of this command implementation.
|
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
|
void | validateParameters()
Extracts and validates the input parameters of this command implementation.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public java.lang.String getUrl()
public void performExecute() throws ECException
public void setContractXMLFileName(java.lang.String contractFileName)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
public void setContractXML(java.io.InputStream contractXML)
public void setUrl(java.lang.String astrUrl)
public void setXMLEntityPath(java.lang.String path)
public void setXSDFlag(boolean xsdFlag)
public void validateParameters() throws ECException