public class CSRCustomerEnableAccountCmdImpl extends ToolsControllerCommandImpl implements CSRCustomerEnableAccountCmd
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>
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
copyright notice
|
Constructor and Description |
---|
CSRCustomerEnableAccountCmdImpl()
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final java.lang.String COPYRIGHT
public CSRCustomerEnableAccountCmdImpl()
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