com.ibm.commerce.account.commands
Interface AccountImportCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable
All Known Implementing Classes:
AccountImportCmdImpl

public interface AccountImportCmd
extends ControllerCommand

This controller command creates new accounts by importing an account XML file. The CreateAccount task command is called for each account XML element found in the XML file. Please refer to the Business Account section of the online documentation for more details.

See Also:
CreateAccountCmd

Field Summary
static java.lang.String COPYRIGHT
          The internal copyright field.
static java.lang.String defaultCommandClassName
          The default implementation class is "com.ibm.commerce.account.commands.AccountImportCmdImpl".
static java.lang.String NAME
          The name of this interface is "com.ibm.commerce.account.commands.AccountImportCmd".
 
Method Summary
 void setAccountXMLFileName(java.lang.String istrAccountFileName)
          Sets the name of the account XML file.
 void setRequestProperties(TypedProperty requestProperties)
          The WebController calls this method before invoking the execute method in this command to set the request properties for this command.
 void setStoreId(java.lang.Integer storeId)
          Sets the storeId.
 
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
 
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

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.account.commands.AccountImportCmdImpl".

NAME

public static final java.lang.String NAME
The name of this interface is "com.ibm.commerce.account.commands.AccountImportCmd".
Method Detail

setAccountXMLFileName

public void setAccountXMLFileName(java.lang.String istrAccountFileName)
Sets the name of the account XML file.

setRequestProperties

public void setRequestProperties(TypedProperty requestProperties)
                          throws ECException
Description copied from interface: ControllerCommand
The WebController calls this method before invoking the execute method in this command to set the request properties for this command. It is the responsibility of the implementer of the ControllerCommand to extract the required input parameters from the request properties and perform parameter checking.
Specified by:
setRequestProperties in interface ControllerCommand
Following copied from interface: com.ibm.commerce.command.ControllerCommand
Parameters:
requestProperties - com.ibm.commerce.datatype.TypedProperty
Throws:
com.ibm.commerce.exception.ECException. -  

setStoreId

public void setStoreId(java.lang.Integer storeId)
Sets the storeId.