com.ibm.commerce.usermanagement.commands
Class AuditAddressCmdImpl
java.lang.Object
|
+--com.ibm.commerce.command.AbstractECCommand
|
+--com.ibm.commerce.command.TaskCommandImpl
|
+--com.ibm.commerce.usermanagement.commands.AuditBaseCmdImpl
|
+--com.ibm.commerce.usermanagement.commands.AuditAddressCmdImpl
- All Implemented Interfaces:
- AuditAddressCmd, AuditBaseCmd, ECCommand, TaskCommand
- Direct Known Subclasses:
- AuditUserRegistrationCmdImpl
- public class AuditAddressCmdImpl
- extends AuditBaseCmdImpl
- implements AuditAddressCmd
The implementation for the AuditAddrBookCmd task command checks the parameters that are passed
into the AddressAdd and AddressUpdate commands.
Method Summary |
java.lang.String |
getAddress1()
Returns the first line of the address. |
java.lang.String |
getCity()
Returns the city name. |
java.lang.String |
getCountry()
Returns the country name. |
java.lang.String |
getLastName()
Returns the last name of the individual. |
java.lang.String |
getState()
Returns the name of the state, province, or equivalent where the individual resides. |
java.lang.String |
getZipCode()
Returns the zip code or equivalent postal code of the individual's adddres. |
void |
performExecute()
Contains the actual business logic of the command
It should be implemented by all the command writer. |
void |
setAddress1(java.lang.String astrAddress1)
Sets the first line of the address. |
void |
setCity(java.lang.String astrCity)
Sets the city name. |
void |
setCountry(java.lang.String astrCountry)
Sets the country name. |
void |
setFirstName(java.lang.String astrFirstName)
Sets the First name of the individual. |
void |
setLastName(java.lang.String astrLastName)
Sets the last name of the individual. |
void |
setRequestProperties(TypedProperty aRequestProperties)
|
void |
setState(java.lang.String astrState)
Sets the name of the state, province, or equivalent where the individual resides. |
void |
setZipCode(java.lang.String astrZipCode)
Sets the zip code or equivalent postal code of the individual's adddres. |
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, validateParameters |
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, validateParameters |
CLASSNAME
public static final java.lang.String CLASSNAME
COPYRIGHT
public static final java.lang.String COPYRIGHT
istrAddress1
protected java.lang.String istrAddress1
istrCity
protected java.lang.String istrCity
istrCountry
protected java.lang.String istrCountry
istrFirstName
protected java.lang.String istrFirstName
istrLastName
protected java.lang.String istrLastName
istrState
protected java.lang.String istrState
istrZipCode
protected java.lang.String istrZipCode
AuditAddressCmdImpl
public AuditAddressCmdImpl()
getAddress1
public java.lang.String getAddress1()
- Returns the first line of the address.
- Returns:
- The first line of the address
getCity
public java.lang.String getCity()
- Returns the city name.
- Returns:
- The city name
getCountry
public java.lang.String getCountry()
- Returns the country name.
- Returns:
- The country name
getLastName
public java.lang.String getLastName()
- Returns the last name of the individual.
- Returns:
- The last name
getState
public java.lang.String getState()
- Returns the name of the state, province, or equivalent where the individual resides.
- Returns:
- The name of the state
getZipCode
public java.lang.String getZipCode()
- Returns the zip code or equivalent postal code of the individual's adddres.
- Returns:
- The zip code
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 AuditBaseCmdImpl
- Following copied from interface:
com.ibm.commerce.command.ECCommand
- Throws:
com.ibm.commerce.command.CommandException
- The superclass for all ECExceptions.
setAddress1
public void setAddress1(java.lang.String astrAddress1)
- Sets the first line of the address.
- Specified by:
setAddress1
in interface AuditAddressCmd
- Parameters:
astrAddress1
- The first line of the address
setCity
public void setCity(java.lang.String astrCity)
- Sets the city name.
- Specified by:
setCity
in interface AuditAddressCmd
- Parameters:
astrCity
- The city name
setCountry
public void setCountry(java.lang.String astrCountry)
- Sets the country name.
- Specified by:
setCountry
in interface AuditAddressCmd
- Parameters:
astrCountry
- The country name
setFirstName
public void setFirstName(java.lang.String astrFirstName)
- Sets the First name of the individual.
- Parameters:
astrFirstName
- The First name
setLastName
public void setLastName(java.lang.String astrLastName)
- Sets the last name of the individual.
- Specified by:
setLastName
in interface AuditAddressCmd
- Parameters:
astrLastName
- The last name
setRequestProperties
public void setRequestProperties(TypedProperty aRequestProperties)
throws ECApplicationException
- Specified by:
setRequestProperties
in interface AuditAddressCmd
- Overrides:
setRequestProperties
in class AuditBaseCmdImpl
setState
public void setState(java.lang.String astrState)
- Sets the name of the state, province, or equivalent where the individual resides.
- Specified by:
setState
in interface AuditAddressCmd
- Parameters:
astrState
- The name of the state
setZipCode
public void setZipCode(java.lang.String astrZipCode)
- Sets the zip code or equivalent postal code of the individual's adddres.
- Specified by:
setZipCode
in interface AuditAddressCmd
- Parameters:
astrZipCode
- The zip code