public interface SaveAccountCmd
extends com.ibm.commerce.command.TaskCommand
AccountImport
and AccountSave
to create a new account or update an existed account.
The default implementation of this command is SaveAccountCmdImpl
.AccountImportCmd
,
AccountSaveCmd
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COPYRIGHT
The 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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getAccountId()
Returns the account ID.
|
void |
setAccountElement(org.w3c.dom.Element accountElement)
Sets the account XML element.
|
void |
setAction(boolean bCreateAction)
Sets the action for the saving process.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkIsAllowed, checkResourcePermission, createCommandExecutionEvent, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getExceptionInvokeParameters, getPostInvokeParameters, getPreInvokeParameters, getResources, getStoreId, getUser, getUserId, performExecute, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties, validateParameters
static final java.lang.String COPYRIGHT
static final java.lang.String defaultCommandClassName
static final java.lang.String NAME
java.lang.Long getAccountId()
void setAccountElement(org.w3c.dom.Element accountElement)
accountElement
- the Element object of the accountvoid setAction(boolean bCreateAction)
bCreateAction
- the action of this command. true: create a new account, false: update an existed account.