java.lang.ObjectCacheableCommandImpl
com.ibm.commerce.command.AbstractECTargetableCommand
com.ibm.commerce.command.ControllerCommandImpl
com.ibm.commerce.tools.command.ToolsControllerCommandImpl
com.ibm.commerce.tools.optools.user.commands.CSRCustomerEnableAccountCmdImpl
Enables a customer's account by calling UserRegistrationAdminUpdateCmd.
URL calling syntax:
Parameters:
<?xml version="1.0" encoding "UTF-8"> <profileInfo> <logonId>Smith</logonId> </profileInfo> <customerId>7777</customerId> <locale>en_US</locale> <account>ABC</account> <cmdStatus>1</cmdStatus> </xml>
Field Summary | |
static java.lang.String | COPYRIGHT copyright notice |
Fields inherited from class com.ibm.commerce.command.ControllerCommandImpl |
requestProperties, responseProperties, retriable, viewReqProperties |
Fields inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
commandContext |
Fields inherited from interface com.ibm.commerce.tools.optools.user.commands.CSRCustomerEnableAccountCmd |
defaultCommandClassName |
Fields inherited from interface com.ibm.commerce.tools.command.ToolsControllerCommand |
NAME |
Constructor Summary | |
CSRCustomerEnableAccountCmdImpl() Default Constructor |
Method Summary | |
protected void | exceptionUtil(TypedProperty prop, java.lang.Exception ex, java.lang.String methodName, java.lang.String cmdName, java.lang.String errMsg) Generates common exception code. |
void | executeUserRegistrationAdminUpdate() Calls UserRegistrationAdminUpdateCmd to enable the user's account |
java.lang.String | getAccount() Returns the customer's account. |
java.lang.String | getCmdStatus() Returns the customer's account status. |
java.lang.String | getCustomerId() Returns the customer's id. |
java.lang.String | getLocale() Returns the customer's locale. |
java.lang.String | getLogonId() Returns the customer's logon id. |
java.util.Hashtable | getNLS() Returns the properties containing all translatable messages for this command. |
TypedProperty | getViewInputProperties() This method is called by the web controller to retrieve the request properties set by the setRequestProperties() method. |
java.lang.String | getXMLFile() Returns the XML file. |
void | performExecute() Performs the execution for enabling a customer's account status. |
void | setNLS(java.util.Hashtable newNLS) Sets the NLS hashtable. |
void | validateParameters() Gets XMLObject from the GUI Dialog and gets ready to parse it. |
Methods inherited from class com.ibm.commerce.tools.command.ToolsControllerCommandImpl |
setRequestProperties |
Methods inherited from class com.ibm.commerce.command.ControllerCommandImpl |
checkPermission, fulfills, getForUserId, getGeneric, getOwner, getRequestProperties, getResolvedRequestProperties, getResourceOwners, getResponseProperties, getRetriable, isGeneric, isRetriable, mergeProperties, setForUserId, setGeneric, setOwner, setResponseProperties, setRetriable, setViewInputProperties |
Methods inherited from class com.ibm.commerce.command.AbstractECTargetableCommand |
accessControlCheck, checkIsAllowed, checkParameters, checkResourcePermission, createCommandExecutionEvent, execute, finalize, getAccCheck, getCommandContext, getCommandIfName, getCommandName, getCommandStoreId, getDefaultProperties, getResources, getStoreId, getUser, getUserId, isReadyToCallExecute, reset, setAccCheck, setCommandContext, setCommandIfName, setCommandStoreId, 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.ControllerCommand |
checkPermission, execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, 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, setCommandContext, setCommandIfName, setCommandStoreId, setDefaultProperties |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public CSRCustomerEnableAccountCmdImpl()
Method Detail |
protected void exceptionUtil(TypedProperty prop, java.lang.Exception ex, java.lang.String methodName, java.lang.String cmdName, java.lang.String errMsg) throws ECApplicationException
public void executeUserRegistrationAdminUpdate() throws java.lang.Exception
public java.lang.String getAccount()
public java.lang.String getCmdStatus()
public java.lang.String getCustomerId()
public java.lang.String getLocale()
public java.lang.String getLogonId()
public java.util.Hashtable getNLS()
public TypedProperty getViewInputProperties()
public java.lang.String getXMLFile()
public void performExecute() throws ECException
public void setNLS(java.util.Hashtable newNLS)
public void validateParameters() throws ECApplicationException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.