java.lang.ObjectAddressBaseCmdImpl
com.ibm.commerce.usermanagement.commands.AddressCheckCmdImpl
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 | CLASSNAME The name of the class. |
static java.lang.String | COPYRIGHT IBM Copyright notice field. |
protected boolean | ibAddressExists Whether a permanent address exists. |
protected java.lang.String | istrAddressNoURL The URL to call if no permanent address exists. |
protected java.lang.String | istrAddressYesURL The URL to call if one permanent address exists. |
Fields inherited from interface com.ibm.commerce.usermanagement.commands.AddressCheckCmd |
NAME |
Fields inherited from interface com.ibm.commerce.command.ECCommand |
defaultCommandClassName |
Constructor Summary | |
AddressCheckCmdImpl() |
Method Summary | |
boolean | getAddressCheck() Returns whether a permanent address exists. |
java.lang.String | getAddressNoURL() Returns the URL to go to if there is no permanent address. |
java.lang.String | getAddressYesURL() Returns the URL to go to if there is a permanent address. |
void | performExecute() Determines whether the specified member identifier has an address associated with it. |
void | reset() Reset the values in the values in the command. |
void | setAddressNoURL(java.lang.String astrAddressNoURL) Sets the URL to goto if no permant address can be found for the member. |
void | setAddressYesURL(java.lang.String astrAddressYesURL) Sets the URL to goto if a permant address can be found for the member. |
void | setRequestProperties(TypedProperty reqProperties) Sets the parameters that were passed to the command. |
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.usermanagement.commands.AddressCheckCmd |
setMemberId |
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 |
Methods inherited from interface com.ibm.commerce.security.Protectable |
fulfills, getOwner |
Field Detail |
public static final java.lang.String COPYRIGHT
public static final java.lang.String CLASSNAME
protected java.lang.String istrAddressYesURL
protected java.lang.String istrAddressNoURL
protected boolean ibAddressExists
Constructor Detail |
public AddressCheckCmdImpl()
Method Detail |
public boolean getAddressCheck()
public java.lang.String getAddressNoURL()
public java.lang.String getAddressYesURL()
public void performExecute() throws ECException
public void reset()
public void setAddressNoURL(java.lang.String astrAddressNoURL)
public void setAddressYesURL(java.lang.String astrAddressYesURL)
public void setRequestProperties(TypedProperty reqProperties) throws ECApplicationException
public void validateParameters() throws ECException
(C) Copyright IBM Corporation 1996, 2005. All Rights Reserved.