com.ibm.commerce.usermanagement.commands
Interface AddressCheckCmd

All Superinterfaces:
AccCommand, ControllerCommand, ECCommand, Protectable
All Known Implementing Classes:
AddressCheckCmdImpl

public interface AddressCheckCmd
extends ControllerCommand

This command determines whether or not a user or organization has at least one permanent address.

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 yesURL and noURL are mandatory. The rest of the parameters are all optional.

Behavior

Exception Conditions


Field Summary
static java.lang.String COPYRIGHT
           
static java.lang.String NAME
           
 
Fields inherited from interface com.ibm.commerce.command.ECCommand
defaultCommandClassName
 
Method Summary
 boolean getAddressCheck()
          Gets the boolean result indicating whether the member has any address entry.
 java.lang.String getAddressNoURL()
          Gets the URL that is called if the member does not have any address entry.
 java.lang.String getAddressYesURL()
          Gets the URL that is called if the member has at least one address entry.
 void reset()
          Reset all instance variables of the command to initial state so it can be used again.
 void setAddressNoURL(java.lang.String astrAddressNoURL)
          Sets the URL that is called if the member does not have any address entry.
 void setAddressYesURL(java.lang.String astrAddressYesURL)
          Sets the URL that is called if the member has at least one address entry.
 void setMemberId(java.lang.String astrMemberId)
          Sets the memberId of the member to check address.
 
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.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, performExecute, setCommandContext, setCommandIfName, setDefaultProperties, validateParameters
 
Methods inherited from interface com.ibm.commerce.security.Protectable
fulfills, getOwner
 

Field Detail

COPYRIGHT

public static final java.lang.String COPYRIGHT

NAME

public static final java.lang.String NAME
Method Detail

getAddressCheck

public boolean getAddressCheck()
Gets the boolean result indicating whether the member has any address entry.
Returns:
The boolean result indicating whether the member has any address entry
  • true - the member has at least one address entry
  • false - the member does not have andy address entry

getAddressNoURL

public java.lang.String getAddressNoURL()
Gets the URL that is called if the member does not have any address entry.
Returns:
The URL that is called if the member does not have any address entry

getAddressYesURL

public java.lang.String getAddressYesURL()
Gets the URL that is called if the member has at least one address entry.
Returns:
The URL that is called if the member has at least one address entry

reset

public void reset()
Reset all instance variables of the command to initial state so it can be used again.

setAddressNoURL

public void setAddressNoURL(java.lang.String astrAddressNoURL)
Sets the URL that is called if the member does not have any address entry.
Parameters:
astrAddressNoURL - The URL that is called if the member does not have any address entry

setAddressYesURL

public void setAddressYesURL(java.lang.String astrAddressYesURL)
Sets the URL that is called if the member has at least one address entry.
Parameters:
astrAddressNoURL - The URL that is called if the member has at least one address entry

setMemberId

public void setMemberId(java.lang.String astrMemberId)
Sets the memberId of the member to check address.
Parameters:
astrMemberId - The memberId.