com.ibm.commerce.account.commands
Interface AccountSaveCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand
All Known Implementing Classes:
AccountSaveCmdImpl

public interface AccountSaveCmd
extends ControllerCommand

This controller command is called by Business Relationship Management tools in the WebSphere Commerce Accelerator to create or update accounts based on the XML string specified.

See Also:
SaveAccountCmd

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 setLastUpdatedTime(java.lang.String lastUpdatedTime)
          Sets the last updated time of the account.
 void setXML(java.lang.String xmlString)
          Sets the XML string of the account to save.
 void setXSDValidation(boolean bValidation)
          Sets the XSD validation flag.
 
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

setLastUpdatedTime

public void setLastUpdatedTime(java.lang.String lastUpdatedTime)
Sets the last updated time of the account.
Parameters:
lastUpdatedTime - last update time of the specified account

setXML

public void setXML(java.lang.String xmlString)
Sets the XML string of the account to save.
Parameters:
xmlString - the xml string which contains the account information

setXSDValidation

public void setXSDValidation(boolean bValidation)
Sets the XSD validation flag. If the flag is set to true, the XML parser will validate the XML instance against the specified XSD file.
Parameters:
bValidation - the validation flag, true: validate, false: do not validate.