com.ibm.commerce.contract.commands
Interface ContractImportApprovedVersionCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- ContractImportApprovedVersionCmdImpl
- public interface ContractImportApprovedVersionCmd
- extends ControllerCommand
Import a 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
The internal copyright field. |
static java.lang.String |
defaultCommandClassName
The default implementation class is "com.ibm.commerce.contract.commands.ContractImportDraftVersionCmdImpl". |
static java.lang.String |
NAME
The name of this interface is "com.ibm.commerce.contract.commands.ContractImportDraftVersionCmd". |
Method Summary |
void |
setContractXMLFileName(java.lang.String istrContractFileName)
Set xml file name parameter |
void |
setStoreId(java.lang.Integer storeId)
Set store id parameter |
void |
setUrl(java.lang.String astrUrl)
Set the redirection url to be called when the command completes successfully. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
- The internal copyright field.
defaultCommandClassName
public static final java.lang.String defaultCommandClassName
- The default implementation class is "com.ibm.commerce.contract.commands.ContractImportDraftVersionCmdImpl".
NAME
public static final java.lang.String NAME
- The name of this interface is "com.ibm.commerce.contract.commands.ContractImportDraftVersionCmd".
setContractXMLFileName
public void setContractXMLFileName(java.lang.String istrContractFileName)
- Set xml file name parameter
- Parameters:
istrContractFileName
- java.lang.String
setStoreId
public void setStoreId(java.lang.Integer storeId)
- Set store id parameter
- Parameters:
storeId
- java.lang.Integer
setUrl
public void setUrl(java.lang.String astrUrl)
- Set the redirection url to be called when the command completes successfully.
- Parameters:
astrUrl
- java.lang.String - redirection url string