com.ibm.commerce.contract.commands
Interface ImportDTDContractApprovedVersionCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
ImportDTDContractApprovedVersionCmdImpl

public interface ImportDTDContractApprovedVersionCmd
extends TaskCommand

Imports an approved contract from a specified XML file (WebSphere Commerce Business Edition only). The state of the contract in the XML file has to be either Approved or Active.


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 setStoreId(java.lang.Integer storeId)
          Sets The store ID to which the contract will be deployed.
 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.

setStoreId

public void setStoreId(java.lang.Integer storeId)
Sets The store ID to which the contract will be deployed.
Parameters:
storeId - The ID of the store.

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)