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.
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
public static final java.lang.String NAME
public static final java.lang.String defaultCommandClassName
Method Detail |
---|
public void setAccountXMLFileName(java.lang.String istrAccountFileName)
istrAccountFileName
- the name of the acocunt xml
filepublic void setStoreId(java.lang.Integer storeId)
storeId
- the id of a storepublic void setValidationFlag(boolean validationFlag)
validationFlag
- boolean - validation flag, true: validate the
xml instance file against the xsd, false: notpublic void setXMLEntityPath(java.lang.String path)
path
- the path where can find the DTD or XML Schema
file(s)public void setXSDFlag(boolean xsdFlag)
xsdFlag
- boolean - xsd flag, true for XSD, false for
DTD