com.ibm.commerce.account.commands
Interface CreateAccountCmd

All Superinterfaces:
TaskCommand
All Known Implementing Classes:
CreateAccountCmdImpl

public interface CreateAccountCmd
extends TaskCommand

This task command is called by AccountImport and AccountSave to create a new account.

See Also:
AccountImportCmd, AccountSaveCmd

Field Summary
static java.lang.String COPYRIGHT
          IBM copyright notice field.
static java.lang.String defaultCommandClassName
          The name of the default implementation class.
static java.lang.String NAME
          The name of this interface.
 
Method Summary
 java.lang.Long getAccountId()
          Returns the ID of the new created business account.
 void setAccountElement(org.w3c.dom.Element accountElement)
          Sets the account XML element.
 void setLanguageId(java.lang.Integer langId)           Sets the language ID.
 

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 interface.
See Also:
Constant Field Values

defaultCommandClassName

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

getAccountId

public java.lang.Long getAccountId()
Returns the ID of the new created business account.
Returns:
the business account ID

setAccountElement

public void setAccountElement(org.w3c.dom.Element accountElement)
Sets the account XML element.
Parameters:
accountElement - the business account Element object

setLanguageId

public void setLanguageId(java.lang.Integer langId)
Sets the language ID.
Parameters:
langId - the language ID