com.ibm.commerce.account.commands
Interface AccountImportCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand
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. Refer to the Business Account section of the WebSphere Commerce production online help for more details.

See Also:
CreateAccountCmd

Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String defaultCommandClassName
          The default implementation of this command.
static java.lang.String NAME
          The name of this command.
 
Method Summary
 void setAccountXMLFileName(java.lang.String istrAccountFileName)
          Sets the name of the account XML file.
 void setStoreId(java.lang.Integer storeId)
          Sets the storeId.
 void setValidationFlag(boolean validationFlag)
          Sets the validation flag to indiciate if the XML file will be validated by the XML parser against the XSD.
 void setXMLEntityPath(java.lang.String path)
          Sets the XML entity path.
 void setXSDFlag(boolean xsdFlag)
          Sets the XSD flag to indiciate the XML instance file is based on XSD or DTD.
 
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
IBM copyright notice field.
See Also:
Constant Field Values

NAME

public static final java.lang.String NAME
The name of this command.
See Also:
Constant Field Values

defaultCommandClassName

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

setAccountXMLFileName

public void setAccountXMLFileName(java.lang.String istrAccountFileName)
Sets the name of the account XML file.
Parameters:
istrAccountFileName - the name of the acocunt xml file

setStoreId

public void setStoreId(java.lang.Integer storeId)
Sets the storeId.
Parameters:
storeId - the id of a store

setValidationFlag

public void setValidationFlag(boolean validationFlag)
Sets the validation flag to indiciate if the XML file will be validated by the XML parser against the XSD.
Parameters:
validationFlag - boolean - validation flag, true: validate the xml instance file against the xsd, false: not

setXMLEntityPath

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

setXSDFlag

public void setXSDFlag(boolean xsdFlag)
Sets the XSD flag to indiciate the XML instance file is based on XSD or DTD.
Parameters:
xsdFlag - boolean - xsd flag, true for XSD, false for DTD