java.lang.Object | +--AddressBaseCmdImpl | +--com.ibm.commerce.usermanagement.commands.AddressDeleteCmdImpl
This command deletes a address for a user, organization, or organiztional unit.
Use this command with SSL (Secure Sockets Layer) to ensure that the information are encrypted. To do so type the command with the HTTPS secure protocol.
The parameters URL and addressId are mandatory. The rest of the parameters are all optional.
Behavior
Exception Conditions
Field Summary | |
---|---|
static java.lang.String |
CLASSNAME The name of this command. |
static java.lang.String |
COPYRIGHT IBM Copyright notice field. |
protected
AddressAccessBean |
iabAddress The address access bean. |
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() Sets the address status as temporary and calls the PostAddressDelete command to perform some customized operations after the address is deleted. |
void |
reset() Resets all the stored values. |
void |
setRequestProperties(
TypedProperty reqProperties) Sets the parameters passed to the command and then calls the PreAddressDelete command to preform any processing that is needed before the address is deleted. |
void |
validateParameters() Validates the parameters passed to the command. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll,
toString, wait, wait, wait |
Methods inherited from interface com.ibm.commerce.command. ControllerCommand |
checkPermission,
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,
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 |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected AddressAccessBean iabAddress
Constructor Detail |
---|
public AddressDeleteCmdImpl()
Method Detail |
---|
public void performExecute() throws ECException
performExecute
in interface
ECCommand
ECException
- If there was a problem updating the status of the address or executing the
PostAddressDelete command.public void reset()
reset
in interface
AddressDeleteCmd
public void setRequestProperties(TypedProperty reqProperties) throws ECApplicationException
setRequestProperties
in interface
ControllerCommand
reqProperties
- request properties
ECApplicationException
- If there was a problem when executing the
PreAddressDelete command.public void validateParameters() throws ECException
validateParameters
in interface
ECCommand
ECException
- If there is a problem with the parameters passed.