com.ibm.commerce.usermanagement.commands
Class AddressDeleteCmdImpl

com.ibm.commerce.usermanagement.commands.AddressDeleteCmdImpl
All Implemented Interfaces:
AccCommand, AddressDeleteCmd, ControllerCommand, ECCommand, Protectable

public class AddressDeleteCmdImpl
implements AddressDeleteCmd

The implementation for the AddressDelete command which deletes an entry from the member's address book.


Field Summary
static java.lang.String CLASSNAME
           
static java.lang.String COPYRIGHT
           
protected  AddressAccessBean iabAddress
           
 
Fields inherited from interface com.ibm.commerce.usermanagement.commands.AddressDeleteCmd
NAME
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Constructor Summary
AddressDeleteCmdImpl()
           
 
Method Summary
 void performExecute()
          Contains the actual business logic of the command It should be implemented by all the command writer.
 void reset()
          Reset all instance variables of the command to initial state so it can be used again.
 void setRequestProperties(TypedProperty reqProperties)
          The WebController calls this method before invoking the execute method in this command to set the request properties for this command.
 void validateParameters()
          Performs server side parameter checking.
 
Methods inherited from interface com.ibm.commerce.command.ControllerCommand
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRetriable, setViewInputProperties
 
Methods inherited from interface com.ibm.commerce.command.AccCommand
accessControlCheck, getAccCheck, getForUserId, setAccCheck, setForUserId, setOwner
 
Methods inherited from interface com.ibm.commerce.command.ECCommand
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, setCommandContext, setCommandIfName, setDefaultProperties
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

CLASSNAME

public static final java.lang.String CLASSNAME

COPYRIGHT

public static final java.lang.String COPYRIGHT

iabAddress

protected AddressAccessBean iabAddress
Constructor Detail

AddressDeleteCmdImpl

public AddressDeleteCmdImpl()
Method Detail

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
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
com.ibm.commerce.command.CommandException - The superclass for all ECExceptions.

reset

public void reset()
Description copied from interface: AddressDeleteCmd
Reset all instance variables of the command to initial state so it can be used again.
Specified by:
reset in interface AddressDeleteCmd

setRequestProperties

public void setRequestProperties(TypedProperty reqProperties)
                          throws ECApplicationException
Description copied from interface: ControllerCommand
The WebController calls this method before invoking the execute method in this command to set the request properties for this command. It is the responsibility of the implementer of the ControllerCommand to extract the required input parameters from the request properties and perform parameter checking.
Specified by:
setRequestProperties in interface ControllerCommand
Following copied from interface: com.ibm.commerce.command.ControllerCommand
Parameters:
requestProperties - com.ibm.commerce.datatype.TypedProperty
Throws:
com.ibm.commerce.exception.ECException. -  

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
Following copied from interface: com.ibm.commerce.command.ECCommand
Throws:
ECException. -