com.ibm.commerce.usermanagement.commands
Interface AddressDeleteCmd
- All Superinterfaces:
- AccCommand, ControllerCommand, ECCommand, Protectable
- All Known Implementing Classes:
- AddressDeleteCmdImpl
- public interface AddressDeleteCmd
- extends ControllerCommand
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
- Calls an empty task command PreAddressDeleteCmd. Store Developers can overwrite it change the input to the command.
- Can not delete a temporary address.
- Marks the specified address record as temporary, using the 'T' flag.
- If the command fails, the AddressDeleteErrorView view command is called. Upon successful completion, the specified URL is called.
- Calls an empty task command PostAddressDeleteCmd. Store Developers can overwrite it to perform additional operations.
Exception Conditions
- addressId is null (_ERR_CMD_MISSING_PARAM).
- addressId is not a foreign key set to the ADDRESS table or is pointed to a temporary address(_ERR_CMD_INVALID_PARAM).
Field Summary |
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
NAME
|
Method Summary |
void |
reset()
Reset all instance variables of the command to initial state so it can be used again. |
Methods inherited from interface com.ibm.commerce.command.ControllerCommand |
execute, getGeneric, getRequestProperties, getResolvedRequestProperties, getResponseProperties, getRetriable, getViewInputProperties, isGeneric, isRetriable, mergeProperties, setGeneric, setRequestProperties, setRetriable, setViewInputProperties |
Methods inherited from interface com.ibm.commerce.command.ECCommand |
checkIsAllowed, checkResourcePermission, getCommandContext, getCommandIfName, getCommandName, getDefaultProperties, getResources, getStoreId, getUser, getUserId, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters |
COPYRIGHT
public static final java.lang.String COPYRIGHT
NAME
public static final java.lang.String NAME
reset
public void reset()
- Reset all instance variables of the command to initial state so it can be used again.