com.ibm.commerce.usermanagement.commands

Interface AddressDeleteCmd

  • All Superinterfaces:
    AccCommand, com.ibm.websphere.command.CacheableCommand, com.ibm.websphere.command.Command, com.ibm.websphere.command.CommandCaller, ControllerCommand, ECCommand, Protectable, java.io.Serializable, com.ibm.websphere.command.TargetableCommand
    All Known Implementing Classes:
    AddressDeleteCmdImpl


    public interface AddressDeleteCmd
    extends ControllerCommand
    Deletes an address for a user, organization, or organizational 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 which can be customized for any pre-processing prior to execution of this command.
    • Marks the specified address record as temporary, using the 'T' flag.
    • Calls specified URL upon successful completion. Calls AddressDeleteErrorView view command if the command fails.
    • Calls an empty task command PostAddressDeleteCmd which can be customized for any pre-processing prior to execution of this command.
    • Can not delete a temporary address.

    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).
    • Method Detail

      • reset

        void reset()
        Reset all instance variables of the command to initial state so it can be used again.
        Specified by:
        reset in interface com.ibm.websphere.command.Command