Exports the specified contract using the specified language ID to a XML file based on the specified encoding (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 | |
---|---|
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 langId) Sets the language ID. |
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. |
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 void setContractId(java.lang.Long contractId)
contractId
- ID of the contractpublic void setExportAllData(boolean wantsAll)
wantsAll
- the flag to indicate if all the data will be
exported. true: exports all the data, false: otherwisepublic void setFileName(java.lang.String astrFileName)
astrFileName
- the name of the XML filepublic void setLangId(java.lang.Integer langId)
langId
- the language ID of the descriptions in the
contract.public void setUrl(java.lang.String astrUrl)
astrUrl
- the redirection URL stringpublic void setXMLFileEncoding(java.lang.String encoding)
encoding
- the encoding stringpublic void setXSDFileName(java.lang.String xsdName)
xsdName
- the name of the XSD file.