com.ibm.commerce.contract.commands
Interface ImportDTDContractDraftVersionCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
ImportDTDContractDraftVersionCmdImpl

public interface ImportDTDContractDraftVersionCmd
extends TaskCommand

Imports a draft 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
          IBM copyright notice field.
static java.lang.String defaultCommandClassName
          The default implementation class name of this interface.
 
Method Summary
  TypedProperty getResponseProperties()
          Returns the responseProperties of the command.
 void setContractXMLFileName(java.lang.String istrContractFileName)
          Sets the contract XML file name.
 void setUrl(java.lang.String astrUrl)
          Sets the redirection URL to be called when the command completes successfully.
 void setXMLEntityPath(java.lang.String path)           Sets the XML entity path.
 

Field Detail
public static final java.lang.String COPYRIGHT
IBM copyright notice field.
See Also:
Constant Field Values

defaultCommandClassName

public static final java.lang.String defaultCommandClassName
The default implementation class name of this interface.
See Also:
Constant Field Values
Method Detail

getResponseProperties

public TypedProperty getResponseProperties()
Returns the responseProperties of the command.
Returns:
responseProperties The response properties which contains the contract ids.

setContractXMLFileName

public void setContractXMLFileName(java.lang.String istrContractFileName)
Sets the contract XML file name.
Parameters:
istrContractFileName - The name of the contract XML file.

setUrl

public void setUrl(java.lang.String astrUrl)
Sets the redirection URL to be called when the command completes successfully.
Parameters:
astrUrl - The redirection URL string.

setXMLEntityPath

public void setXMLEntityPath(java.lang.String path)
Sets the XML entity path.
Parameters:
path - the path where can find the DTD file(s)