public class ContractExportCmdImpl extends com.ibm.commerce.contract.commands.TradingAgreementExportBaseCmdImpl implements ContractExportCmd
Name | Description |
---|---|
contractId | The contract ID. It is mandatory. |
fileName | The file name of the importing xml file. It is mandatory. |
langId | The language ID. It is mandatory. |
xsdName | The xsd file name when exporting a contract. It is mandatory. |
URL | The url parameter. It is mandatory. |
xmlFileEncoding | The xml file encoding. It is optional. |
tagName | The tag name of the contract element.It is optional. |
all | It indicates if everything including the system generated field for a contract will be exported.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 |
---|
ContractExportCmdImpl() |
Modifier and Type | Method and Description |
---|---|
AccessVector | getResources()
Gets the access vector accessed by this command.
|
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 | setContractId(java.lang.Long contractId)
Sets the ID of the contract to be exported.
|
void | setExportAllData(boolean wantsAll)
Sets the exporting all data flag.
|
void | setFileName(java.lang.String astrFileName)
Sets the xml file to which the contract will be exported.
|
void | setLangId(java.lang.Integer anLangId)
Sets the language ID.
|
void | setRequestProperties(TypedProperty aRequestProperties)
Sets the request properties of this command implementation.
|
void | setUrl(java.lang.String astrUrl)
Sets the redirection URL to be called when the command completes successfully.
|
void | setXMLFileEncoding(java.lang.String encoding)
Sets the encoding.
|
void | setXSDFileName(java.lang.String xsdName)
Sets the XSD file name.
|
void | validateParameters()
Validates the contract to check if it is in right state for the exporting process.
|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
public AccessVector getResources() throws ECException
public java.lang.String getUrl()
public void performExecute() throws ECException
public void setContractId(java.lang.Long contractId)
public void setExportAllData(boolean wantsAll)
public void setFileName(java.lang.String astrFileName)
public void setLangId(java.lang.Integer anLangId)
public void setRequestProperties(TypedProperty aRequestProperties) throws ECApplicationException
public void setUrl(java.lang.String astrUrl)
public void setXMLFileEncoding(java.lang.String encoding)
public void setXSDFileName(java.lang.String xsdName)
public void validateParameters() throws ECException