com.ibm.commerce.account.commands
Class UpdateAccountCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.account.commands.UpdateAccountCmdImpl
- All Implemented Interfaces:
- ECCommand, TaskCommand, UpdateAccountCmd
- public class UpdateAccountCmdImpl
- extends TaskCommandImpl
- implements UpdateAccountCmd
This is the default implementation of the UpdateAccount
task command.
- See Also:
UpdateAccountCmd
Methods inherited from class com.ibm.commerce.command.AbstractECCommand |
accessControlCheck, checkIsAllowed, checkResourcePermission, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, execute, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setAccCheck, setCommandContext, setCommandIfName, setDefaultProperties |
CLASSNAME
public static final java.lang.String CLASSNAME
COPYRIGHT
public static final java.lang.String COPYRIGHT
UpdateAccountCmdImpl
public UpdateAccountCmdImpl()
getAccountId
public java.lang.Long getAccountId()
getAccountState
public java.lang.Integer getAccountState()
getAccountTitle
public java.lang.String getAccountTitle()
parseXMLDocument
public void parseXMLDocument()
performExecute
public void performExecute()
throws ECException
- Description copied from interface:
ECCommand
- Contains the actual business logic of the command
It should be implemented by all the command writer.
- Specified by:
performExecute
in interface ECCommand
- Overrides:
performExecute
in class AbstractECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
setAccountDescription
public void setAccountDescription(java.lang.String description)
setAccountDescriptionElement
public void setAccountDescriptionElement(org.w3c.dom.Element newAccountDescriptionElement)
setAccountElement
public void setAccountElement(com.ibm.commerce.account.commands.Element accountElement)
- Description copied from interface:
UpdateAccountCmd
- Sets the account XML element.
- Specified by:
setAccountElement
in interface UpdateAccountCmd
setAccountId
public void setAccountId(java.lang.Long newAccountId)
- Description copied from interface:
UpdateAccountCmd
- Sets the accountId.
- Specified by:
setAccountId
in interface UpdateAccountCmd
setAccountName
public void setAccountName(java.lang.String newAccountName)
setAccountOwner
public void setAccountOwner(java.lang.String owner)
setAccountProfileElement
public void setAccountProfileElement(org.w3c.dom.Element newAccountProfileElement)
setAccountState
public void setAccountState(java.lang.Integer anAccountState)
setAccountState
public void setAccountState(java.lang.String newAccountState)
setAccountTitle
public void setAccountTitle(java.lang.String newAccountTitle)
setLanguageId
public void setLanguageId(java.lang.Integer newLangId)
setReferencedAccountId
public void setReferencedAccountId(java.lang.Long refId)
setReferencedAccountId
public void setReferencedAccountId(java.lang.String newReferencedContrNumber)
setTermConditionId
public void setTermConditionId(java.lang.Long newTcId)
- Description copied from interface:
UpdateAccountCmd
- Sets the termConditionId.
- Specified by:
setTermConditionId
in interface UpdateAccountCmd
validateParameters
public void validateParameters()
throws ECException
- Description copied from interface:
ECCommand
- Performs server side parameter checking. This method replaces the checkParameters() method in a previous
version of the code.
- Specified by:
validateParameters
in interface ECCommand
- Overrides:
validateParameters
in class AbstractECCommand
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
ECException.
-